@imbue-ai/detent 1.15.1 → 1.15.2
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.
- package/README.md +12 -0
- package/dist/src/schemas/generatedBuiltinSchemas.d.ts.map +1 -1
- package/dist/src/schemas/generatedBuiltinSchemas.js +551 -7
- package/dist/src/schemas/generatedBuiltinSchemas.js.map +1 -1
- package/dist/tests/builtinSchemas.test.js +91 -0
- package/dist/tests/builtinSchemas.test.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -169,6 +169,12 @@ In the Detent config, schemas are identified by names, like this:
|
|
|
169
169
|
}
|
|
170
170
|
```
|
|
171
171
|
|
|
172
|
+
Note how the `github-api` schema only matches the domain,
|
|
173
|
+
while the `github-read-issues-detent` doesn't match the domain.
|
|
174
|
+
They are supposed to be used as scopes and permissions respectively in
|
|
175
|
+
[permission rules](#permission-rules),
|
|
176
|
+
but they live in the same flat namespace.
|
|
177
|
+
|
|
172
178
|
For a complete example config that defines custom schemas, see
|
|
173
179
|
[docs/example-cloudflare.json](docs/example-cloudflare.json).
|
|
174
180
|
|
|
@@ -257,6 +263,12 @@ This is the meaning of the rules in the example above:
|
|
|
257
263
|
- When accessing the Slack API, only read actions are allowed.
|
|
258
264
|
- No other requests are allowed.
|
|
259
265
|
|
|
266
|
+
Note that the scopes and permissions come from the same flat namespace of
|
|
267
|
+
[request schema](#request-schemas).
|
|
268
|
+
A typical rule uses a schema that only matches the domain as the scope and a
|
|
269
|
+
list of schemas that don't match the domain as the permissions,
|
|
270
|
+
but that's purely a usage pattern.
|
|
271
|
+
|
|
260
272
|
### Rule resolution, default outcomes
|
|
261
273
|
|
|
262
274
|
When a request gets checked, the rules in your config are simply
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatedBuiltinSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/generatedBuiltinSchemas.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"generatedBuiltinSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/generatedBuiltinSchemas.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAk3R5E,CAAC"}
|
|
@@ -4919,7 +4919,7 @@ export const generatedBuiltinSchemas = {
|
|
|
4919
4919
|
]
|
|
4920
4920
|
},
|
|
4921
4921
|
"notion-mcp-read-all": {
|
|
4922
|
-
"$comment": "Run any read-only Notion MCP tool (search, fetch, queries,
|
|
4922
|
+
"$comment": "Run any read-only Notion MCP tool (search, fetch, queries, page lists, skills, attachments, comments, teams, users, agent sessions) plus the MCP session handshake.",
|
|
4923
4923
|
"properties": {
|
|
4924
4924
|
"method": {
|
|
4925
4925
|
"const": "POST"
|
|
@@ -4969,12 +4969,35 @@ export const generatedBuiltinSchemas = {
|
|
|
4969
4969
|
"name": {
|
|
4970
4970
|
"enum": [
|
|
4971
4971
|
"notion-search",
|
|
4972
|
+
"notion-ai-search",
|
|
4972
4973
|
"notion-fetch",
|
|
4973
4974
|
"notion-query-data-sources",
|
|
4975
|
+
"notion-query-multiple-data-sources",
|
|
4974
4976
|
"notion-query-database-view",
|
|
4977
|
+
"notion-query-meeting-notes",
|
|
4978
|
+
"notion-list-recent-pages",
|
|
4979
|
+
"notion-list-private-pages",
|
|
4980
|
+
"notion-list-favorite-pages",
|
|
4981
|
+
"notion-list-shared-pages",
|
|
4975
4982
|
"notion-get-comments",
|
|
4976
4983
|
"notion-get-teams",
|
|
4977
|
-
"notion-get-
|
|
4984
|
+
"notion-get-users",
|
|
4985
|
+
"notion-get-user",
|
|
4986
|
+
"notion-get-self",
|
|
4987
|
+
"notion-get-async-task",
|
|
4988
|
+
"notion-search-skills",
|
|
4989
|
+
"notion-download-skill",
|
|
4990
|
+
"notion-download-attachment",
|
|
4991
|
+
"notion-list-agents",
|
|
4992
|
+
"notion-search-agents",
|
|
4993
|
+
"notion-query-sessions",
|
|
4994
|
+
"notion-search-sessions",
|
|
4995
|
+
"notion-get-session-status",
|
|
4996
|
+
"notion-wait-session",
|
|
4997
|
+
"notion-list-session-events",
|
|
4998
|
+
"notion-read-session-event",
|
|
4999
|
+
"notion-check-mcp-next-steps",
|
|
5000
|
+
"notion-show-advanced-analysis-next-steps"
|
|
4978
5001
|
]
|
|
4979
5002
|
}
|
|
4980
5003
|
},
|
|
@@ -4998,7 +5021,7 @@ export const generatedBuiltinSchemas = {
|
|
|
4998
5021
|
]
|
|
4999
5022
|
},
|
|
5000
5023
|
"notion-mcp-write-all": {
|
|
5001
|
-
"$comment": "Run any Notion MCP tool that creates or modifies content (create/update pages, databases, views, data sources, comments; move/duplicate pages) plus the MCP session handshake.",
|
|
5024
|
+
"$comment": "Run any Notion MCP tool that creates or modifies content (create/update pages, databases, views, data sources, folders, attachments, comments; move/duplicate pages; drive agent sessions) plus the MCP session handshake.",
|
|
5002
5025
|
"properties": {
|
|
5003
5026
|
"method": {
|
|
5004
5027
|
"const": "POST"
|
|
@@ -5051,11 +5074,19 @@ export const generatedBuiltinSchemas = {
|
|
|
5051
5074
|
"notion-update-page",
|
|
5052
5075
|
"notion-move-pages",
|
|
5053
5076
|
"notion-duplicate-page",
|
|
5077
|
+
"notion-convert-page-to-skill",
|
|
5078
|
+
"notion-create-file-upload",
|
|
5079
|
+
"notion-create-attachment",
|
|
5054
5080
|
"notion-create-database",
|
|
5081
|
+
"notion-create-folder",
|
|
5082
|
+
"notion-update-folder",
|
|
5055
5083
|
"notion-update-data-source",
|
|
5056
5084
|
"notion-create-view",
|
|
5057
5085
|
"notion-update-view",
|
|
5058
|
-
"notion-create-comment"
|
|
5086
|
+
"notion-create-comment",
|
|
5087
|
+
"notion-spawn-session",
|
|
5088
|
+
"notion-stop-session",
|
|
5089
|
+
"notion-send-message-to-session"
|
|
5059
5090
|
]
|
|
5060
5091
|
}
|
|
5061
5092
|
},
|
|
@@ -5118,8 +5149,48 @@ export const generatedBuiltinSchemas = {
|
|
|
5118
5149
|
"parsedBody"
|
|
5119
5150
|
]
|
|
5120
5151
|
},
|
|
5152
|
+
"notion-mcp-ai-search": {
|
|
5153
|
+
"$comment": "Ask a natural-language question across Notion and connected sources such as Slack, Mail, Calendar, Google Drive, and Jira.",
|
|
5154
|
+
"properties": {
|
|
5155
|
+
"method": {
|
|
5156
|
+
"const": "POST"
|
|
5157
|
+
},
|
|
5158
|
+
"path": {
|
|
5159
|
+
"type": "string",
|
|
5160
|
+
"pattern": "^/mcp/?$"
|
|
5161
|
+
},
|
|
5162
|
+
"parsedBody": {
|
|
5163
|
+
"type": "object",
|
|
5164
|
+
"properties": {
|
|
5165
|
+
"method": {
|
|
5166
|
+
"const": "tools/call"
|
|
5167
|
+
},
|
|
5168
|
+
"params": {
|
|
5169
|
+
"type": "object",
|
|
5170
|
+
"properties": {
|
|
5171
|
+
"name": {
|
|
5172
|
+
"const": "notion-ai-search"
|
|
5173
|
+
}
|
|
5174
|
+
},
|
|
5175
|
+
"required": [
|
|
5176
|
+
"name"
|
|
5177
|
+
]
|
|
5178
|
+
}
|
|
5179
|
+
},
|
|
5180
|
+
"required": [
|
|
5181
|
+
"method",
|
|
5182
|
+
"params"
|
|
5183
|
+
]
|
|
5184
|
+
}
|
|
5185
|
+
},
|
|
5186
|
+
"required": [
|
|
5187
|
+
"method",
|
|
5188
|
+
"path",
|
|
5189
|
+
"parsedBody"
|
|
5190
|
+
]
|
|
5191
|
+
},
|
|
5121
5192
|
"notion-mcp-fetch": {
|
|
5122
|
-
"$comment": "Retrieve the content of a Notion page, database,
|
|
5193
|
+
"$comment": "Retrieve the content of a Notion page, database, data source, or view by URL or ID.",
|
|
5123
5194
|
"properties": {
|
|
5124
5195
|
"method": {
|
|
5125
5196
|
"const": "POST"
|
|
@@ -5159,7 +5230,7 @@ export const generatedBuiltinSchemas = {
|
|
|
5159
5230
|
]
|
|
5160
5231
|
},
|
|
5161
5232
|
"notion-mcp-query-data-sources": {
|
|
5162
|
-
"$comment": "Query across one or more Notion data sources with filters, grouping, and summaries.",
|
|
5233
|
+
"$comment": "Query across one or more Notion data sources with filters, grouping, and summaries (the notion-query-data-sources and notion-query-multiple-data-sources tools).",
|
|
5163
5234
|
"properties": {
|
|
5164
5235
|
"method": {
|
|
5165
5236
|
"const": "POST"
|
|
@@ -5178,7 +5249,10 @@ export const generatedBuiltinSchemas = {
|
|
|
5178
5249
|
"type": "object",
|
|
5179
5250
|
"properties": {
|
|
5180
5251
|
"name": {
|
|
5181
|
-
"
|
|
5252
|
+
"enum": [
|
|
5253
|
+
"notion-query-data-sources",
|
|
5254
|
+
"notion-query-multiple-data-sources"
|
|
5255
|
+
]
|
|
5182
5256
|
}
|
|
5183
5257
|
},
|
|
5184
5258
|
"required": [
|
|
@@ -5238,6 +5312,91 @@ export const generatedBuiltinSchemas = {
|
|
|
5238
5312
|
"parsedBody"
|
|
5239
5313
|
]
|
|
5240
5314
|
},
|
|
5315
|
+
"notion-mcp-query-meeting-notes": {
|
|
5316
|
+
"$comment": "Look through the current user's meeting notes, filtered by title, attendees, or date.",
|
|
5317
|
+
"properties": {
|
|
5318
|
+
"method": {
|
|
5319
|
+
"const": "POST"
|
|
5320
|
+
},
|
|
5321
|
+
"path": {
|
|
5322
|
+
"type": "string",
|
|
5323
|
+
"pattern": "^/mcp/?$"
|
|
5324
|
+
},
|
|
5325
|
+
"parsedBody": {
|
|
5326
|
+
"type": "object",
|
|
5327
|
+
"properties": {
|
|
5328
|
+
"method": {
|
|
5329
|
+
"const": "tools/call"
|
|
5330
|
+
},
|
|
5331
|
+
"params": {
|
|
5332
|
+
"type": "object",
|
|
5333
|
+
"properties": {
|
|
5334
|
+
"name": {
|
|
5335
|
+
"const": "notion-query-meeting-notes"
|
|
5336
|
+
}
|
|
5337
|
+
},
|
|
5338
|
+
"required": [
|
|
5339
|
+
"name"
|
|
5340
|
+
]
|
|
5341
|
+
}
|
|
5342
|
+
},
|
|
5343
|
+
"required": [
|
|
5344
|
+
"method",
|
|
5345
|
+
"params"
|
|
5346
|
+
]
|
|
5347
|
+
}
|
|
5348
|
+
},
|
|
5349
|
+
"required": [
|
|
5350
|
+
"method",
|
|
5351
|
+
"path",
|
|
5352
|
+
"parsedBody"
|
|
5353
|
+
]
|
|
5354
|
+
},
|
|
5355
|
+
"notion-mcp-list-pages": {
|
|
5356
|
+
"$comment": "List the current user's pages by relationship: recently visited, private, favorited, or shared. These tools are live on Notion's hosted MCP server but absent from its published tool list.",
|
|
5357
|
+
"properties": {
|
|
5358
|
+
"method": {
|
|
5359
|
+
"const": "POST"
|
|
5360
|
+
},
|
|
5361
|
+
"path": {
|
|
5362
|
+
"type": "string",
|
|
5363
|
+
"pattern": "^/mcp/?$"
|
|
5364
|
+
},
|
|
5365
|
+
"parsedBody": {
|
|
5366
|
+
"type": "object",
|
|
5367
|
+
"properties": {
|
|
5368
|
+
"method": {
|
|
5369
|
+
"const": "tools/call"
|
|
5370
|
+
},
|
|
5371
|
+
"params": {
|
|
5372
|
+
"type": "object",
|
|
5373
|
+
"properties": {
|
|
5374
|
+
"name": {
|
|
5375
|
+
"enum": [
|
|
5376
|
+
"notion-list-recent-pages",
|
|
5377
|
+
"notion-list-private-pages",
|
|
5378
|
+
"notion-list-favorite-pages",
|
|
5379
|
+
"notion-list-shared-pages"
|
|
5380
|
+
]
|
|
5381
|
+
}
|
|
5382
|
+
},
|
|
5383
|
+
"required": [
|
|
5384
|
+
"name"
|
|
5385
|
+
]
|
|
5386
|
+
}
|
|
5387
|
+
},
|
|
5388
|
+
"required": [
|
|
5389
|
+
"method",
|
|
5390
|
+
"params"
|
|
5391
|
+
]
|
|
5392
|
+
}
|
|
5393
|
+
},
|
|
5394
|
+
"required": [
|
|
5395
|
+
"method",
|
|
5396
|
+
"path",
|
|
5397
|
+
"parsedBody"
|
|
5398
|
+
]
|
|
5399
|
+
},
|
|
5241
5400
|
"notion-mcp-get-comments": {
|
|
5242
5401
|
"$comment": "List comments and discussions on a Notion page.",
|
|
5243
5402
|
"properties": {
|
|
@@ -5401,6 +5560,221 @@ export const generatedBuiltinSchemas = {
|
|
|
5401
5560
|
"parsedBody"
|
|
5402
5561
|
]
|
|
5403
5562
|
},
|
|
5563
|
+
"notion-mcp-get-async-task": {
|
|
5564
|
+
"$comment": "Check the status of a background Notion operation such as a page duplication or a large write.",
|
|
5565
|
+
"properties": {
|
|
5566
|
+
"method": {
|
|
5567
|
+
"const": "POST"
|
|
5568
|
+
},
|
|
5569
|
+
"path": {
|
|
5570
|
+
"type": "string",
|
|
5571
|
+
"pattern": "^/mcp/?$"
|
|
5572
|
+
},
|
|
5573
|
+
"parsedBody": {
|
|
5574
|
+
"type": "object",
|
|
5575
|
+
"properties": {
|
|
5576
|
+
"method": {
|
|
5577
|
+
"const": "tools/call"
|
|
5578
|
+
},
|
|
5579
|
+
"params": {
|
|
5580
|
+
"type": "object",
|
|
5581
|
+
"properties": {
|
|
5582
|
+
"name": {
|
|
5583
|
+
"const": "notion-get-async-task"
|
|
5584
|
+
}
|
|
5585
|
+
},
|
|
5586
|
+
"required": [
|
|
5587
|
+
"name"
|
|
5588
|
+
]
|
|
5589
|
+
}
|
|
5590
|
+
},
|
|
5591
|
+
"required": [
|
|
5592
|
+
"method",
|
|
5593
|
+
"params"
|
|
5594
|
+
]
|
|
5595
|
+
}
|
|
5596
|
+
},
|
|
5597
|
+
"required": [
|
|
5598
|
+
"method",
|
|
5599
|
+
"path",
|
|
5600
|
+
"parsedBody"
|
|
5601
|
+
]
|
|
5602
|
+
},
|
|
5603
|
+
"notion-mcp-read-skills": {
|
|
5604
|
+
"$comment": "Find Notion Skills by name or task description and download a Skill archive.",
|
|
5605
|
+
"properties": {
|
|
5606
|
+
"method": {
|
|
5607
|
+
"const": "POST"
|
|
5608
|
+
},
|
|
5609
|
+
"path": {
|
|
5610
|
+
"type": "string",
|
|
5611
|
+
"pattern": "^/mcp/?$"
|
|
5612
|
+
},
|
|
5613
|
+
"parsedBody": {
|
|
5614
|
+
"type": "object",
|
|
5615
|
+
"properties": {
|
|
5616
|
+
"method": {
|
|
5617
|
+
"const": "tools/call"
|
|
5618
|
+
},
|
|
5619
|
+
"params": {
|
|
5620
|
+
"type": "object",
|
|
5621
|
+
"properties": {
|
|
5622
|
+
"name": {
|
|
5623
|
+
"enum": [
|
|
5624
|
+
"notion-search-skills",
|
|
5625
|
+
"notion-download-skill"
|
|
5626
|
+
]
|
|
5627
|
+
}
|
|
5628
|
+
},
|
|
5629
|
+
"required": [
|
|
5630
|
+
"name"
|
|
5631
|
+
]
|
|
5632
|
+
}
|
|
5633
|
+
},
|
|
5634
|
+
"required": [
|
|
5635
|
+
"method",
|
|
5636
|
+
"params"
|
|
5637
|
+
]
|
|
5638
|
+
}
|
|
5639
|
+
},
|
|
5640
|
+
"required": [
|
|
5641
|
+
"method",
|
|
5642
|
+
"path",
|
|
5643
|
+
"parsedBody"
|
|
5644
|
+
]
|
|
5645
|
+
},
|
|
5646
|
+
"notion-mcp-read-attachments": {
|
|
5647
|
+
"$comment": "Download the text content of an attachment on a Notion page.",
|
|
5648
|
+
"properties": {
|
|
5649
|
+
"method": {
|
|
5650
|
+
"const": "POST"
|
|
5651
|
+
},
|
|
5652
|
+
"path": {
|
|
5653
|
+
"type": "string",
|
|
5654
|
+
"pattern": "^/mcp/?$"
|
|
5655
|
+
},
|
|
5656
|
+
"parsedBody": {
|
|
5657
|
+
"type": "object",
|
|
5658
|
+
"properties": {
|
|
5659
|
+
"method": {
|
|
5660
|
+
"const": "tools/call"
|
|
5661
|
+
},
|
|
5662
|
+
"params": {
|
|
5663
|
+
"type": "object",
|
|
5664
|
+
"properties": {
|
|
5665
|
+
"name": {
|
|
5666
|
+
"const": "notion-download-attachment"
|
|
5667
|
+
}
|
|
5668
|
+
},
|
|
5669
|
+
"required": [
|
|
5670
|
+
"name"
|
|
5671
|
+
]
|
|
5672
|
+
}
|
|
5673
|
+
},
|
|
5674
|
+
"required": [
|
|
5675
|
+
"method",
|
|
5676
|
+
"params"
|
|
5677
|
+
]
|
|
5678
|
+
}
|
|
5679
|
+
},
|
|
5680
|
+
"required": [
|
|
5681
|
+
"method",
|
|
5682
|
+
"path",
|
|
5683
|
+
"parsedBody"
|
|
5684
|
+
]
|
|
5685
|
+
},
|
|
5686
|
+
"notion-mcp-read-agents": {
|
|
5687
|
+
"$comment": "Browse Notion Custom Agents and inspect their sessions: list and search agents and sessions, poll or wait on session status, and read session events.",
|
|
5688
|
+
"properties": {
|
|
5689
|
+
"method": {
|
|
5690
|
+
"const": "POST"
|
|
5691
|
+
},
|
|
5692
|
+
"path": {
|
|
5693
|
+
"type": "string",
|
|
5694
|
+
"pattern": "^/mcp/?$"
|
|
5695
|
+
},
|
|
5696
|
+
"parsedBody": {
|
|
5697
|
+
"type": "object",
|
|
5698
|
+
"properties": {
|
|
5699
|
+
"method": {
|
|
5700
|
+
"const": "tools/call"
|
|
5701
|
+
},
|
|
5702
|
+
"params": {
|
|
5703
|
+
"type": "object",
|
|
5704
|
+
"properties": {
|
|
5705
|
+
"name": {
|
|
5706
|
+
"enum": [
|
|
5707
|
+
"notion-list-agents",
|
|
5708
|
+
"notion-search-agents",
|
|
5709
|
+
"notion-query-sessions",
|
|
5710
|
+
"notion-search-sessions",
|
|
5711
|
+
"notion-get-session-status",
|
|
5712
|
+
"notion-wait-session",
|
|
5713
|
+
"notion-list-session-events",
|
|
5714
|
+
"notion-read-session-event"
|
|
5715
|
+
]
|
|
5716
|
+
}
|
|
5717
|
+
},
|
|
5718
|
+
"required": [
|
|
5719
|
+
"name"
|
|
5720
|
+
]
|
|
5721
|
+
}
|
|
5722
|
+
},
|
|
5723
|
+
"required": [
|
|
5724
|
+
"method",
|
|
5725
|
+
"params"
|
|
5726
|
+
]
|
|
5727
|
+
}
|
|
5728
|
+
},
|
|
5729
|
+
"required": [
|
|
5730
|
+
"method",
|
|
5731
|
+
"path",
|
|
5732
|
+
"parsedBody"
|
|
5733
|
+
]
|
|
5734
|
+
},
|
|
5735
|
+
"notion-mcp-next-steps": {
|
|
5736
|
+
"$comment": "Ask the MCP server what to do next. These guidance tools are live on Notion's hosted MCP server but absent from its published tool list.",
|
|
5737
|
+
"properties": {
|
|
5738
|
+
"method": {
|
|
5739
|
+
"const": "POST"
|
|
5740
|
+
},
|
|
5741
|
+
"path": {
|
|
5742
|
+
"type": "string",
|
|
5743
|
+
"pattern": "^/mcp/?$"
|
|
5744
|
+
},
|
|
5745
|
+
"parsedBody": {
|
|
5746
|
+
"type": "object",
|
|
5747
|
+
"properties": {
|
|
5748
|
+
"method": {
|
|
5749
|
+
"const": "tools/call"
|
|
5750
|
+
},
|
|
5751
|
+
"params": {
|
|
5752
|
+
"type": "object",
|
|
5753
|
+
"properties": {
|
|
5754
|
+
"name": {
|
|
5755
|
+
"enum": [
|
|
5756
|
+
"notion-check-mcp-next-steps",
|
|
5757
|
+
"notion-show-advanced-analysis-next-steps"
|
|
5758
|
+
]
|
|
5759
|
+
}
|
|
5760
|
+
},
|
|
5761
|
+
"required": [
|
|
5762
|
+
"name"
|
|
5763
|
+
]
|
|
5764
|
+
}
|
|
5765
|
+
},
|
|
5766
|
+
"required": [
|
|
5767
|
+
"method",
|
|
5768
|
+
"params"
|
|
5769
|
+
]
|
|
5770
|
+
}
|
|
5771
|
+
},
|
|
5772
|
+
"required": [
|
|
5773
|
+
"method",
|
|
5774
|
+
"path",
|
|
5775
|
+
"parsedBody"
|
|
5776
|
+
]
|
|
5777
|
+
},
|
|
5404
5778
|
"notion-mcp-create-pages": {
|
|
5405
5779
|
"$comment": "Create one or more Notion pages with properties and content.",
|
|
5406
5780
|
"properties": {
|
|
@@ -5561,6 +5935,89 @@ export const generatedBuiltinSchemas = {
|
|
|
5561
5935
|
"parsedBody"
|
|
5562
5936
|
]
|
|
5563
5937
|
},
|
|
5938
|
+
"notion-mcp-convert-page-to-skill": {
|
|
5939
|
+
"$comment": "Mark an existing Notion page as a Notion Skill.",
|
|
5940
|
+
"properties": {
|
|
5941
|
+
"method": {
|
|
5942
|
+
"const": "POST"
|
|
5943
|
+
},
|
|
5944
|
+
"path": {
|
|
5945
|
+
"type": "string",
|
|
5946
|
+
"pattern": "^/mcp/?$"
|
|
5947
|
+
},
|
|
5948
|
+
"parsedBody": {
|
|
5949
|
+
"type": "object",
|
|
5950
|
+
"properties": {
|
|
5951
|
+
"method": {
|
|
5952
|
+
"const": "tools/call"
|
|
5953
|
+
},
|
|
5954
|
+
"params": {
|
|
5955
|
+
"type": "object",
|
|
5956
|
+
"properties": {
|
|
5957
|
+
"name": {
|
|
5958
|
+
"const": "notion-convert-page-to-skill"
|
|
5959
|
+
}
|
|
5960
|
+
},
|
|
5961
|
+
"required": [
|
|
5962
|
+
"name"
|
|
5963
|
+
]
|
|
5964
|
+
}
|
|
5965
|
+
},
|
|
5966
|
+
"required": [
|
|
5967
|
+
"method",
|
|
5968
|
+
"params"
|
|
5969
|
+
]
|
|
5970
|
+
}
|
|
5971
|
+
},
|
|
5972
|
+
"required": [
|
|
5973
|
+
"method",
|
|
5974
|
+
"path",
|
|
5975
|
+
"parsedBody"
|
|
5976
|
+
]
|
|
5977
|
+
},
|
|
5978
|
+
"notion-mcp-write-attachments": {
|
|
5979
|
+
"$comment": "Upload a file to Notion and attach text, a public URL, or a finished upload to a page.",
|
|
5980
|
+
"properties": {
|
|
5981
|
+
"method": {
|
|
5982
|
+
"const": "POST"
|
|
5983
|
+
},
|
|
5984
|
+
"path": {
|
|
5985
|
+
"type": "string",
|
|
5986
|
+
"pattern": "^/mcp/?$"
|
|
5987
|
+
},
|
|
5988
|
+
"parsedBody": {
|
|
5989
|
+
"type": "object",
|
|
5990
|
+
"properties": {
|
|
5991
|
+
"method": {
|
|
5992
|
+
"const": "tools/call"
|
|
5993
|
+
},
|
|
5994
|
+
"params": {
|
|
5995
|
+
"type": "object",
|
|
5996
|
+
"properties": {
|
|
5997
|
+
"name": {
|
|
5998
|
+
"enum": [
|
|
5999
|
+
"notion-create-file-upload",
|
|
6000
|
+
"notion-create-attachment"
|
|
6001
|
+
]
|
|
6002
|
+
}
|
|
6003
|
+
},
|
|
6004
|
+
"required": [
|
|
6005
|
+
"name"
|
|
6006
|
+
]
|
|
6007
|
+
}
|
|
6008
|
+
},
|
|
6009
|
+
"required": [
|
|
6010
|
+
"method",
|
|
6011
|
+
"params"
|
|
6012
|
+
]
|
|
6013
|
+
}
|
|
6014
|
+
},
|
|
6015
|
+
"required": [
|
|
6016
|
+
"method",
|
|
6017
|
+
"path",
|
|
6018
|
+
"parsedBody"
|
|
6019
|
+
]
|
|
6020
|
+
},
|
|
5564
6021
|
"notion-mcp-create-database": {
|
|
5565
6022
|
"$comment": "Create a new Notion database, data source, and initial view.",
|
|
5566
6023
|
"properties": {
|
|
@@ -5721,6 +6178,49 @@ export const generatedBuiltinSchemas = {
|
|
|
5721
6178
|
"parsedBody"
|
|
5722
6179
|
]
|
|
5723
6180
|
},
|
|
6181
|
+
"notion-mcp-write-folders": {
|
|
6182
|
+
"$comment": "Create a folder under a Notion page or update an existing one.",
|
|
6183
|
+
"properties": {
|
|
6184
|
+
"method": {
|
|
6185
|
+
"const": "POST"
|
|
6186
|
+
},
|
|
6187
|
+
"path": {
|
|
6188
|
+
"type": "string",
|
|
6189
|
+
"pattern": "^/mcp/?$"
|
|
6190
|
+
},
|
|
6191
|
+
"parsedBody": {
|
|
6192
|
+
"type": "object",
|
|
6193
|
+
"properties": {
|
|
6194
|
+
"method": {
|
|
6195
|
+
"const": "tools/call"
|
|
6196
|
+
},
|
|
6197
|
+
"params": {
|
|
6198
|
+
"type": "object",
|
|
6199
|
+
"properties": {
|
|
6200
|
+
"name": {
|
|
6201
|
+
"enum": [
|
|
6202
|
+
"notion-create-folder",
|
|
6203
|
+
"notion-update-folder"
|
|
6204
|
+
]
|
|
6205
|
+
}
|
|
6206
|
+
},
|
|
6207
|
+
"required": [
|
|
6208
|
+
"name"
|
|
6209
|
+
]
|
|
6210
|
+
}
|
|
6211
|
+
},
|
|
6212
|
+
"required": [
|
|
6213
|
+
"method",
|
|
6214
|
+
"params"
|
|
6215
|
+
]
|
|
6216
|
+
}
|
|
6217
|
+
},
|
|
6218
|
+
"required": [
|
|
6219
|
+
"method",
|
|
6220
|
+
"path",
|
|
6221
|
+
"parsedBody"
|
|
6222
|
+
]
|
|
6223
|
+
},
|
|
5724
6224
|
"notion-mcp-create-comment": {
|
|
5725
6225
|
"$comment": "Add a comment to a Notion page or specific block.",
|
|
5726
6226
|
"properties": {
|
|
@@ -5761,6 +6261,50 @@ export const generatedBuiltinSchemas = {
|
|
|
5761
6261
|
"parsedBody"
|
|
5762
6262
|
]
|
|
5763
6263
|
},
|
|
6264
|
+
"notion-mcp-write-agents": {
|
|
6265
|
+
"$comment": "Drive Notion Custom Agent sessions: start a session, send it a message, or stop it.",
|
|
6266
|
+
"properties": {
|
|
6267
|
+
"method": {
|
|
6268
|
+
"const": "POST"
|
|
6269
|
+
},
|
|
6270
|
+
"path": {
|
|
6271
|
+
"type": "string",
|
|
6272
|
+
"pattern": "^/mcp/?$"
|
|
6273
|
+
},
|
|
6274
|
+
"parsedBody": {
|
|
6275
|
+
"type": "object",
|
|
6276
|
+
"properties": {
|
|
6277
|
+
"method": {
|
|
6278
|
+
"const": "tools/call"
|
|
6279
|
+
},
|
|
6280
|
+
"params": {
|
|
6281
|
+
"type": "object",
|
|
6282
|
+
"properties": {
|
|
6283
|
+
"name": {
|
|
6284
|
+
"enum": [
|
|
6285
|
+
"notion-spawn-session",
|
|
6286
|
+
"notion-stop-session",
|
|
6287
|
+
"notion-send-message-to-session"
|
|
6288
|
+
]
|
|
6289
|
+
}
|
|
6290
|
+
},
|
|
6291
|
+
"required": [
|
|
6292
|
+
"name"
|
|
6293
|
+
]
|
|
6294
|
+
}
|
|
6295
|
+
},
|
|
6296
|
+
"required": [
|
|
6297
|
+
"method",
|
|
6298
|
+
"params"
|
|
6299
|
+
]
|
|
6300
|
+
}
|
|
6301
|
+
},
|
|
6302
|
+
"required": [
|
|
6303
|
+
"method",
|
|
6304
|
+
"path",
|
|
6305
|
+
"parsedBody"
|
|
6306
|
+
]
|
|
6307
|
+
},
|
|
5764
6308
|
"notion-api": {
|
|
5765
6309
|
"$comment": "Any request to the Notion API.",
|
|
5766
6310
|
"properties": {
|