@wirecat/notion-cli 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/CHANGELOG.md +73 -0
  2. package/LICENSE +204 -0
  3. package/README.md +42 -2
  4. package/contracts/wirecat.json +1964 -0
  5. package/dist/bin/notion.d.ts +3 -0
  6. package/dist/bin/notion.d.ts.map +1 -0
  7. package/dist/bin/notion.js +40 -0
  8. package/dist/bin/notion.js.map +1 -0
  9. package/dist/bundle/all-profiles-JGYLQZ5C.js +278 -0
  10. package/dist/bundle/anthropic-S2VSMIKQ.js +91 -0
  11. package/dist/bundle/app-server-SASYDBCA.js +240 -0
  12. package/dist/bundle/bun-LU5LP3JI.js +169 -0
  13. package/dist/bundle/bun-sqlite-JBSINB4O.js +76 -0
  14. package/dist/bundle/chunk-22QQUKWA.js +53 -0
  15. package/dist/bundle/chunk-2F4QQ7WB.js +73 -0
  16. package/dist/bundle/chunk-2F6VO5HA.js +73 -0
  17. package/dist/bundle/chunk-2LWO3PDX.js +726 -0
  18. package/dist/bundle/chunk-3AL7QUS3.js +2778 -0
  19. package/dist/bundle/chunk-3Z4YTSRY.js +731 -0
  20. package/dist/bundle/chunk-4HWJOU7N.js +38 -0
  21. package/dist/bundle/chunk-4IPURN72.js +1221 -0
  22. package/dist/bundle/chunk-4ZTVJHWU.js +206 -0
  23. package/dist/bundle/chunk-5D4AEUVA.js +24783 -0
  24. package/dist/bundle/chunk-5IYKVRH2.js +44811 -0
  25. package/dist/bundle/chunk-5NFK5EM2.js +362 -0
  26. package/dist/bundle/chunk-5QIQEUOG.js +188 -0
  27. package/dist/bundle/chunk-5RDNBG7D.js +72 -0
  28. package/dist/bundle/chunk-5RSC54NA.js +1328 -0
  29. package/dist/bundle/chunk-6EVKHZKN.js +158 -0
  30. package/dist/bundle/chunk-6RA3EABS.js +4012 -0
  31. package/dist/bundle/chunk-AOCUKEAX.js +131 -0
  32. package/dist/bundle/chunk-B26TQZKZ.js +217 -0
  33. package/dist/bundle/chunk-B7ON6KPT.js +1197 -0
  34. package/dist/bundle/chunk-BNPTZ5ZB.js +161 -0
  35. package/dist/bundle/chunk-D72URWJE.js +532 -0
  36. package/dist/bundle/chunk-D7QSEEYW.js +274 -0
  37. package/dist/bundle/chunk-DFDN6AUB.js +21 -0
  38. package/dist/bundle/chunk-DH5PRHT4.js +392 -0
  39. package/dist/bundle/chunk-EH6ZEJGT.js +932 -0
  40. package/dist/bundle/chunk-EUIVXFLJ.js +259 -0
  41. package/dist/bundle/chunk-FPY6EJ7B.js +9568 -0
  42. package/dist/bundle/chunk-FT3LN3HP.js +6848 -0
  43. package/dist/bundle/chunk-FWVBPRL4.js +4436 -0
  44. package/dist/bundle/chunk-FXEJY4OL.js +12538 -0
  45. package/dist/bundle/chunk-G3EZFRSS.js +1297 -0
  46. package/dist/bundle/chunk-GZOUFX3C.js +230 -0
  47. package/dist/bundle/chunk-HL52XXZX.js +78 -0
  48. package/dist/bundle/chunk-KCLOUUYF.js +100 -0
  49. package/dist/bundle/chunk-KFVDL2QS.js +146 -0
  50. package/dist/bundle/chunk-KGERXYTV.js +24 -0
  51. package/dist/bundle/chunk-KM6WHPHI.js +288 -0
  52. package/dist/bundle/chunk-LAYPFBOM.js +95 -0
  53. package/dist/bundle/chunk-LLG2POQ7.js +170 -0
  54. package/dist/bundle/chunk-M3KB25D3.js +1392 -0
  55. package/dist/bundle/chunk-M7S2NDWB.js +76 -0
  56. package/dist/bundle/chunk-MGUEZYFA.js +5546 -0
  57. package/dist/bundle/chunk-MY742GAD.js +1977 -0
  58. package/dist/bundle/chunk-MZU2YFBZ.js +823 -0
  59. package/dist/bundle/chunk-NOQ7B5N7.js +58 -0
  60. package/dist/bundle/chunk-NQWV4WQO.js +300 -0
  61. package/dist/bundle/chunk-ODBZNSZ6.js +1028 -0
  62. package/dist/bundle/chunk-OTV53F34.js +370 -0
  63. package/dist/bundle/chunk-P7CUM5IB.js +18 -0
  64. package/dist/bundle/chunk-RV64YUQX.js +185 -0
  65. package/dist/bundle/chunk-SHJQ6JKG.js +106 -0
  66. package/dist/bundle/chunk-SWAOWNKW.js +52 -0
  67. package/dist/bundle/chunk-SZOVLP44.js +29 -0
  68. package/dist/bundle/chunk-TPX2M45D.js +385 -0
  69. package/dist/bundle/chunk-TSDBSIFM.js +66 -0
  70. package/dist/bundle/chunk-VBHETQVV.js +64146 -0
  71. package/dist/bundle/chunk-VCIALTEM.js +3139 -0
  72. package/dist/bundle/chunk-VKE77B3F.js +2 -0
  73. package/dist/bundle/chunk-WCSOH4JS.js +142 -0
  74. package/dist/bundle/chunk-WF4D56CA.js +54 -0
  75. package/dist/bundle/chunk-WJHZMR2W.js +335 -0
  76. package/dist/bundle/chunk-X4TIMMKJ.js +16 -0
  77. package/dist/bundle/chunk-XF26XKTS.js +82 -0
  78. package/dist/bundle/chunk-XFLCVHSQ.js +50 -0
  79. package/dist/bundle/chunk-XQUUANA2.js +24600 -0
  80. package/dist/bundle/chunk-XYIT2XB3.js +1372 -0
  81. package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
  82. package/dist/bundle/chunk-YMYUBZWT.js +1068 -0
  83. package/dist/bundle/chunk-YNTLT3Z3.js +2310 -0
  84. package/dist/bundle/chunk-YVI5SQPY.js +46 -0
  85. package/dist/bundle/chunk-Z56QFOBR.js +63 -0
  86. package/dist/bundle/chunk-ZKAEZXUP.js +787 -0
  87. package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
  88. package/dist/bundle/chunk-ZZ32DXTH.js +23 -0
  89. package/dist/bundle/command-contract-JS5V27NX.js +38 -0
  90. package/dist/bundle/command-server-entry-UFSG7KRO.js +167 -0
  91. package/dist/bundle/decode-7LLWTSPT.js +297 -0
  92. package/dist/bundle/definitions-M3U4UYHN.js +45607 -0
  93. package/dist/bundle/dispatch-2GY6JIJH.js +411 -0
  94. package/dist/bundle/dist-ILNOLGYN.js +7577 -0
  95. package/dist/bundle/echarts-BXX4OQWC.js +42501 -0
  96. package/dist/bundle/embed-JXFNBTKH.js +38 -0
  97. package/dist/bundle/embedder-57YZ44KO.js +111 -0
  98. package/dist/bundle/failure-MYT4HPE3.js +25 -0
  99. package/dist/bundle/first-run-3PF7T74J.js +29 -0
  100. package/dist/bundle/first-screen-7BEROEQR.js +36 -0
  101. package/dist/bundle/instructions-2VECIDXF.js +11 -0
  102. package/dist/bundle/mcp-O6ACR2DX.js +167 -0
  103. package/dist/bundle/mdast-util-from-markdown-R66F4HZA.js +1958 -0
  104. package/dist/bundle/mdast-util-gfm-LN2ELINH.js +2699 -0
  105. package/dist/bundle/meeting-combined-PPUQ3KBR.js +24 -0
  106. package/dist/bundle/meeting-model-ZNMYKMCD.js +26 -0
  107. package/dist/bundle/meeting-semantic-ETN3A4BJ.js +22 -0
  108. package/dist/bundle/micromark-extension-gfm-5X7YT43T.js +1838 -0
  109. package/dist/bundle/node-KM3CUABH.js +2340 -0
  110. package/dist/bundle/node-MPEQSFI3.js +176 -0
  111. package/dist/bundle/node-TLZSIHIJ.js +21 -0
  112. package/dist/bundle/node-sqlite-WA32MYSJ.js +74 -0
  113. package/dist/bundle/notion.js +185 -0
  114. package/dist/bundle/oauth-IAFZG3IR.js +20 -0
  115. package/dist/bundle/open-M3JQUC5G.js +23 -0
  116. package/dist/bundle/openai-HXUEHUSD.js +240 -0
  117. package/dist/bundle/process-F6TKXWWA.js +91 -0
  118. package/dist/bundle/program-Y7JAB6TG.js +33219 -0
  119. package/dist/bundle/prompt-IMUQLZD2.js +17 -0
  120. package/dist/bundle/recognize-2MZAYHAA.js +26 -0
  121. package/dist/bundle/remote-OV4LB6VR.js +32 -0
  122. package/dist/bundle/rerank-ZIULUS34.js +52 -0
  123. package/dist/bundle/schemas-DIVZS6TU.js +12214 -0
  124. package/dist/bundle/serve-YU7QBP6L.js +199 -0
  125. package/dist/bundle/server-FKQET4ZO.js +71 -0
  126. package/dist/bundle/server-LGMNONSB.js +202 -0
  127. package/dist/bundle/services-5WY4DCPJ.js +581 -0
  128. package/dist/bundle/sqlite-runtime-5MXZDETH.js +20 -0
  129. package/dist/bundle/state-LWMZH2KI.js +36 -0
  130. package/dist/bundle/store-EPZYV4VW.js +168 -0
  131. package/dist/bundle/store-QE6FEIZD.js +286 -0
  132. package/dist/bundle/store-maintenance-command-ZUUUFCHL.js +62 -0
  133. package/dist/commands/api.d.ts +4 -0
  134. package/dist/commands/api.d.ts.map +1 -0
  135. package/dist/commands/api.js +140 -0
  136. package/dist/commands/api.js.map +1 -0
  137. package/dist/commands/databases.d.ts +3 -0
  138. package/dist/commands/databases.d.ts.map +1 -0
  139. package/dist/commands/databases.js +65 -0
  140. package/dist/commands/databases.js.map +1 -0
  141. package/dist/commands/documents.d.ts +4 -0
  142. package/dist/commands/documents.d.ts.map +1 -0
  143. package/dist/commands/documents.js +41 -0
  144. package/dist/commands/documents.js.map +1 -0
  145. package/dist/commands/library.d.ts +10 -0
  146. package/dist/commands/library.d.ts.map +1 -0
  147. package/dist/commands/library.js +468 -0
  148. package/dist/commands/library.js.map +1 -0
  149. package/dist/commands/session.d.ts +3 -0
  150. package/dist/commands/session.d.ts.map +1 -0
  151. package/dist/commands/session.js +105 -0
  152. package/dist/commands/session.js.map +1 -0
  153. package/dist/config.d.ts +5 -0
  154. package/dist/config.d.ts.map +1 -0
  155. package/dist/config.js +13 -0
  156. package/dist/config.js.map +1 -0
  157. package/dist/context.d.ts +51 -0
  158. package/dist/context.d.ts.map +1 -0
  159. package/dist/context.js +67 -0
  160. package/dist/context.js.map +1 -0
  161. package/dist/generated/definitions.d.ts +3 -0
  162. package/dist/generated/definitions.d.ts.map +1 -0
  163. package/dist/generated/definitions.js +45603 -0
  164. package/dist/generated/definitions.js.map +1 -0
  165. package/dist/generated/manifest.d.ts +3 -0
  166. package/dist/generated/manifest.d.ts.map +1 -0
  167. package/dist/generated/manifest.js +2089 -0
  168. package/dist/generated/manifest.js.map +1 -0
  169. package/dist/generated/metadata.d.ts +6 -0
  170. package/dist/generated/metadata.d.ts.map +1 -0
  171. package/dist/generated/metadata.js +24 -0
  172. package/dist/generated/metadata.js.map +1 -0
  173. package/dist/generated/schemas.d.ts +1223 -0
  174. package/dist/generated/schemas.d.ts.map +1 -0
  175. package/dist/generated/schemas.js +11557 -0
  176. package/dist/generated/schemas.js.map +1 -0
  177. package/dist/generated/types.d.ts +11120 -0
  178. package/dist/generated/types.d.ts.map +1 -0
  179. package/dist/generated/types.js +5 -0
  180. package/dist/generated/types.js.map +1 -0
  181. package/dist/identity.d.ts +7 -0
  182. package/dist/identity.d.ts.map +1 -0
  183. package/dist/identity.js +30 -0
  184. package/dist/identity.js.map +1 -0
  185. package/dist/index.d.ts +3 -0
  186. package/dist/index.d.ts.map +1 -0
  187. package/dist/index.js +3 -0
  188. package/dist/index.js.map +1 -0
  189. package/dist/knowledge.d.ts +27 -0
  190. package/dist/knowledge.d.ts.map +1 -0
  191. package/dist/knowledge.js +87 -0
  192. package/dist/knowledge.js.map +1 -0
  193. package/dist/library.d.ts +44 -0
  194. package/dist/library.d.ts.map +1 -0
  195. package/dist/library.js +149 -0
  196. package/dist/library.js.map +1 -0
  197. package/dist/notion/client.d.ts +45 -0
  198. package/dist/notion/client.d.ts.map +1 -0
  199. package/dist/notion/client.js +121 -0
  200. package/dist/notion/client.js.map +1 -0
  201. package/dist/notion/errors.d.ts +24 -0
  202. package/dist/notion/errors.d.ts.map +1 -0
  203. package/dist/notion/errors.js +127 -0
  204. package/dist/notion/errors.js.map +1 -0
  205. package/dist/notion/ids.d.ts +7 -0
  206. package/dist/notion/ids.d.ts.map +1 -0
  207. package/dist/notion/ids.js +37 -0
  208. package/dist/notion/ids.js.map +1 -0
  209. package/dist/notion/links.d.ts +6 -0
  210. package/dist/notion/links.d.ts.map +1 -0
  211. package/dist/notion/links.js +22 -0
  212. package/dist/notion/links.js.map +1 -0
  213. package/dist/notion/notion.d.ts +95 -0
  214. package/dist/notion/notion.d.ts.map +1 -0
  215. package/dist/notion/notion.js +269 -0
  216. package/dist/notion/notion.js.map +1 -0
  217. package/dist/notion/port.d.ts +13 -0
  218. package/dist/notion/port.d.ts.map +1 -0
  219. package/dist/notion/port.js +60 -0
  220. package/dist/notion/port.js.map +1 -0
  221. package/dist/notion/read-posts.d.ts +36 -0
  222. package/dist/notion/read-posts.d.ts.map +1 -0
  223. package/dist/notion/read-posts.js +24 -0
  224. package/dist/notion/read-posts.js.map +1 -0
  225. package/dist/notion/reads.d.ts +331 -0
  226. package/dist/notion/reads.d.ts.map +1 -0
  227. package/dist/notion/reads.js +18 -0
  228. package/dist/notion/reads.js.map +1 -0
  229. package/dist/program.d.ts +6 -0
  230. package/dist/program.d.ts.map +1 -0
  231. package/dist/program.js +62 -0
  232. package/dist/program.js.map +1 -0
  233. package/dist/sync/cursor.d.ts +135 -0
  234. package/dist/sync/cursor.d.ts.map +1 -0
  235. package/dist/sync/cursor.js +113 -0
  236. package/dist/sync/cursor.js.map +1 -0
  237. package/dist/sync/files.d.ts +77 -0
  238. package/dist/sync/files.d.ts.map +1 -0
  239. package/dist/sync/files.js +12 -0
  240. package/dist/sync/files.js.map +1 -0
  241. package/dist/sync/front-matter.d.ts +10 -0
  242. package/dist/sync/front-matter.d.ts.map +1 -0
  243. package/dist/sync/front-matter.js +114 -0
  244. package/dist/sync/front-matter.js.map +1 -0
  245. package/dist/sync/markdown.d.ts +11 -0
  246. package/dist/sync/markdown.d.ts.map +1 -0
  247. package/dist/sync/markdown.js +42 -0
  248. package/dist/sync/markdown.js.map +1 -0
  249. package/dist/sync/source.d.ts +11 -0
  250. package/dist/sync/source.d.ts.map +1 -0
  251. package/dist/sync/source.js +995 -0
  252. package/dist/sync/source.js.map +1 -0
  253. package/dist/version.d.ts +2 -0
  254. package/dist/version.d.ts.map +1 -0
  255. package/dist/version.js +2 -0
  256. package/dist/version.js.map +1 -0
  257. package/dist/wcat.d.ts +3 -0
  258. package/dist/wcat.d.ts.map +1 -0
  259. package/dist/wcat.js +4 -0
  260. package/dist/wcat.js.map +1 -0
  261. package/package.json +85 -4
  262. package/skills/notion-cli/SKILL.md +45 -0
@@ -0,0 +1,1964 @@
1
+ {
2
+ "wcat_manifest": 2,
3
+ "name": "notion",
4
+ "description": "Notion pages and databases for you and your agent, read live with your own token",
5
+ "docs_url": "https://github.com/WireCatLabs/notion-cli#readme",
6
+ "package": "@wirecat/notion-cli",
7
+ "bin": "wcat-notion",
8
+ "commands": [
9
+ {
10
+ "path": [
11
+ "commands"
12
+ ],
13
+ "summary": "every command by section; --json prints its contract, one path per call",
14
+ "effects": {
15
+ "remote": "none",
16
+ "local": "none"
17
+ }
18
+ },
19
+ {
20
+ "path": [
21
+ "commands",
22
+ "info"
23
+ ],
24
+ "summary": "one command contract, or all schemas, error reasons and explicit overrides",
25
+ "effects": {
26
+ "remote": "none",
27
+ "local": "none"
28
+ }
29
+ },
30
+ {
31
+ "path": [
32
+ "session",
33
+ "start"
34
+ ],
35
+ "summary": "sign in to Notion with a personal access token or an internal connection's token",
36
+ "effects": {
37
+ "remote": "read",
38
+ "local": "write"
39
+ }
40
+ },
41
+ {
42
+ "path": [
43
+ "session",
44
+ "status"
45
+ ],
46
+ "summary": "show where this profile's token comes from; never the token",
47
+ "effects": {
48
+ "remote": "read",
49
+ "local": "read"
50
+ }
51
+ },
52
+ {
53
+ "path": [
54
+ "session",
55
+ "end"
56
+ ],
57
+ "summary": "forget this profile's token on this computer",
58
+ "effects": {
59
+ "remote": "none",
60
+ "local": "write"
61
+ }
62
+ },
63
+ {
64
+ "path": [
65
+ "session",
66
+ "list"
67
+ ],
68
+ "summary": "list the profiles here and whether each is signed in",
69
+ "effects": {
70
+ "remote": "none",
71
+ "local": "read"
72
+ }
73
+ },
74
+ {
75
+ "path": [
76
+ "folders",
77
+ "add"
78
+ ],
79
+ "summary": "import a folder and everything under it on the next sync",
80
+ "effects": {
81
+ "remote": "read",
82
+ "local": "write"
83
+ },
84
+ "permission": "folders.add"
85
+ },
86
+ {
87
+ "path": [
88
+ "folders",
89
+ "list"
90
+ ],
91
+ "summary": "list the folder ids sync imports",
92
+ "effects": {
93
+ "remote": "none",
94
+ "local": "read"
95
+ },
96
+ "permission": "folders.list",
97
+ "entity": "selected_folder"
98
+ },
99
+ {
100
+ "path": [
101
+ "folders",
102
+ "browse"
103
+ ],
104
+ "summary": "list Notion pages and databases one level at a time, live",
105
+ "effects": {
106
+ "remote": "read",
107
+ "local": "read"
108
+ },
109
+ "permission": "folders.browse",
110
+ "entity": "notion_folder"
111
+ },
112
+ {
113
+ "path": [
114
+ "folders",
115
+ "remove"
116
+ ],
117
+ "summary": "stop importing a folder; the next sync drops its documents",
118
+ "effects": {
119
+ "remote": "none",
120
+ "local": "write"
121
+ },
122
+ "permission": "folders.remove"
123
+ },
124
+ {
125
+ "path": [
126
+ "sync"
127
+ ],
128
+ "summary": "import what changed in the chosen folders, and finish an unfinished sync",
129
+ "effects": {
130
+ "remote": "read",
131
+ "local": "write"
132
+ },
133
+ "permission": "sync"
134
+ },
135
+ {
136
+ "path": [
137
+ "status"
138
+ ],
139
+ "summary": "show the last sync, imported documents and pending work",
140
+ "effects": {
141
+ "remote": "none",
142
+ "local": "read"
143
+ },
144
+ "permission": "status"
145
+ },
146
+ {
147
+ "path": [
148
+ "documents",
149
+ "list"
150
+ ],
151
+ "summary": "list the synced pages and database rows with their Notion links",
152
+ "effects": {
153
+ "remote": "none",
154
+ "local": "read"
155
+ },
156
+ "permission": "documents.list",
157
+ "entity": "document"
158
+ },
159
+ {
160
+ "path": [
161
+ "documents",
162
+ "show"
163
+ ],
164
+ "summary": "show an imported document's text, tabs and metadata",
165
+ "effects": {
166
+ "remote": "none",
167
+ "local": "read"
168
+ },
169
+ "permission": "documents.show"
170
+ },
171
+ {
172
+ "path": [
173
+ "documents",
174
+ "export"
175
+ ],
176
+ "summary": "write an imported document to a new Markdown file",
177
+ "effects": {
178
+ "remote": "none",
179
+ "local": "write"
180
+ },
181
+ "permission": "documents.export"
182
+ },
183
+ {
184
+ "path": [
185
+ "documents",
186
+ "context"
187
+ ],
188
+ "summary": "show a document with its tags, relationships, notes, memories and editors",
189
+ "effects": {
190
+ "remote": "none",
191
+ "local": "read"
192
+ },
193
+ "permission": "documents.context"
194
+ },
195
+ {
196
+ "path": [
197
+ "documents",
198
+ "get"
199
+ ],
200
+ "summary": "read one page live from Notion, as Markdown",
201
+ "effects": {
202
+ "remote": "read",
203
+ "local": "read"
204
+ },
205
+ "permission": "documents.get",
206
+ "entity": "document_markdown"
207
+ },
208
+ {
209
+ "path": [
210
+ "documents",
211
+ "add"
212
+ ],
213
+ "summary": "keep one Notion page's text in memory, read live, without syncing a folder",
214
+ "effects": {
215
+ "remote": "read",
216
+ "local": "write"
217
+ },
218
+ "permission": "documents.add"
219
+ },
220
+ {
221
+ "path": [
222
+ "search"
223
+ ],
224
+ "summary": "search imported documents by words, and by meaning when indexed",
225
+ "effects": {
226
+ "remote": "none",
227
+ "local": "read"
228
+ },
229
+ "permission": "search"
230
+ },
231
+ {
232
+ "path": [
233
+ "catalog",
234
+ "import"
235
+ ],
236
+ "summary": "put cached file and folder metadata into the shared database",
237
+ "effects": {
238
+ "remote": "none",
239
+ "local": "write"
240
+ },
241
+ "permission": "catalog.import"
242
+ },
243
+ {
244
+ "path": [
245
+ "catalog",
246
+ "show"
247
+ ],
248
+ "summary": "show stored metadata and the stable file or folder reference",
249
+ "effects": {
250
+ "remote": "none",
251
+ "local": "read"
252
+ },
253
+ "permission": "catalog.show",
254
+ "entity": "document"
255
+ },
256
+ {
257
+ "path": [
258
+ "catalog",
259
+ "list"
260
+ ],
261
+ "summary": "list cached files and folders using metadata queries",
262
+ "effects": {
263
+ "remote": "none",
264
+ "local": "read"
265
+ },
266
+ "permission": "catalog.list",
267
+ "entity": "document"
268
+ },
269
+ {
270
+ "path": [
271
+ "catalog",
272
+ "search"
273
+ ],
274
+ "summary": "search cached names, descriptions, types and observed people",
275
+ "effects": {
276
+ "remote": "none",
277
+ "local": "read"
278
+ },
279
+ "permission": "catalog.search",
280
+ "entity": "document"
281
+ },
282
+ {
283
+ "path": [
284
+ "catalog",
285
+ "tree"
286
+ ],
287
+ "summary": "show the cached hierarchy below a folder or all selected roots",
288
+ "effects": {
289
+ "remote": "none",
290
+ "local": "read"
291
+ },
292
+ "permission": "catalog.tree"
293
+ },
294
+ {
295
+ "path": [
296
+ "catalog",
297
+ "tags",
298
+ "list"
299
+ ],
300
+ "summary": "list local tags on a cached file or folder",
301
+ "effects": {
302
+ "remote": "none",
303
+ "local": "read"
304
+ },
305
+ "permission": "catalog.tags.list",
306
+ "entity": "document_tag"
307
+ },
308
+ {
309
+ "path": [
310
+ "catalog",
311
+ "tags",
312
+ "add"
313
+ ],
314
+ "summary": "add local tags on a cached file or folder",
315
+ "effects": {
316
+ "remote": "none",
317
+ "local": "write"
318
+ },
319
+ "permission": "catalog.tags.add"
320
+ },
321
+ {
322
+ "path": [
323
+ "catalog",
324
+ "tags",
325
+ "remove"
326
+ ],
327
+ "summary": "remove local tags on a cached file or folder",
328
+ "effects": {
329
+ "remote": "none",
330
+ "local": "write"
331
+ },
332
+ "permission": "catalog.tags.remove"
333
+ },
334
+ {
335
+ "path": [
336
+ "tags",
337
+ "list"
338
+ ],
339
+ "summary": "list a document's tags",
340
+ "effects": {
341
+ "remote": "none",
342
+ "local": "read"
343
+ },
344
+ "permission": "tags.list",
345
+ "entity": "document_tag"
346
+ },
347
+ {
348
+ "path": [
349
+ "tags",
350
+ "add"
351
+ ],
352
+ "summary": "tag a document",
353
+ "effects": {
354
+ "remote": "none",
355
+ "local": "write"
356
+ },
357
+ "permission": "tags.add"
358
+ },
359
+ {
360
+ "path": [
361
+ "tags",
362
+ "remove"
363
+ ],
364
+ "summary": "untag a document",
365
+ "effects": {
366
+ "remote": "none",
367
+ "local": "write"
368
+ },
369
+ "permission": "tags.remove"
370
+ },
371
+ {
372
+ "path": [
373
+ "relationships",
374
+ "list"
375
+ ],
376
+ "summary": "list a document's relationships",
377
+ "effects": {
378
+ "remote": "none",
379
+ "local": "read"
380
+ },
381
+ "permission": "relationships.list",
382
+ "entity": "document_relationship"
383
+ },
384
+ {
385
+ "path": [
386
+ "relationships",
387
+ "add"
388
+ ],
389
+ "summary": "connect a document to another reference",
390
+ "effects": {
391
+ "remote": "none",
392
+ "local": "write"
393
+ },
394
+ "permission": "relationships.add"
395
+ },
396
+ {
397
+ "path": [
398
+ "relationships",
399
+ "remove"
400
+ ],
401
+ "summary": "remove one of a document's relationships",
402
+ "effects": {
403
+ "remote": "none",
404
+ "local": "write"
405
+ },
406
+ "permission": "relationships.remove"
407
+ },
408
+ {
409
+ "path": [
410
+ "notes",
411
+ "add"
412
+ ],
413
+ "summary": "write a note about a document",
414
+ "effects": {
415
+ "remote": "none",
416
+ "local": "write"
417
+ },
418
+ "permission": "notes.add",
419
+ "entity": "note"
420
+ },
421
+ {
422
+ "path": [
423
+ "notes",
424
+ "list"
425
+ ],
426
+ "summary": "list a document's notes",
427
+ "effects": {
428
+ "remote": "none",
429
+ "local": "read"
430
+ },
431
+ "permission": "notes.list",
432
+ "entity": "note"
433
+ },
434
+ {
435
+ "path": [
436
+ "notes",
437
+ "show"
438
+ ],
439
+ "summary": "show one note",
440
+ "effects": {
441
+ "remote": "none",
442
+ "local": "read"
443
+ },
444
+ "permission": "notes.show",
445
+ "entity": "note"
446
+ },
447
+ {
448
+ "path": [
449
+ "notes",
450
+ "edit"
451
+ ],
452
+ "summary": "replace a note's text",
453
+ "effects": {
454
+ "remote": "none",
455
+ "local": "write"
456
+ },
457
+ "permission": "notes.edit",
458
+ "entity": "note"
459
+ },
460
+ {
461
+ "path": [
462
+ "notes",
463
+ "remove"
464
+ ],
465
+ "summary": "delete one note",
466
+ "effects": {
467
+ "remote": "none",
468
+ "local": "write"
469
+ },
470
+ "permission": "notes.remove"
471
+ },
472
+ {
473
+ "path": [
474
+ "memories",
475
+ "add"
476
+ ],
477
+ "summary": "record a memory about a document",
478
+ "effects": {
479
+ "remote": "none",
480
+ "local": "write"
481
+ },
482
+ "permission": "memories.add"
483
+ },
484
+ {
485
+ "path": [
486
+ "memories",
487
+ "list"
488
+ ],
489
+ "summary": "list a document's memories",
490
+ "effects": {
491
+ "remote": "none",
492
+ "local": "read"
493
+ },
494
+ "permission": "memories.list",
495
+ "entity": "memory"
496
+ },
497
+ {
498
+ "path": [
499
+ "memories",
500
+ "show"
501
+ ],
502
+ "summary": "show one memory",
503
+ "effects": {
504
+ "remote": "none",
505
+ "local": "read"
506
+ },
507
+ "permission": "memories.show"
508
+ },
509
+ {
510
+ "path": [
511
+ "memories",
512
+ "confirm"
513
+ ],
514
+ "summary": "confirm a proposed memory as true",
515
+ "effects": {
516
+ "remote": "none",
517
+ "local": "write"
518
+ },
519
+ "permission": "memories.confirm"
520
+ },
521
+ {
522
+ "path": [
523
+ "memories",
524
+ "stale"
525
+ ],
526
+ "summary": "mark a memory as out of date",
527
+ "effects": {
528
+ "remote": "none",
529
+ "local": "write"
530
+ },
531
+ "permission": "memories.stale"
532
+ },
533
+ {
534
+ "path": [
535
+ "memories",
536
+ "search"
537
+ ],
538
+ "summary": "search a document's memories by words",
539
+ "effects": {
540
+ "remote": "none",
541
+ "local": "read"
542
+ },
543
+ "permission": "memories.search",
544
+ "entity": "memory"
545
+ },
546
+ {
547
+ "path": [
548
+ "memories",
549
+ "extract"
550
+ ],
551
+ "summary": "send a document's text to the model and show the memories it proposes",
552
+ "effects": {
553
+ "remote": "write",
554
+ "local": "write"
555
+ },
556
+ "permission": "memories.extract"
557
+ },
558
+ {
559
+ "path": [
560
+ "facts",
561
+ "add"
562
+ ],
563
+ "summary": "record a fact a document shows",
564
+ "effects": {
565
+ "remote": "none",
566
+ "local": "write"
567
+ },
568
+ "permission": "facts.add"
569
+ },
570
+ {
571
+ "path": [
572
+ "facts",
573
+ "list"
574
+ ],
575
+ "summary": "list a document's facts",
576
+ "effects": {
577
+ "remote": "none",
578
+ "local": "read"
579
+ },
580
+ "permission": "facts.list",
581
+ "entity": "fact"
582
+ },
583
+ {
584
+ "path": [
585
+ "facts",
586
+ "show"
587
+ ],
588
+ "summary": "show one fact",
589
+ "effects": {
590
+ "remote": "none",
591
+ "local": "read"
592
+ },
593
+ "permission": "facts.show"
594
+ },
595
+ {
596
+ "path": [
597
+ "facts",
598
+ "confirm"
599
+ ],
600
+ "summary": "confirm a proposed fact; a decision it supersedes stops holding",
601
+ "effects": {
602
+ "remote": "none",
603
+ "local": "write"
604
+ },
605
+ "permission": "facts.confirm"
606
+ },
607
+ {
608
+ "path": [
609
+ "facts",
610
+ "reverse"
611
+ ],
612
+ "summary": "an accepted decision no longer holds, and nothing replaced it",
613
+ "effects": {
614
+ "remote": "none",
615
+ "local": "write"
616
+ },
617
+ "permission": "facts.reverse"
618
+ },
619
+ {
620
+ "path": [
621
+ "identities",
622
+ "list"
623
+ ],
624
+ "summary": "list the creator and last editor Notion shows for a page",
625
+ "effects": {
626
+ "remote": "none",
627
+ "local": "read"
628
+ },
629
+ "permission": "identities.list",
630
+ "entity": "document_identity"
631
+ },
632
+ {
633
+ "path": [
634
+ "identities",
635
+ "link"
636
+ ],
637
+ "summary": "record that a Notion account belongs to a known person",
638
+ "effects": {
639
+ "remote": "none",
640
+ "local": "write"
641
+ },
642
+ "permission": "identities.link"
643
+ },
644
+ {
645
+ "path": [
646
+ "databases",
647
+ "list"
648
+ ],
649
+ "summary": "list the databases this token can see, live, one row per data source",
650
+ "effects": {
651
+ "remote": "read",
652
+ "local": "read"
653
+ },
654
+ "permission": "databases.list",
655
+ "entity": "database"
656
+ },
657
+ {
658
+ "path": [
659
+ "databases",
660
+ "show"
661
+ ],
662
+ "summary": "show one database live: its data sources, their ids and properties",
663
+ "effects": {
664
+ "remote": "read",
665
+ "local": "read"
666
+ },
667
+ "permission": "databases.show",
668
+ "entity": "database"
669
+ },
670
+ {
671
+ "path": [
672
+ "api",
673
+ "list"
674
+ ],
675
+ "summary": "list every Notion API operation this CLI offers, without calling Notion",
676
+ "effects": {
677
+ "remote": "none",
678
+ "local": "none"
679
+ },
680
+ "permission": "api.list",
681
+ "entity": "api_operation"
682
+ },
683
+ {
684
+ "path": [
685
+ "api",
686
+ "show"
687
+ ],
688
+ "summary": "show one operation's parameters and request schema, without calling Notion",
689
+ "effects": {
690
+ "remote": "none",
691
+ "local": "none"
692
+ },
693
+ "permission": "api.show"
694
+ },
695
+ {
696
+ "path": [
697
+ "api",
698
+ "get-self"
699
+ ],
700
+ "summary": "Retrieve your token's bot user — read (GET /v1/users/me)",
701
+ "effects": {
702
+ "remote": "read",
703
+ "local": "none"
704
+ },
705
+ "permission": "api.get-self"
706
+ },
707
+ {
708
+ "path": [
709
+ "api",
710
+ "get-user"
711
+ ],
712
+ "summary": "Retrieve a user — read (GET /v1/users/{user_id})",
713
+ "effects": {
714
+ "remote": "read",
715
+ "local": "none"
716
+ },
717
+ "permission": "api.get-user"
718
+ },
719
+ {
720
+ "path": [
721
+ "api",
722
+ "get-users"
723
+ ],
724
+ "summary": "List all users — read (GET /v1/users)",
725
+ "effects": {
726
+ "remote": "read",
727
+ "local": "none"
728
+ },
729
+ "permission": "api.get-users"
730
+ },
731
+ {
732
+ "path": [
733
+ "api",
734
+ "post-page"
735
+ ],
736
+ "summary": "Create a page — write (POST /v1/pages)",
737
+ "effects": {
738
+ "remote": "write",
739
+ "local": "none"
740
+ },
741
+ "permission": "api.post-page"
742
+ },
743
+ {
744
+ "path": [
745
+ "api",
746
+ "retrieve-a-page"
747
+ ],
748
+ "summary": "Retrieve a page — read (GET /v1/pages/{page_id})",
749
+ "effects": {
750
+ "remote": "read",
751
+ "local": "none"
752
+ },
753
+ "permission": "api.retrieve-a-page"
754
+ },
755
+ {
756
+ "path": [
757
+ "api",
758
+ "patch-page"
759
+ ],
760
+ "summary": "Update page — write (PATCH /v1/pages/{page_id})",
761
+ "effects": {
762
+ "remote": "write",
763
+ "local": "none"
764
+ },
765
+ "permission": "api.patch-page"
766
+ },
767
+ {
768
+ "path": [
769
+ "api",
770
+ "move-page"
771
+ ],
772
+ "summary": "Move a page — write (POST /v1/pages/{page_id}/move)",
773
+ "effects": {
774
+ "remote": "write",
775
+ "local": "none"
776
+ },
777
+ "permission": "api.move-page"
778
+ },
779
+ {
780
+ "path": [
781
+ "api",
782
+ "retrieve-a-page-property"
783
+ ],
784
+ "summary": "Retrieve a page property item — read (GET…",
785
+ "effects": {
786
+ "remote": "read",
787
+ "local": "none"
788
+ },
789
+ "permission": "api.retrieve-a-page-property"
790
+ },
791
+ {
792
+ "path": [
793
+ "api",
794
+ "retrieve-page-markdown"
795
+ ],
796
+ "summary": "Retrieve a page as markdown — read (GET /v1/pages/{page_id}/markdown)",
797
+ "effects": {
798
+ "remote": "read",
799
+ "local": "none"
800
+ },
801
+ "permission": "api.retrieve-page-markdown"
802
+ },
803
+ {
804
+ "path": [
805
+ "api",
806
+ "update-page-markdown"
807
+ ],
808
+ "summary": "Update a page's content as markdown — write (PATCH /v1/pages/{page_id}/markdown)",
809
+ "effects": {
810
+ "remote": "write",
811
+ "local": "none"
812
+ },
813
+ "permission": "api.update-page-markdown"
814
+ },
815
+ {
816
+ "path": [
817
+ "api",
818
+ "retrieve-async-task"
819
+ ],
820
+ "summary": "Retrieve an async task — read (GET /v1/async_tasks/{task_id})",
821
+ "effects": {
822
+ "remote": "read",
823
+ "local": "none"
824
+ },
825
+ "permission": "api.retrieve-async-task"
826
+ },
827
+ {
828
+ "path": [
829
+ "api",
830
+ "retrieve-a-block"
831
+ ],
832
+ "summary": "Retrieve a block — read (GET /v1/blocks/{block_id})",
833
+ "effects": {
834
+ "remote": "read",
835
+ "local": "none"
836
+ },
837
+ "permission": "api.retrieve-a-block"
838
+ },
839
+ {
840
+ "path": [
841
+ "api",
842
+ "update-a-block"
843
+ ],
844
+ "summary": "Update a block — write (PATCH /v1/blocks/{block_id})",
845
+ "effects": {
846
+ "remote": "write",
847
+ "local": "none"
848
+ },
849
+ "permission": "api.update-a-block"
850
+ },
851
+ {
852
+ "path": [
853
+ "api",
854
+ "delete-a-block"
855
+ ],
856
+ "summary": "Delete a block — destructive (DELETE /v1/blocks/{block_id})",
857
+ "effects": {
858
+ "remote": "write",
859
+ "local": "none"
860
+ },
861
+ "permission": "api.delete-a-block"
862
+ },
863
+ {
864
+ "path": [
865
+ "api",
866
+ "get-block-children"
867
+ ],
868
+ "summary": "Retrieve block children — read (GET /v1/blocks/{block_id}/children)",
869
+ "effects": {
870
+ "remote": "read",
871
+ "local": "none"
872
+ },
873
+ "permission": "api.get-block-children"
874
+ },
875
+ {
876
+ "path": [
877
+ "api",
878
+ "patch-block-children"
879
+ ],
880
+ "summary": "Append block children — write (PATCH /v1/blocks/{block_id}/children)",
881
+ "effects": {
882
+ "remote": "write",
883
+ "local": "none"
884
+ },
885
+ "permission": "api.patch-block-children"
886
+ },
887
+ {
888
+ "path": [
889
+ "api",
890
+ "retrieve-a-data-source"
891
+ ],
892
+ "summary": "Retrieve a data source — read (GET /v1/data_sources/{data_source_id})",
893
+ "effects": {
894
+ "remote": "read",
895
+ "local": "none"
896
+ },
897
+ "permission": "api.retrieve-a-data-source"
898
+ },
899
+ {
900
+ "path": [
901
+ "api",
902
+ "update-a-data-source"
903
+ ],
904
+ "summary": "Update a data source — write (PATCH /v1/data_sources/{data_source_id})",
905
+ "effects": {
906
+ "remote": "write",
907
+ "local": "none"
908
+ },
909
+ "permission": "api.update-a-data-source"
910
+ },
911
+ {
912
+ "path": [
913
+ "api",
914
+ "post-database-query"
915
+ ],
916
+ "summary": "Query a data source — read (POST /v1/data_sources/{data_source_id}/query)",
917
+ "effects": {
918
+ "remote": "read",
919
+ "local": "none"
920
+ },
921
+ "permission": "api.post-database-query"
922
+ },
923
+ {
924
+ "path": [
925
+ "api",
926
+ "create-a-database"
927
+ ],
928
+ "summary": "Create a data source — write (POST /v1/data_sources)",
929
+ "effects": {
930
+ "remote": "write",
931
+ "local": "none"
932
+ },
933
+ "permission": "api.create-a-database"
934
+ },
935
+ {
936
+ "path": [
937
+ "api",
938
+ "list-data-source-templates"
939
+ ],
940
+ "summary": "List templates in a data source — read (GET…",
941
+ "effects": {
942
+ "remote": "read",
943
+ "local": "none"
944
+ },
945
+ "permission": "api.list-data-source-templates"
946
+ },
947
+ {
948
+ "path": [
949
+ "api",
950
+ "retrieve-database"
951
+ ],
952
+ "summary": "Retrieve a database — read (GET /v1/databases/{database_id})",
953
+ "effects": {
954
+ "remote": "read",
955
+ "local": "none"
956
+ },
957
+ "permission": "api.retrieve-database"
958
+ },
959
+ {
960
+ "path": [
961
+ "api",
962
+ "update-database"
963
+ ],
964
+ "summary": "Update a database — write (PATCH /v1/databases/{database_id})",
965
+ "effects": {
966
+ "remote": "write",
967
+ "local": "none"
968
+ },
969
+ "permission": "api.update-database"
970
+ },
971
+ {
972
+ "path": [
973
+ "api",
974
+ "create-database"
975
+ ],
976
+ "summary": "Create a database — write (POST /v1/databases)",
977
+ "effects": {
978
+ "remote": "write",
979
+ "local": "none"
980
+ },
981
+ "permission": "api.create-database"
982
+ },
983
+ {
984
+ "path": [
985
+ "api",
986
+ "post-search"
987
+ ],
988
+ "summary": "Search by title — read (POST /v1/search)",
989
+ "effects": {
990
+ "remote": "read",
991
+ "local": "none"
992
+ },
993
+ "permission": "api.post-search"
994
+ },
995
+ {
996
+ "path": [
997
+ "api",
998
+ "list-comments"
999
+ ],
1000
+ "summary": "List comments — read (GET /v1/comments)",
1001
+ "effects": {
1002
+ "remote": "read",
1003
+ "local": "none"
1004
+ },
1005
+ "permission": "api.list-comments"
1006
+ },
1007
+ {
1008
+ "path": [
1009
+ "api",
1010
+ "create-a-comment"
1011
+ ],
1012
+ "summary": "Create a comment — write (POST /v1/comments)",
1013
+ "effects": {
1014
+ "remote": "write",
1015
+ "local": "none"
1016
+ },
1017
+ "permission": "api.create-a-comment"
1018
+ },
1019
+ {
1020
+ "path": [
1021
+ "api",
1022
+ "retrieve-comment"
1023
+ ],
1024
+ "summary": "Retrieve a comment — read (GET /v1/comments/{comment_id})",
1025
+ "effects": {
1026
+ "remote": "read",
1027
+ "local": "none"
1028
+ },
1029
+ "permission": "api.retrieve-comment"
1030
+ },
1031
+ {
1032
+ "path": [
1033
+ "api",
1034
+ "update-a-comment"
1035
+ ],
1036
+ "summary": "Update a comment — write (PATCH /v1/comments/{comment_id})",
1037
+ "effects": {
1038
+ "remote": "write",
1039
+ "local": "none"
1040
+ },
1041
+ "permission": "api.update-a-comment"
1042
+ },
1043
+ {
1044
+ "path": [
1045
+ "api",
1046
+ "delete-a-comment"
1047
+ ],
1048
+ "summary": "Delete a comment — destructive (DELETE /v1/comments/{comment_id})",
1049
+ "effects": {
1050
+ "remote": "write",
1051
+ "local": "none"
1052
+ },
1053
+ "permission": "api.delete-a-comment"
1054
+ },
1055
+ {
1056
+ "path": [
1057
+ "api",
1058
+ "list-file-uploads"
1059
+ ],
1060
+ "summary": "List file uploads — read (GET /v1/file_uploads)",
1061
+ "effects": {
1062
+ "remote": "read",
1063
+ "local": "none"
1064
+ },
1065
+ "permission": "api.list-file-uploads"
1066
+ },
1067
+ {
1068
+ "path": [
1069
+ "api",
1070
+ "create-file"
1071
+ ],
1072
+ "summary": "Create a file upload — write (POST /v1/file_uploads)",
1073
+ "effects": {
1074
+ "remote": "write",
1075
+ "local": "none"
1076
+ },
1077
+ "permission": "api.create-file"
1078
+ },
1079
+ {
1080
+ "path": [
1081
+ "api",
1082
+ "complete-file-upload"
1083
+ ],
1084
+ "summary": "Complete a multi-part file upload — write (POST…",
1085
+ "effects": {
1086
+ "remote": "write",
1087
+ "local": "none"
1088
+ },
1089
+ "permission": "api.complete-file-upload"
1090
+ },
1091
+ {
1092
+ "path": [
1093
+ "api",
1094
+ "retrieve-file-upload"
1095
+ ],
1096
+ "summary": "Retrieve a file upload — read (GET /v1/file_uploads/{file_upload_id})",
1097
+ "effects": {
1098
+ "remote": "read",
1099
+ "local": "none"
1100
+ },
1101
+ "permission": "api.retrieve-file-upload"
1102
+ },
1103
+ {
1104
+ "path": [
1105
+ "api",
1106
+ "list-custom-emojis"
1107
+ ],
1108
+ "summary": "List custom emojis — read (GET /v1/custom_emojis)",
1109
+ "effects": {
1110
+ "remote": "read",
1111
+ "local": "none"
1112
+ },
1113
+ "permission": "api.list-custom-emojis"
1114
+ },
1115
+ {
1116
+ "path": [
1117
+ "api",
1118
+ "list-views"
1119
+ ],
1120
+ "summary": "List views — read (GET /v1/views)",
1121
+ "effects": {
1122
+ "remote": "read",
1123
+ "local": "none"
1124
+ },
1125
+ "permission": "api.list-views"
1126
+ },
1127
+ {
1128
+ "path": [
1129
+ "api",
1130
+ "create-view"
1131
+ ],
1132
+ "summary": "Create a view — write (POST /v1/views)",
1133
+ "effects": {
1134
+ "remote": "write",
1135
+ "local": "none"
1136
+ },
1137
+ "permission": "api.create-view"
1138
+ },
1139
+ {
1140
+ "path": [
1141
+ "api",
1142
+ "retrieve-a-view"
1143
+ ],
1144
+ "summary": "Retrieve a view — read (GET /v1/views/{view_id})",
1145
+ "effects": {
1146
+ "remote": "read",
1147
+ "local": "none"
1148
+ },
1149
+ "permission": "api.retrieve-a-view"
1150
+ },
1151
+ {
1152
+ "path": [
1153
+ "api",
1154
+ "update-a-view"
1155
+ ],
1156
+ "summary": "Update a view — write (PATCH /v1/views/{view_id})",
1157
+ "effects": {
1158
+ "remote": "write",
1159
+ "local": "none"
1160
+ },
1161
+ "permission": "api.update-a-view"
1162
+ },
1163
+ {
1164
+ "path": [
1165
+ "api",
1166
+ "delete-view"
1167
+ ],
1168
+ "summary": "Delete a view — destructive (DELETE /v1/views/{view_id})",
1169
+ "effects": {
1170
+ "remote": "write",
1171
+ "local": "none"
1172
+ },
1173
+ "permission": "api.delete-view"
1174
+ },
1175
+ {
1176
+ "path": [
1177
+ "api",
1178
+ "create-view-query"
1179
+ ],
1180
+ "summary": "Create a view query — read (POST /v1/views/{view_id}/queries)",
1181
+ "effects": {
1182
+ "remote": "read",
1183
+ "local": "none"
1184
+ },
1185
+ "permission": "api.create-view-query"
1186
+ },
1187
+ {
1188
+ "path": [
1189
+ "api",
1190
+ "get-view-query-results"
1191
+ ],
1192
+ "summary": "Get view query results — read (GET /v1/views/{view_id}/queries/{query_id})",
1193
+ "effects": {
1194
+ "remote": "read",
1195
+ "local": "none"
1196
+ },
1197
+ "permission": "api.get-view-query-results"
1198
+ },
1199
+ {
1200
+ "path": [
1201
+ "api",
1202
+ "delete-view-query"
1203
+ ],
1204
+ "summary": "Delete a view query — destructive (DELETE…",
1205
+ "effects": {
1206
+ "remote": "write",
1207
+ "local": "none"
1208
+ },
1209
+ "permission": "api.delete-view-query"
1210
+ },
1211
+ {
1212
+ "path": [
1213
+ "api",
1214
+ "create-meeting-note"
1215
+ ],
1216
+ "summary": "Create a meeting note — write (POST /v1/blocks/meeting_notes)",
1217
+ "effects": {
1218
+ "remote": "write",
1219
+ "local": "none"
1220
+ },
1221
+ "permission": "api.create-meeting-note"
1222
+ },
1223
+ {
1224
+ "path": [
1225
+ "api",
1226
+ "query-meeting-notes"
1227
+ ],
1228
+ "summary": "Query meeting notes — read (POST /v1/blocks/meeting_notes/query)",
1229
+ "effects": {
1230
+ "remote": "read",
1231
+ "local": "none"
1232
+ },
1233
+ "permission": "api.query-meeting-notes"
1234
+ },
1235
+ {
1236
+ "path": [
1237
+ "api",
1238
+ "query-agents"
1239
+ ],
1240
+ "summary": "Query agents — read (POST /v1/agents/query)",
1241
+ "effects": {
1242
+ "remote": "read",
1243
+ "local": "none"
1244
+ },
1245
+ "permission": "api.query-agents"
1246
+ },
1247
+ {
1248
+ "path": [
1249
+ "api",
1250
+ "get-agent"
1251
+ ],
1252
+ "summary": "Get agent — read (GET /v1/agents/{agent_id})",
1253
+ "effects": {
1254
+ "remote": "read",
1255
+ "local": "none"
1256
+ },
1257
+ "permission": "api.get-agent"
1258
+ },
1259
+ {
1260
+ "path": [
1261
+ "api",
1262
+ "update-agent"
1263
+ ],
1264
+ "summary": "Update agent — write (PATCH /v1/agents/{agent_id})",
1265
+ "effects": {
1266
+ "remote": "write",
1267
+ "local": "none"
1268
+ },
1269
+ "permission": "api.update-agent"
1270
+ },
1271
+ {
1272
+ "path": [
1273
+ "api",
1274
+ "delete-agent"
1275
+ ],
1276
+ "summary": "Delete agent — destructive (DELETE /v1/agents/{agent_id})",
1277
+ "effects": {
1278
+ "remote": "write",
1279
+ "local": "none"
1280
+ },
1281
+ "permission": "api.delete-agent"
1282
+ },
1283
+ {
1284
+ "path": [
1285
+ "api",
1286
+ "get-agent-insights"
1287
+ ],
1288
+ "summary": "Get agent insights — read (GET /v1/agents/{agent_id}/insights)",
1289
+ "effects": {
1290
+ "remote": "read",
1291
+ "local": "none"
1292
+ },
1293
+ "permission": "api.get-agent-insights"
1294
+ },
1295
+ {
1296
+ "path": [
1297
+ "api",
1298
+ "update-agent-status"
1299
+ ],
1300
+ "summary": "Update agent status — write (PATCH /v1/agents/{agent_id}/status)",
1301
+ "effects": {
1302
+ "remote": "write",
1303
+ "local": "none"
1304
+ },
1305
+ "permission": "api.update-agent-status"
1306
+ },
1307
+ {
1308
+ "path": [
1309
+ "api",
1310
+ "update-agent-credit-limit"
1311
+ ],
1312
+ "summary": "Update agent credit limit — write (PATCH /v1/agents/{agent_id}/credit_limit)",
1313
+ "effects": {
1314
+ "remote": "write",
1315
+ "local": "none"
1316
+ },
1317
+ "permission": "api.update-agent-credit-limit"
1318
+ },
1319
+ {
1320
+ "path": [
1321
+ "api",
1322
+ "agent-batch"
1323
+ ],
1324
+ "summary": "Apply many agent operations — write (POST /v1/agents/batch)",
1325
+ "effects": {
1326
+ "remote": "write",
1327
+ "local": "none"
1328
+ },
1329
+ "permission": "api.agent-batch"
1330
+ },
1331
+ {
1332
+ "path": [
1333
+ "api",
1334
+ "list-skills-plugins"
1335
+ ],
1336
+ "summary": "List skills plugins — read (GET /v1/ai/plugins)",
1337
+ "effects": {
1338
+ "remote": "read",
1339
+ "local": "none"
1340
+ },
1341
+ "permission": "api.list-skills-plugins"
1342
+ },
1343
+ {
1344
+ "path": [
1345
+ "api",
1346
+ "get-plugin-directory"
1347
+ ],
1348
+ "summary": "Get a plugin directory — read (GET /v1/ai/plugins/{id})",
1349
+ "effects": {
1350
+ "remote": "read",
1351
+ "local": "none"
1352
+ },
1353
+ "permission": "api.get-plugin-directory"
1354
+ },
1355
+ {
1356
+ "path": [
1357
+ "api",
1358
+ "get-skill-directory"
1359
+ ],
1360
+ "summary": "Get a skill directory — read (GET /v1/ai/skills/{id})",
1361
+ "effects": {
1362
+ "remote": "read",
1363
+ "local": "none"
1364
+ },
1365
+ "permission": "api.get-skill-directory"
1366
+ },
1367
+ {
1368
+ "path": [
1369
+ "api",
1370
+ "update-session"
1371
+ ],
1372
+ "summary": "Update a session — write (POST /v1/sessions)",
1373
+ "effects": {
1374
+ "remote": "write",
1375
+ "local": "none"
1376
+ },
1377
+ "permission": "api.update-session"
1378
+ },
1379
+ {
1380
+ "path": [
1381
+ "api",
1382
+ "retrieve-session"
1383
+ ],
1384
+ "summary": "Retrieve a session — read (GET /v1/sessions/{session_id})",
1385
+ "effects": {
1386
+ "remote": "read",
1387
+ "local": "none"
1388
+ },
1389
+ "permission": "api.retrieve-session"
1390
+ },
1391
+ {
1392
+ "path": [
1393
+ "api",
1394
+ "query-sessions"
1395
+ ],
1396
+ "summary": "Query sessions — read (POST /v1/sessions/query)",
1397
+ "effects": {
1398
+ "remote": "read",
1399
+ "local": "none"
1400
+ },
1401
+ "permission": "api.query-sessions"
1402
+ },
1403
+ {
1404
+ "path": [
1405
+ "api",
1406
+ "query-session-events"
1407
+ ],
1408
+ "summary": "Query session events — read (POST /v1/sessions/{session_id}/events/query)",
1409
+ "effects": {
1410
+ "remote": "read",
1411
+ "local": "none"
1412
+ },
1413
+ "permission": "api.query-session-events"
1414
+ },
1415
+ {
1416
+ "path": [
1417
+ "api",
1418
+ "cancel-session"
1419
+ ],
1420
+ "summary": "Cancel a session — write (POST /v1/sessions/{session_id}/cancel)",
1421
+ "effects": {
1422
+ "remote": "write",
1423
+ "local": "none"
1424
+ },
1425
+ "permission": "api.cancel-session"
1426
+ },
1427
+ {
1428
+ "path": [
1429
+ "doctor"
1430
+ ],
1431
+ "summary": "the state this installation is in, without connecting unless --online",
1432
+ "effects": {
1433
+ "remote": "read",
1434
+ "local": "read"
1435
+ }
1436
+ },
1437
+ {
1438
+ "path": [
1439
+ "doctor",
1440
+ "reports",
1441
+ "show"
1442
+ ],
1443
+ "summary": "what a report holds and never holds, and where to send it; writes nothing",
1444
+ "effects": {
1445
+ "remote": "none",
1446
+ "local": "none"
1447
+ }
1448
+ },
1449
+ {
1450
+ "path": [
1451
+ "doctor",
1452
+ "reports",
1453
+ "create"
1454
+ ],
1455
+ "summary": "the report file written: its path, the run it is about, and where to send it",
1456
+ "effects": {
1457
+ "remote": "none",
1458
+ "local": "write"
1459
+ },
1460
+ "permission": "doctor.reports.create"
1461
+ },
1462
+ {
1463
+ "path": [
1464
+ "skill",
1465
+ "show"
1466
+ ],
1467
+ "summary": "print the tool's instructions for AI agents",
1468
+ "effects": {
1469
+ "remote": "none",
1470
+ "local": "read"
1471
+ }
1472
+ },
1473
+ {
1474
+ "path": [
1475
+ "skill",
1476
+ "install"
1477
+ ],
1478
+ "summary": "install the tool's instructions for AI agents",
1479
+ "effects": {
1480
+ "remote": "none",
1481
+ "local": "write"
1482
+ }
1483
+ },
1484
+ {
1485
+ "path": [
1486
+ "skill",
1487
+ "status"
1488
+ ],
1489
+ "summary": "whether the installed instructions for AI agents match this version",
1490
+ "effects": {
1491
+ "remote": "none",
1492
+ "local": "read"
1493
+ }
1494
+ },
1495
+ {
1496
+ "path": [
1497
+ "mcp",
1498
+ "serve"
1499
+ ],
1500
+ "summary": "serve this profile's commands to an AI agent",
1501
+ "effects": {
1502
+ "remote": "write",
1503
+ "local": "write"
1504
+ }
1505
+ },
1506
+ {
1507
+ "path": [
1508
+ "mcp",
1509
+ "revoke"
1510
+ ],
1511
+ "summary": "forget every login given to a browser app",
1512
+ "effects": {
1513
+ "remote": "none",
1514
+ "local": "write"
1515
+ }
1516
+ },
1517
+ {
1518
+ "path": [
1519
+ "mcp",
1520
+ "server",
1521
+ "start"
1522
+ ],
1523
+ "summary": "start the HTTP MCP server in the background",
1524
+ "effects": {
1525
+ "remote": "none",
1526
+ "local": "write"
1527
+ }
1528
+ },
1529
+ {
1530
+ "path": [
1531
+ "mcp",
1532
+ "server",
1533
+ "stop"
1534
+ ],
1535
+ "summary": "stop the background HTTP MCP server",
1536
+ "effects": {
1537
+ "remote": "none",
1538
+ "local": "write"
1539
+ }
1540
+ },
1541
+ {
1542
+ "path": [
1543
+ "mcp",
1544
+ "server",
1545
+ "status"
1546
+ ],
1547
+ "summary": "whether the HTTP MCP server runs, its login code and the apps logged in",
1548
+ "effects": {
1549
+ "remote": "none",
1550
+ "local": "read"
1551
+ }
1552
+ },
1553
+ {
1554
+ "path": [
1555
+ "mcp",
1556
+ "config"
1557
+ ],
1558
+ "summary": "print the local MCP configuration of this profile, or of those --profiles names",
1559
+ "effects": {
1560
+ "remote": "none",
1561
+ "local": "read"
1562
+ }
1563
+ },
1564
+ {
1565
+ "path": [
1566
+ "mcp",
1567
+ "add"
1568
+ ],
1569
+ "summary": "add this profile's local MCP server to Codex or Claude Code",
1570
+ "effects": {
1571
+ "remote": "none",
1572
+ "local": "write"
1573
+ }
1574
+ },
1575
+ {
1576
+ "path": [
1577
+ "mcp",
1578
+ "check"
1579
+ ],
1580
+ "summary": "check this profile's local MCP handshake and tool list",
1581
+ "effects": {
1582
+ "remote": "none",
1583
+ "local": "read"
1584
+ }
1585
+ },
1586
+ {
1587
+ "path": [
1588
+ "upgrade"
1589
+ ],
1590
+ "summary": "upgrade notion with the package manager that installed it; --check only looks",
1591
+ "effects": {
1592
+ "remote": "none",
1593
+ "local": "write"
1594
+ }
1595
+ },
1596
+ {
1597
+ "path": [
1598
+ "config",
1599
+ "show"
1600
+ ],
1601
+ "summary": "the profile, the profiles that exist, and each setting with where it came from",
1602
+ "effects": {
1603
+ "remote": "none",
1604
+ "local": "read"
1605
+ }
1606
+ },
1607
+ {
1608
+ "path": [
1609
+ "config",
1610
+ "set"
1611
+ ],
1612
+ "summary": "save a setting to the configuration file",
1613
+ "effects": {
1614
+ "remote": "none",
1615
+ "local": "write"
1616
+ }
1617
+ },
1618
+ {
1619
+ "path": [
1620
+ "config",
1621
+ "unset"
1622
+ ],
1623
+ "summary": "remove a setting from the configuration file",
1624
+ "effects": {
1625
+ "remote": "none",
1626
+ "local": "write"
1627
+ }
1628
+ },
1629
+ {
1630
+ "path": [
1631
+ "config",
1632
+ "migrate"
1633
+ ],
1634
+ "summary": "write each setting the file lacks at its default, keeping yours",
1635
+ "effects": {
1636
+ "remote": "none",
1637
+ "local": "write"
1638
+ }
1639
+ },
1640
+ {
1641
+ "path": [
1642
+ "config",
1643
+ "repair"
1644
+ ],
1645
+ "summary": "fix the settings file's JSON syntax, keeping every value",
1646
+ "effects": {
1647
+ "remote": "none",
1648
+ "local": "write"
1649
+ }
1650
+ },
1651
+ {
1652
+ "path": [
1653
+ "runs",
1654
+ "list"
1655
+ ],
1656
+ "summary": "recorded runs, newest first",
1657
+ "effects": {
1658
+ "remote": "none",
1659
+ "local": "read"
1660
+ },
1661
+ "entity": "run"
1662
+ },
1663
+ {
1664
+ "path": [
1665
+ "runs",
1666
+ "show"
1667
+ ],
1668
+ "summary": "one run: what it was, how it ended, and every event it logged",
1669
+ "effects": {
1670
+ "remote": "none",
1671
+ "local": "read"
1672
+ },
1673
+ "entity": "run"
1674
+ },
1675
+ {
1676
+ "path": [
1677
+ "runs",
1678
+ "path"
1679
+ ],
1680
+ "summary": "the directory holding one run",
1681
+ "effects": {
1682
+ "remote": "none",
1683
+ "local": "none"
1684
+ },
1685
+ "entity": "run_location"
1686
+ }
1687
+ ],
1688
+ "entities": {
1689
+ "selected_folder": {
1690
+ "fields": [
1691
+ "id"
1692
+ ]
1693
+ },
1694
+ "document": {
1695
+ "fields": [
1696
+ "name",
1697
+ "kind",
1698
+ "mime"
1699
+ ]
1700
+ },
1701
+ "document_tag": {
1702
+ "fields": [
1703
+ "tag"
1704
+ ]
1705
+ },
1706
+ "document_relationship": {
1707
+ "fields": [
1708
+ "id",
1709
+ "from",
1710
+ "to",
1711
+ "kind",
1712
+ "role",
1713
+ "confirmed",
1714
+ "origin"
1715
+ ]
1716
+ },
1717
+ "note": {
1718
+ "fields": [
1719
+ "ref",
1720
+ "kind",
1721
+ "provider",
1722
+ "account",
1723
+ "url",
1724
+ "id",
1725
+ "source",
1726
+ "folder_id",
1727
+ "path",
1728
+ "title",
1729
+ "text",
1730
+ "revision",
1731
+ "content_hash",
1732
+ "export_path",
1733
+ "created_at",
1734
+ "updated_at",
1735
+ "deleted_at",
1736
+ "tags",
1737
+ "excerpt",
1738
+ "found_by"
1739
+ ]
1740
+ },
1741
+ "memory": {
1742
+ "fields": [
1743
+ "kind",
1744
+ "status",
1745
+ "scope"
1746
+ ]
1747
+ },
1748
+ "fact": {
1749
+ "fields": [
1750
+ "kind",
1751
+ "status"
1752
+ ]
1753
+ },
1754
+ "document_identity": {
1755
+ "fields": [
1756
+ "remote_id",
1757
+ "provider",
1758
+ "role"
1759
+ ]
1760
+ },
1761
+ "database": {
1762
+ "fields": [
1763
+ "title"
1764
+ ]
1765
+ },
1766
+ "api_operation": {
1767
+ "fields": [
1768
+ "effect",
1769
+ "tag"
1770
+ ]
1771
+ },
1772
+ "run": {
1773
+ "fields": [
1774
+ "run_id",
1775
+ "command",
1776
+ "profile",
1777
+ "started_at",
1778
+ "completed_at",
1779
+ "status",
1780
+ "requests",
1781
+ "duration_ms",
1782
+ "cli_version",
1783
+ "runtime",
1784
+ "platform",
1785
+ "arch",
1786
+ "error_code",
1787
+ "provider_error",
1788
+ "kept_because_failed",
1789
+ "operations",
1790
+ "codes",
1791
+ "trace_id",
1792
+ "cli_command",
1793
+ "argv",
1794
+ "unknown_command",
1795
+ "via",
1796
+ "events_dropped",
1797
+ "directory",
1798
+ "event_count",
1799
+ "events_truncated"
1800
+ ]
1801
+ }
1802
+ },
1803
+ "network": {
1804
+ "hosts": [
1805
+ "api.notion.com",
1806
+ "registry.npmjs.org",
1807
+ "huggingface.co",
1808
+ "*.huggingface.co",
1809
+ "*.hf.co",
1810
+ "github.com",
1811
+ "*.githubusercontent.com"
1812
+ ]
1813
+ },
1814
+ "desktop": {
1815
+ "tagline": "Notion pages and databases, searchable on your computer",
1816
+ "profiles": {
1817
+ "args": [
1818
+ "session",
1819
+ "list",
1820
+ "--no-record",
1821
+ "--json"
1822
+ ],
1823
+ "shape": "items"
1824
+ },
1825
+ "doctor": [
1826
+ "{profile}",
1827
+ "doctor",
1828
+ "--record",
1829
+ "--json"
1830
+ ],
1831
+ "runs": {
1832
+ "list": [
1833
+ "runs",
1834
+ "list",
1835
+ "{query}",
1836
+ "--limit",
1837
+ "{limit}",
1838
+ "--page",
1839
+ "{page}",
1840
+ "--no-record",
1841
+ "--json"
1842
+ ],
1843
+ "show": [
1844
+ "runs",
1845
+ "show",
1846
+ "{run}",
1847
+ "--no-record",
1848
+ "--json"
1849
+ ]
1850
+ },
1851
+ "search": null,
1852
+ "setup": [
1853
+ "{profile}",
1854
+ "session",
1855
+ "start"
1856
+ ],
1857
+ "signIn": {
1858
+ "gives": "Lets your agent read the Notion pages and databases your token can see.",
1859
+ "asks": "A Notion personal access token, or the token of an internal connection you made in Notion."
1860
+ },
1861
+ "skill": {
1862
+ "status": [
1863
+ "skill",
1864
+ "status",
1865
+ "--no-record",
1866
+ "--json"
1867
+ ],
1868
+ "install": [
1869
+ "skill",
1870
+ "install",
1871
+ "--for",
1872
+ "{target}",
1873
+ "--json"
1874
+ ],
1875
+ "show": [
1876
+ "skill",
1877
+ "show",
1878
+ "--no-record",
1879
+ "--json"
1880
+ ]
1881
+ },
1882
+ "mcpServer": {
1883
+ "start": [
1884
+ "mcp",
1885
+ "server",
1886
+ "start",
1887
+ "--port",
1888
+ "{port}",
1889
+ "--public-url",
1890
+ "{url}",
1891
+ "--profiles",
1892
+ "all",
1893
+ "--json"
1894
+ ],
1895
+ "stop": [
1896
+ "mcp",
1897
+ "server",
1898
+ "stop",
1899
+ "--profiles",
1900
+ "all",
1901
+ "--json"
1902
+ ],
1903
+ "status": [
1904
+ "mcp",
1905
+ "server",
1906
+ "status",
1907
+ "--profiles",
1908
+ "all",
1909
+ "--no-record",
1910
+ "--json"
1911
+ ],
1912
+ "revoke": [
1913
+ "mcp",
1914
+ "revoke",
1915
+ "--profiles",
1916
+ "all",
1917
+ "--json"
1918
+ ],
1919
+ "config": [
1920
+ "mcp",
1921
+ "config",
1922
+ "--profiles",
1923
+ "all",
1924
+ "--no-record",
1925
+ "--json"
1926
+ ]
1927
+ },
1928
+ "tasks": null,
1929
+ "sync": {
1930
+ "run": [
1931
+ "{profile}",
1932
+ "sync",
1933
+ "--record",
1934
+ "--json"
1935
+ ],
1936
+ "last": [
1937
+ "runs",
1938
+ "list",
1939
+ "command:sync",
1940
+ "status:success",
1941
+ "--limit",
1942
+ "50",
1943
+ "--no-record",
1944
+ "--json"
1945
+ ],
1946
+ "lastShape": "runs",
1947
+ "what": "Notion pages and database rows",
1948
+ "note": null
1949
+ },
1950
+ "storeInfo": null,
1951
+ "storeTables": null,
1952
+ "storeTableSizes": null,
1953
+ "storeCheck": null,
1954
+ "storeBackup": null,
1955
+ "storeBackupEncrypted": null,
1956
+ "storeResetPreview": null,
1957
+ "storeReset": null,
1958
+ "storage": {
1959
+ "app": "notion-cli",
1960
+ "env": "WCNOTION"
1961
+ },
1962
+ "settings": null
1963
+ }
1964
+ }