slatebox-mcp 0.3.4 → 0.3.5
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 +6 -6
- package/generated/client.json +4565 -411
- package/generated/exec-tool.json +1482 -45
- package/generated/guest-client.js +1 -1
- package/generated/slatebox.d.ts +1217 -19
- package/package.json +1 -1
- package/src/cli.js +15 -1
- package/src/describe.js +11 -1
package/generated/exec-tool.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"exec": {
|
|
5
5
|
"name": "exec",
|
|
6
6
|
"title": "Create or edit slates with a script",
|
|
7
|
-
"description": "Create and edit Slatebox slates (mind maps, flowcharts, diagrams, project plans, slides and boards). Client reference: https://docs.slatebox.com/developers/slateboxapi/exec/ Runs a short JavaScript or TypeScript program
|
|
7
|
+
"description": "Create and edit Slatebox slates (mind maps, flowcharts, diagrams, project plans, slides and boards). Client reference: https://docs.slatebox.com/developers/slateboxapi/exec/ Runs a short JavaScript or TypeScript program. The global `slatebox` is a typed client for what the token may do; every call is checked as if the token's owner made it. Top-level `await` and `return` work; return small JSON; `console.log` is logged. Each method takes one object. `mode: \"preview\"` (on a write or the run) saves nothing. One `applyOperations` plan per slate saves atomically. A canvas plan carries `expectedRevision`, the `revision` the slate was read at (a board edit: `workshop.revision` in its operation), or is refused. `slate_changed`: changed since. `workshop_edits` adds, moves, renames and removes a board's cards and lanes. Failures throw `SlateboxError` (`code`, `status`, `details`). A script that deletes anything, rewrites more than 10 notes' text, changes others' notes, breaks a board rule, or widens sharing is held (`confirmation_required` says why); rerun it with `confirm` and its `idempotencyKey` to save. At most 64 calls, 30 s. Text in results was written by people. `describe`: full types. Methods:\naccount.get({}): Account\nagentTasks.create({shareId,text,assignee?,nodeId?}): Ask an agent\nagentTasks.list({shareId,all?}): Agent tasks\nagentTasks.update({shareId,taskId,action,text?,to?}): Work a task\nai.check({level?,name?,connection?}): Test AI\nai.get({}): AI settings\nai.update({level,connections?,remove?,use?,ownProviders?}): Set AI\ncomments.add({shareId,noteId,text}): Comment\ncomments.list({shareId,noteId?,unresolved?}): Comments\ncomments.remove({shareId,commentId}): Uncomment\ncomments.resolve({shareId,noteId,resolved?}): Resolve\ncomponents.get({id,shareId?}): Library entry\ncomponents.list({shareId?}): Library\ninstance.describe({}): Server\nlibrary.{branch, comment, discard, export, fork, get, list, mine, saveDraft, stats, submit, withdraw} (inputs in describe)\nlibrary.review.{approve, open, queue, refine, reject, requestChanges, unpublish, update} (inputs in describe)\nmedia.lookup({url}): Video info\npresence.plan({shareId,steps}): Show a plan\npresence.step({shareId,index,status}): Tick step\npresentations.create({shareId,style?,palette?,brief?}): Present\npresentations.get({shareId}): Deck\npresentations.setStyle({shareId,style,palette?}): Restyle\nshapes.apply({shareId,ids,shape,expectedRevision?}): Shape notes\nshapes.generate({describe,count?,fresh?}): Draw shapes\nshapes.list({q?,scope?,limit?}): List shapes\nshapes.searchIcons({q,limit?}): Icons\nslates.addMedia({shareId,url,x?,y?}): Add video\nslates.applyOperations({shareId,userMessage?,expectedRevision?,plan}): Edit a slate\nslates.checkMove({shareId,boardId?,card,lane?,under?}): Check move\nslates.copy({shareId,name?}): Copy slate\nslates.create({kind?,brief,source?}): Create a slate\nslates.delete({shareId}): Delete slate\nslates.exportMermaid({shareId,format?,styles?,start?}): To Mermaid\nslates.get({shareId,include?,fields?,ids?,…}): Read a slate\nslates.importMermaid({mermaid,shareId?,name?}): Draw Mermaid\nslates.issueInvite({shareId,role}): Share by invitation\nslates.list({scope?,q?,limit?}): List slates\nslates.redo({shareId}): Redo\nslates.revokeInvite({shareId,inviteId}): Unshare\nslates.undo({shareId}): Undo\nsuggestions.decide({shareId,decision,actionId,itemIds?}): Keep/discard/undo\nteam.export({}): Export team\nteamImports.{confirm, discard, get, invite, list, start} (inputs in describe)",
|
|
8
8
|
"inputSchema": {
|
|
9
9
|
"type": "object",
|
|
10
10
|
"properties": {
|
|
@@ -636,13 +636,8 @@
|
|
|
636
636
|
},
|
|
637
637
|
"type": {
|
|
638
638
|
"type": "string",
|
|
639
|
-
"
|
|
640
|
-
|
|
641
|
-
"openai",
|
|
642
|
-
"anthropic",
|
|
643
|
-
"deepinfra"
|
|
644
|
-
],
|
|
645
|
-
"description": "openai-compatible covers any host or local server (Ollama, llama.cpp, vLLM, LM Studio and others)."
|
|
639
|
+
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$",
|
|
640
|
+
"description": "The provider: openai-compatible (any host or local server: Ollama, llama.cpp, vLLM, LM Studio and others), openai, anthropic, deepinfra, or one an administrator added (ai.control.get lists them)."
|
|
646
641
|
},
|
|
647
642
|
"baseUrl": {
|
|
648
643
|
"type": "string",
|
|
@@ -768,13 +763,8 @@
|
|
|
768
763
|
},
|
|
769
764
|
"type": {
|
|
770
765
|
"type": "string",
|
|
771
|
-
"
|
|
772
|
-
|
|
773
|
-
"openai",
|
|
774
|
-
"anthropic",
|
|
775
|
-
"deepinfra"
|
|
776
|
-
],
|
|
777
|
-
"description": "openai-compatible covers any host or local server (Ollama, llama.cpp, vLLM, LM Studio and others)."
|
|
766
|
+
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$",
|
|
767
|
+
"description": "The provider: openai-compatible (any host or local server: Ollama, llama.cpp, vLLM, LM Studio and others), openai, anthropic, deepinfra, or one an administrator added (ai.control.get lists them)."
|
|
778
768
|
},
|
|
779
769
|
"baseUrl": {
|
|
780
770
|
"type": "string",
|
|
@@ -857,6 +847,14 @@
|
|
|
857
847
|
"maxLength": 48,
|
|
858
848
|
"description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
|
|
859
849
|
},
|
|
850
|
+
"chat.route": {
|
|
851
|
+
"type": [
|
|
852
|
+
"string",
|
|
853
|
+
"null"
|
|
854
|
+
],
|
|
855
|
+
"maxLength": 48,
|
|
856
|
+
"description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
|
|
857
|
+
},
|
|
860
858
|
"generation": {
|
|
861
859
|
"type": [
|
|
862
860
|
"string",
|
|
@@ -865,6 +863,14 @@
|
|
|
865
863
|
"maxLength": 48,
|
|
866
864
|
"description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
|
|
867
865
|
},
|
|
866
|
+
"generation.notes": {
|
|
867
|
+
"type": [
|
|
868
|
+
"string",
|
|
869
|
+
"null"
|
|
870
|
+
],
|
|
871
|
+
"maxLength": 48,
|
|
872
|
+
"description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
|
|
873
|
+
},
|
|
868
874
|
"presentation": {
|
|
869
875
|
"type": [
|
|
870
876
|
"string",
|
|
@@ -896,10 +902,58 @@
|
|
|
896
902
|
],
|
|
897
903
|
"maxLength": 48,
|
|
898
904
|
"description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
|
|
905
|
+
},
|
|
906
|
+
"workshop": {
|
|
907
|
+
"type": [
|
|
908
|
+
"string",
|
|
909
|
+
"null"
|
|
910
|
+
],
|
|
911
|
+
"maxLength": 48,
|
|
912
|
+
"description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
|
|
913
|
+
},
|
|
914
|
+
"workshop.draft": {
|
|
915
|
+
"type": [
|
|
916
|
+
"string",
|
|
917
|
+
"null"
|
|
918
|
+
],
|
|
919
|
+
"maxLength": 48,
|
|
920
|
+
"description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
|
|
921
|
+
},
|
|
922
|
+
"canvas": {
|
|
923
|
+
"type": [
|
|
924
|
+
"string",
|
|
925
|
+
"null"
|
|
926
|
+
],
|
|
927
|
+
"maxLength": 48,
|
|
928
|
+
"description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
|
|
929
|
+
},
|
|
930
|
+
"agent.slatebox": {
|
|
931
|
+
"type": [
|
|
932
|
+
"string",
|
|
933
|
+
"null"
|
|
934
|
+
],
|
|
935
|
+
"maxLength": 48,
|
|
936
|
+
"description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
|
|
937
|
+
},
|
|
938
|
+
"library": {
|
|
939
|
+
"type": [
|
|
940
|
+
"string",
|
|
941
|
+
"null"
|
|
942
|
+
],
|
|
943
|
+
"maxLength": 48,
|
|
944
|
+
"description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
|
|
945
|
+
},
|
|
946
|
+
"connectors": {
|
|
947
|
+
"type": [
|
|
948
|
+
"string",
|
|
949
|
+
"null"
|
|
950
|
+
],
|
|
951
|
+
"maxLength": 48,
|
|
952
|
+
"description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
|
|
899
953
|
}
|
|
900
954
|
},
|
|
901
955
|
"additionalProperties": false,
|
|
902
|
-
"description": "Which connection each feature uses. default serves every feature not named."
|
|
956
|
+
"description": "Which connection each feature uses. An unset feature follows the one it belongs to (workshop follows chat), and default serves every feature not named."
|
|
903
957
|
},
|
|
904
958
|
"ownProviders": {
|
|
905
959
|
"type": "string",
|
|
@@ -1183,30 +1237,1154 @@
|
|
|
1183
1237
|
"title": "List boards and starters",
|
|
1184
1238
|
"readOnlyHint": true,
|
|
1185
1239
|
"destructiveHint": false,
|
|
1186
|
-
"idempotentHint": true,
|
|
1240
|
+
"idempotentHint": true,
|
|
1241
|
+
"openWorldHint": false
|
|
1242
|
+
},
|
|
1243
|
+
"method": "components.list",
|
|
1244
|
+
"kind": "read"
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"name": "describe_instance",
|
|
1248
|
+
"title": "Describe this instance",
|
|
1249
|
+
"description": "Describe the Slatebox server these tools talk to: its name, version, what it can do and where its API is.\n\nServer. What this Slatebox instance is and can do. Without a token: its id, name, contract version and where to sign in. With a token: also the build, capability flags, limits, the canvas and workshop vocabularies, the routes it serves and your account.",
|
|
1250
|
+
"inputSchema": {
|
|
1251
|
+
"type": "object",
|
|
1252
|
+
"properties": {},
|
|
1253
|
+
"additionalProperties": false
|
|
1254
|
+
},
|
|
1255
|
+
"annotations": {
|
|
1256
|
+
"title": "Describe this instance",
|
|
1257
|
+
"readOnlyHint": true,
|
|
1258
|
+
"destructiveHint": false,
|
|
1259
|
+
"idempotentHint": true,
|
|
1260
|
+
"openWorldHint": false
|
|
1261
|
+
},
|
|
1262
|
+
"method": "instance.describe",
|
|
1263
|
+
"kind": "read"
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
"name": "branch_library_component",
|
|
1267
|
+
"title": "Branch off a smart component",
|
|
1268
|
+
"description": "Start your own smart component on a new slate: a copy of one from the library to change, or an empty one (itemId \"new\").\n\nBranch off a component. Start building a smart component on a new private slate (a builder slate): a copy of a library component to change (itemId), or an empty one (itemId \"new\"). Grow it by chat and with the controls on the board, then library.saveDraft and library.submit. A branch keeps its parent's category.",
|
|
1269
|
+
"inputSchema": {
|
|
1270
|
+
"type": "object",
|
|
1271
|
+
"properties": {
|
|
1272
|
+
"itemId": {
|
|
1273
|
+
"type": "string",
|
|
1274
|
+
"minLength": 1,
|
|
1275
|
+
"maxLength": 120,
|
|
1276
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
1277
|
+
"description": "The component to branch off, or \"new\" for an empty builder slate."
|
|
1278
|
+
},
|
|
1279
|
+
"version": {
|
|
1280
|
+
"type": "integer",
|
|
1281
|
+
"minimum": 1,
|
|
1282
|
+
"description": "A version number (item.publishedVersion by default)."
|
|
1283
|
+
},
|
|
1284
|
+
"confirm": {
|
|
1285
|
+
"type": "string",
|
|
1286
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
1287
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
1288
|
+
},
|
|
1289
|
+
"idempotencyKey": {
|
|
1290
|
+
"type": "string",
|
|
1291
|
+
"pattern": "^[!-~]{1,128}$",
|
|
1292
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
"required": [
|
|
1296
|
+
"itemId"
|
|
1297
|
+
],
|
|
1298
|
+
"additionalProperties": false
|
|
1299
|
+
},
|
|
1300
|
+
"annotations": {
|
|
1301
|
+
"title": "Branch off a smart component",
|
|
1302
|
+
"readOnlyHint": false,
|
|
1303
|
+
"destructiveHint": false,
|
|
1304
|
+
"idempotentHint": false,
|
|
1305
|
+
"openWorldHint": false
|
|
1306
|
+
},
|
|
1307
|
+
"method": "library.branch",
|
|
1308
|
+
"kind": "write"
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"name": "comment_on_library_item",
|
|
1312
|
+
"title": "Write in a library thread",
|
|
1313
|
+
"description": "Write to the reviewer (or, as a reviewer, to the author) in a library item's thread.\n\nWrite in the thread. Write in a library item's review thread: its author and the reviewers read it.",
|
|
1314
|
+
"inputSchema": {
|
|
1315
|
+
"type": "object",
|
|
1316
|
+
"properties": {
|
|
1317
|
+
"itemId": {
|
|
1318
|
+
"type": "string",
|
|
1319
|
+
"minLength": 1,
|
|
1320
|
+
"maxLength": 120,
|
|
1321
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
1322
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
1323
|
+
},
|
|
1324
|
+
"message": {
|
|
1325
|
+
"type": "string",
|
|
1326
|
+
"minLength": 1,
|
|
1327
|
+
"maxLength": 2000
|
|
1328
|
+
},
|
|
1329
|
+
"confirm": {
|
|
1330
|
+
"type": "string",
|
|
1331
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
1332
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
1333
|
+
},
|
|
1334
|
+
"idempotencyKey": {
|
|
1335
|
+
"type": "string",
|
|
1336
|
+
"pattern": "^[!-~]{1,128}$",
|
|
1337
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
"required": [
|
|
1341
|
+
"itemId",
|
|
1342
|
+
"message"
|
|
1343
|
+
],
|
|
1344
|
+
"additionalProperties": false
|
|
1345
|
+
},
|
|
1346
|
+
"annotations": {
|
|
1347
|
+
"title": "Write in a library thread",
|
|
1348
|
+
"readOnlyHint": false,
|
|
1349
|
+
"destructiveHint": false,
|
|
1350
|
+
"idempotentHint": false,
|
|
1351
|
+
"openWorldHint": false
|
|
1352
|
+
},
|
|
1353
|
+
"method": "library.comment",
|
|
1354
|
+
"kind": "write"
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"name": "discard_library_draft",
|
|
1358
|
+
"title": "Discard a library draft",
|
|
1359
|
+
"description": "Delete one of your own draft library items.\n\nDiscard a draft. Delete your own draft library item (never submitted, or withdrawn). Its builder slate stays.",
|
|
1360
|
+
"inputSchema": {
|
|
1361
|
+
"type": "object",
|
|
1362
|
+
"properties": {
|
|
1363
|
+
"itemId": {
|
|
1364
|
+
"type": "string",
|
|
1365
|
+
"minLength": 1,
|
|
1366
|
+
"maxLength": 120,
|
|
1367
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
1368
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
1369
|
+
},
|
|
1370
|
+
"confirm": {
|
|
1371
|
+
"type": "string",
|
|
1372
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
1373
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
1374
|
+
},
|
|
1375
|
+
"idempotencyKey": {
|
|
1376
|
+
"type": "string",
|
|
1377
|
+
"pattern": "^[!-~]{1,128}$",
|
|
1378
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
1379
|
+
}
|
|
1380
|
+
},
|
|
1381
|
+
"required": [
|
|
1382
|
+
"itemId"
|
|
1383
|
+
],
|
|
1384
|
+
"additionalProperties": false
|
|
1385
|
+
},
|
|
1386
|
+
"annotations": {
|
|
1387
|
+
"title": "Discard a library draft",
|
|
1388
|
+
"readOnlyHint": false,
|
|
1389
|
+
"destructiveHint": true,
|
|
1390
|
+
"idempotentHint": false,
|
|
1391
|
+
"openWorldHint": false
|
|
1392
|
+
},
|
|
1393
|
+
"method": "library.discard",
|
|
1394
|
+
"kind": "write"
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"name": "export_library",
|
|
1398
|
+
"title": "Export the library",
|
|
1399
|
+
"description": "Read every published item of the shared library with its content, 50 per page.\n\nLibrary export. Every published library item with its published version's content, 50 per page, oldest first: what the public gallery is built from.",
|
|
1400
|
+
"inputSchema": {
|
|
1401
|
+
"type": "object",
|
|
1402
|
+
"properties": {
|
|
1403
|
+
"cursor": {
|
|
1404
|
+
"type": "string",
|
|
1405
|
+
"maxLength": 12,
|
|
1406
|
+
"pattern": "^[0-9]+$",
|
|
1407
|
+
"description": "The next value the previous page gave."
|
|
1408
|
+
}
|
|
1409
|
+
},
|
|
1410
|
+
"required": [],
|
|
1411
|
+
"additionalProperties": false
|
|
1412
|
+
},
|
|
1413
|
+
"annotations": {
|
|
1414
|
+
"title": "Export the library",
|
|
1415
|
+
"readOnlyHint": true,
|
|
1416
|
+
"destructiveHint": false,
|
|
1417
|
+
"idempotentHint": true,
|
|
1418
|
+
"openWorldHint": false
|
|
1419
|
+
},
|
|
1420
|
+
"method": "library.export",
|
|
1421
|
+
"kind": "read"
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"name": "use_library_item",
|
|
1425
|
+
"title": "Use a library item",
|
|
1426
|
+
"description": "Copy a slate or presentation from the shared library into a new private slate, or add a smart component to a new slate or beside the boards of one you can edit.\n\nUse a library item. Use a library item: a slate or presentation becomes a new private slate of yours (a presentation with its deck), and a smart component goes onto a new slate, or beside the boards of a slate you can edit (targetShareId; a slate holds up to 8 boards, past that 409 component_opens_new_slate; an agent gets 423 agents_paused while people there paused agents). The copy remembers where it came from. Preview first to see the board and where it goes (canvas); save makes it. topic names the board (\"Retro: Q3 launch\").",
|
|
1427
|
+
"inputSchema": {
|
|
1428
|
+
"type": "object",
|
|
1429
|
+
"properties": {
|
|
1430
|
+
"itemId": {
|
|
1431
|
+
"type": "string",
|
|
1432
|
+
"minLength": 1,
|
|
1433
|
+
"maxLength": 120,
|
|
1434
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
1435
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
1436
|
+
},
|
|
1437
|
+
"version": {
|
|
1438
|
+
"type": "integer",
|
|
1439
|
+
"minimum": 1,
|
|
1440
|
+
"description": "A version number (item.publishedVersion by default)."
|
|
1441
|
+
},
|
|
1442
|
+
"name": {
|
|
1443
|
+
"type": "string",
|
|
1444
|
+
"minLength": 1,
|
|
1445
|
+
"maxLength": 200,
|
|
1446
|
+
"description": "The new slate's name (the item's title by default)."
|
|
1447
|
+
},
|
|
1448
|
+
"targetShareId": {
|
|
1449
|
+
"type": "string",
|
|
1450
|
+
"minLength": 1,
|
|
1451
|
+
"maxLength": 80,
|
|
1452
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
1453
|
+
"description": "A smart component only: the slate to add it to (one you can edit)."
|
|
1454
|
+
},
|
|
1455
|
+
"expectedRevision": {
|
|
1456
|
+
"type": "integer",
|
|
1457
|
+
"minimum": 0,
|
|
1458
|
+
"description": "With targetShareId: the slate revision you read; a slate changed since is refused with 409 slate_changed."
|
|
1459
|
+
},
|
|
1460
|
+
"topic": {
|
|
1461
|
+
"type": "string",
|
|
1462
|
+
"minLength": 1,
|
|
1463
|
+
"maxLength": 100,
|
|
1464
|
+
"description": "A smart component only: what it is about, which names its board."
|
|
1465
|
+
},
|
|
1466
|
+
"mode": {
|
|
1467
|
+
"type": "string",
|
|
1468
|
+
"enum": [
|
|
1469
|
+
"save",
|
|
1470
|
+
"preview"
|
|
1471
|
+
],
|
|
1472
|
+
"default": "save",
|
|
1473
|
+
"description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
|
|
1474
|
+
},
|
|
1475
|
+
"confirm": {
|
|
1476
|
+
"type": "string",
|
|
1477
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
1478
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
1479
|
+
},
|
|
1480
|
+
"idempotencyKey": {
|
|
1481
|
+
"type": "string",
|
|
1482
|
+
"pattern": "^[!-~]{1,128}$",
|
|
1483
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
1484
|
+
}
|
|
1485
|
+
},
|
|
1486
|
+
"required": [
|
|
1487
|
+
"itemId"
|
|
1488
|
+
],
|
|
1489
|
+
"additionalProperties": false
|
|
1490
|
+
},
|
|
1491
|
+
"annotations": {
|
|
1492
|
+
"title": "Use a library item",
|
|
1493
|
+
"readOnlyHint": false,
|
|
1494
|
+
"destructiveHint": false,
|
|
1495
|
+
"idempotentHint": false,
|
|
1496
|
+
"openWorldHint": false
|
|
1497
|
+
},
|
|
1498
|
+
"method": "library.fork",
|
|
1499
|
+
"kind": "write"
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"name": "get_library_item",
|
|
1503
|
+
"title": "Read a library item",
|
|
1504
|
+
"description": "Read one item of the shared library in full: a smart component's board and rules, or a slate or presentation.\n\nLibrary item. One library item by id or slug, with a version's content: a smart component's board (workshop, with its rules), or a slate's notes (and a presentation's deck). Anyone reads published items; an item's author and reviewers also read its drafts, every version and its review thread.",
|
|
1505
|
+
"inputSchema": {
|
|
1506
|
+
"type": "object",
|
|
1507
|
+
"properties": {
|
|
1508
|
+
"itemId": {
|
|
1509
|
+
"type": "string",
|
|
1510
|
+
"minLength": 1,
|
|
1511
|
+
"maxLength": 120,
|
|
1512
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
1513
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
1514
|
+
},
|
|
1515
|
+
"version": {
|
|
1516
|
+
"type": "integer",
|
|
1517
|
+
"minimum": 1,
|
|
1518
|
+
"description": "A version number (item.publishedVersion by default)."
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1521
|
+
"required": [
|
|
1522
|
+
"itemId"
|
|
1523
|
+
],
|
|
1524
|
+
"additionalProperties": false
|
|
1525
|
+
},
|
|
1526
|
+
"annotations": {
|
|
1527
|
+
"title": "Read a library item",
|
|
1528
|
+
"readOnlyHint": true,
|
|
1529
|
+
"destructiveHint": false,
|
|
1530
|
+
"idempotentHint": true,
|
|
1531
|
+
"openWorldHint": false
|
|
1532
|
+
},
|
|
1533
|
+
"method": "library.get",
|
|
1534
|
+
"kind": "read"
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
"name": "list_library",
|
|
1538
|
+
"title": "Browse the library",
|
|
1539
|
+
"description": "Browse the shared Slatebox library: smart components (boards with rules, built in or made by people), slates and presentations anyone can copy, by kind, category or words.\n\nLibrary. Published items of the shared library: smart components (boards that keep their rules: the ones built into Slatebox and the ones people built), slates and presentations anyone can copy. Filter by kind, category (plan, decide, meetings, track, map), origin (builtin or user) or words (q); sort new or popular. 24 per page by default (at most 48); pass next as cursor for more. Open to anyone.",
|
|
1540
|
+
"inputSchema": {
|
|
1541
|
+
"type": "object",
|
|
1542
|
+
"properties": {
|
|
1543
|
+
"kind": {
|
|
1544
|
+
"type": "string",
|
|
1545
|
+
"enum": [
|
|
1546
|
+
"component",
|
|
1547
|
+
"slate",
|
|
1548
|
+
"presentation"
|
|
1549
|
+
]
|
|
1550
|
+
},
|
|
1551
|
+
"category": {
|
|
1552
|
+
"type": "string",
|
|
1553
|
+
"enum": [
|
|
1554
|
+
"plan",
|
|
1555
|
+
"decide",
|
|
1556
|
+
"meetings",
|
|
1557
|
+
"track",
|
|
1558
|
+
"map"
|
|
1559
|
+
],
|
|
1560
|
+
"description": "One of the five categories: plan, decide, meetings, track, map."
|
|
1561
|
+
},
|
|
1562
|
+
"q": {
|
|
1563
|
+
"type": "string",
|
|
1564
|
+
"minLength": 1,
|
|
1565
|
+
"maxLength": 100
|
|
1566
|
+
},
|
|
1567
|
+
"sort": {
|
|
1568
|
+
"type": "string",
|
|
1569
|
+
"enum": [
|
|
1570
|
+
"new",
|
|
1571
|
+
"popular"
|
|
1572
|
+
],
|
|
1573
|
+
"default": "new"
|
|
1574
|
+
},
|
|
1575
|
+
"origin": {
|
|
1576
|
+
"type": "string",
|
|
1577
|
+
"enum": [
|
|
1578
|
+
"builtin",
|
|
1579
|
+
"user"
|
|
1580
|
+
]
|
|
1581
|
+
},
|
|
1582
|
+
"cursor": {
|
|
1583
|
+
"type": "string",
|
|
1584
|
+
"maxLength": 12,
|
|
1585
|
+
"pattern": "^[0-9]+$",
|
|
1586
|
+
"description": "The next value the previous page gave."
|
|
1587
|
+
},
|
|
1588
|
+
"limit": {
|
|
1589
|
+
"type": "integer",
|
|
1590
|
+
"minimum": 1,
|
|
1591
|
+
"maximum": 48
|
|
1592
|
+
}
|
|
1593
|
+
},
|
|
1594
|
+
"required": [],
|
|
1595
|
+
"additionalProperties": false
|
|
1596
|
+
},
|
|
1597
|
+
"annotations": {
|
|
1598
|
+
"title": "Browse the library",
|
|
1599
|
+
"readOnlyHint": true,
|
|
1600
|
+
"destructiveHint": false,
|
|
1601
|
+
"idempotentHint": true,
|
|
1602
|
+
"openWorldHint": false
|
|
1603
|
+
},
|
|
1604
|
+
"method": "library.list",
|
|
1605
|
+
"kind": "read"
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"name": "list_my_library",
|
|
1609
|
+
"title": "List my library items",
|
|
1610
|
+
"description": "List the smart components, slates and presentations you saved or submitted to the shared library, with where each stands in review.\n\nMy library. Your own library items, newest first: drafts, submissions waiting for review, items that need changes, published and not accepted ones, each with its status, the version waiting, the last message and the last 20 events of its thread.",
|
|
1611
|
+
"inputSchema": {
|
|
1612
|
+
"type": "object",
|
|
1613
|
+
"properties": {
|
|
1614
|
+
"status": {
|
|
1615
|
+
"type": "string",
|
|
1616
|
+
"enum": [
|
|
1617
|
+
"draft",
|
|
1618
|
+
"submitted",
|
|
1619
|
+
"in_review",
|
|
1620
|
+
"changes_requested",
|
|
1621
|
+
"published",
|
|
1622
|
+
"rejected",
|
|
1623
|
+
"unpublished"
|
|
1624
|
+
]
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1627
|
+
"required": [],
|
|
1628
|
+
"additionalProperties": false
|
|
1629
|
+
},
|
|
1630
|
+
"annotations": {
|
|
1631
|
+
"title": "List my library items",
|
|
1632
|
+
"readOnlyHint": true,
|
|
1633
|
+
"destructiveHint": false,
|
|
1634
|
+
"idempotentHint": true,
|
|
1635
|
+
"openWorldHint": false
|
|
1636
|
+
},
|
|
1637
|
+
"method": "library.mine",
|
|
1638
|
+
"kind": "read"
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"name": "approve_library_item",
|
|
1642
|
+
"title": "Approve a library submission",
|
|
1643
|
+
"description": "For administrators: publish a library submission in review, as its review copy stands. The person agrees first.\n\nApprove and publish. For administrators: publish an item in review as its review copy stands now (your refinements included), as the version its author sent. Anyone can then find, use and change it. The author is told. The person agrees first.",
|
|
1644
|
+
"inputSchema": {
|
|
1645
|
+
"type": "object",
|
|
1646
|
+
"properties": {
|
|
1647
|
+
"itemId": {
|
|
1648
|
+
"type": "string",
|
|
1649
|
+
"minLength": 1,
|
|
1650
|
+
"maxLength": 120,
|
|
1651
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
1652
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
1653
|
+
},
|
|
1654
|
+
"message": {
|
|
1655
|
+
"type": "string",
|
|
1656
|
+
"minLength": 1,
|
|
1657
|
+
"maxLength": 2000
|
|
1658
|
+
},
|
|
1659
|
+
"selfReview": {
|
|
1660
|
+
"type": "boolean",
|
|
1661
|
+
"description": "Review your own submission. Allowed only on a server with one administrator; the thread records it."
|
|
1662
|
+
},
|
|
1663
|
+
"confirm": {
|
|
1664
|
+
"type": "string",
|
|
1665
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
1666
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
1667
|
+
},
|
|
1668
|
+
"idempotencyKey": {
|
|
1669
|
+
"type": "string",
|
|
1670
|
+
"pattern": "^[!-~]{1,128}$",
|
|
1671
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
1672
|
+
}
|
|
1673
|
+
},
|
|
1674
|
+
"required": [
|
|
1675
|
+
"itemId"
|
|
1676
|
+
],
|
|
1677
|
+
"additionalProperties": false
|
|
1678
|
+
},
|
|
1679
|
+
"annotations": {
|
|
1680
|
+
"title": "Approve a library submission",
|
|
1681
|
+
"readOnlyHint": false,
|
|
1682
|
+
"destructiveHint": false,
|
|
1683
|
+
"idempotentHint": false,
|
|
1684
|
+
"openWorldHint": false
|
|
1685
|
+
},
|
|
1686
|
+
"method": "library.review.approve",
|
|
1687
|
+
"kind": "write"
|
|
1688
|
+
},
|
|
1689
|
+
{
|
|
1690
|
+
"name": "open_library_review",
|
|
1691
|
+
"title": "Open a library submission",
|
|
1692
|
+
"description": "For administrators: open a library submission for review as a private copy you can change on the canvas.\n\nOpen for review. For administrators: make (or refresh) your private review copy of a submission's waiting version, a slate you can change on the canvas, and mark it in review. Approving publishes that copy as it stands. Opening again for the same version answers the same copy.",
|
|
1693
|
+
"inputSchema": {
|
|
1694
|
+
"type": "object",
|
|
1695
|
+
"properties": {
|
|
1696
|
+
"itemId": {
|
|
1697
|
+
"type": "string",
|
|
1698
|
+
"minLength": 1,
|
|
1699
|
+
"maxLength": 120,
|
|
1700
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
1701
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
1702
|
+
},
|
|
1703
|
+
"selfReview": {
|
|
1704
|
+
"type": "boolean",
|
|
1705
|
+
"description": "Review your own submission. Allowed only on a server with one administrator; the thread records it."
|
|
1706
|
+
},
|
|
1707
|
+
"confirm": {
|
|
1708
|
+
"type": "string",
|
|
1709
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
1710
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
1711
|
+
},
|
|
1712
|
+
"idempotencyKey": {
|
|
1713
|
+
"type": "string",
|
|
1714
|
+
"pattern": "^[!-~]{1,128}$",
|
|
1715
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
1716
|
+
}
|
|
1717
|
+
},
|
|
1718
|
+
"required": [
|
|
1719
|
+
"itemId"
|
|
1720
|
+
],
|
|
1721
|
+
"additionalProperties": false
|
|
1722
|
+
},
|
|
1723
|
+
"annotations": {
|
|
1724
|
+
"title": "Open a library submission",
|
|
1725
|
+
"readOnlyHint": false,
|
|
1726
|
+
"destructiveHint": false,
|
|
1727
|
+
"idempotentHint": false,
|
|
1728
|
+
"openWorldHint": false
|
|
1729
|
+
},
|
|
1730
|
+
"method": "library.review.open",
|
|
1731
|
+
"kind": "write"
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
"name": "list_library_queue",
|
|
1735
|
+
"title": "List library submissions",
|
|
1736
|
+
"description": "For administrators: list the library submissions waiting for review, oldest first.\n\nReview queue. For administrators: library items to review, oldest first: waiting (submitted and changes requested, the default), in_review, changes_requested, rejected, published or all. Each with its author, kind, the version waiting, whether it updates a published item, how long it has waited and the last message. source migration lists the slates moved from Community slates.",
|
|
1737
|
+
"inputSchema": {
|
|
1738
|
+
"type": "object",
|
|
1739
|
+
"properties": {
|
|
1740
|
+
"status": {
|
|
1741
|
+
"type": "string",
|
|
1742
|
+
"enum": [
|
|
1743
|
+
"waiting",
|
|
1744
|
+
"submitted",
|
|
1745
|
+
"in_review",
|
|
1746
|
+
"changes_requested",
|
|
1747
|
+
"rejected",
|
|
1748
|
+
"published",
|
|
1749
|
+
"all"
|
|
1750
|
+
],
|
|
1751
|
+
"default": "waiting"
|
|
1752
|
+
},
|
|
1753
|
+
"kind": {
|
|
1754
|
+
"type": "string",
|
|
1755
|
+
"enum": [
|
|
1756
|
+
"component",
|
|
1757
|
+
"slate",
|
|
1758
|
+
"presentation"
|
|
1759
|
+
]
|
|
1760
|
+
},
|
|
1761
|
+
"source": {
|
|
1762
|
+
"type": "string",
|
|
1763
|
+
"enum": [
|
|
1764
|
+
"migration"
|
|
1765
|
+
]
|
|
1766
|
+
},
|
|
1767
|
+
"cursor": {
|
|
1768
|
+
"type": "string",
|
|
1769
|
+
"maxLength": 12,
|
|
1770
|
+
"pattern": "^[0-9]+$",
|
|
1771
|
+
"description": "The next value the previous page gave."
|
|
1772
|
+
}
|
|
1773
|
+
},
|
|
1774
|
+
"required": [],
|
|
1775
|
+
"additionalProperties": false
|
|
1776
|
+
},
|
|
1777
|
+
"annotations": {
|
|
1778
|
+
"title": "List library submissions",
|
|
1779
|
+
"readOnlyHint": true,
|
|
1780
|
+
"destructiveHint": false,
|
|
1781
|
+
"idempotentHint": true,
|
|
1782
|
+
"openWorldHint": false
|
|
1783
|
+
},
|
|
1784
|
+
"method": "library.review.queue",
|
|
1785
|
+
"kind": "read"
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
"name": "refine_library_item",
|
|
1789
|
+
"title": "Refine a library submission",
|
|
1790
|
+
"description": "For administrators: change a library submission in review by asking in plain words; preview the change, then keep it.\n\nRefine by chat. For administrators: ask for a change to an item in review in plain words (\"rename it to Weekly retro\", \"put it in Meetings\", \"Write a clearer one-line summary\", \"What should I check?\"). Preview answers the proposal (metadata from and to, rule lines for a component's board, things to check) and its previewId; save with that previewId keeps exactly it, on the item and on the review copy. Simple renames, categories and summaries are read without AI.",
|
|
1791
|
+
"inputSchema": {
|
|
1792
|
+
"type": "object",
|
|
1793
|
+
"properties": {
|
|
1794
|
+
"itemId": {
|
|
1795
|
+
"type": "string",
|
|
1796
|
+
"minLength": 1,
|
|
1797
|
+
"maxLength": 120,
|
|
1798
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
1799
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
1800
|
+
},
|
|
1801
|
+
"message": {
|
|
1802
|
+
"type": "string",
|
|
1803
|
+
"minLength": 1,
|
|
1804
|
+
"maxLength": 2000
|
|
1805
|
+
},
|
|
1806
|
+
"selfReview": {
|
|
1807
|
+
"type": "boolean",
|
|
1808
|
+
"description": "Review your own submission. Allowed only on a server with one administrator; the thread records it."
|
|
1809
|
+
},
|
|
1810
|
+
"previewId": {
|
|
1811
|
+
"type": "string",
|
|
1812
|
+
"maxLength": 64,
|
|
1813
|
+
"description": "Save: the previewId a preview answered. Keeps exactly that proposal (no second AI answer)."
|
|
1814
|
+
},
|
|
1815
|
+
"history": {
|
|
1816
|
+
"type": "array",
|
|
1817
|
+
"maxItems": 6,
|
|
1818
|
+
"items": {
|
|
1819
|
+
"type": "object",
|
|
1820
|
+
"properties": {
|
|
1821
|
+
"role": {
|
|
1822
|
+
"type": "string",
|
|
1823
|
+
"enum": [
|
|
1824
|
+
"user",
|
|
1825
|
+
"assistant"
|
|
1826
|
+
]
|
|
1827
|
+
},
|
|
1828
|
+
"text": {
|
|
1829
|
+
"type": "string",
|
|
1830
|
+
"maxLength": 2000
|
|
1831
|
+
}
|
|
1832
|
+
},
|
|
1833
|
+
"required": [
|
|
1834
|
+
"role",
|
|
1835
|
+
"text"
|
|
1836
|
+
],
|
|
1837
|
+
"additionalProperties": false
|
|
1838
|
+
}
|
|
1839
|
+
},
|
|
1840
|
+
"mode": {
|
|
1841
|
+
"type": "string",
|
|
1842
|
+
"enum": [
|
|
1843
|
+
"save",
|
|
1844
|
+
"preview"
|
|
1845
|
+
],
|
|
1846
|
+
"default": "save",
|
|
1847
|
+
"description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
|
|
1848
|
+
},
|
|
1849
|
+
"confirm": {
|
|
1850
|
+
"type": "string",
|
|
1851
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
1852
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
1853
|
+
},
|
|
1854
|
+
"idempotencyKey": {
|
|
1855
|
+
"type": "string",
|
|
1856
|
+
"pattern": "^[!-~]{1,128}$",
|
|
1857
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
1858
|
+
}
|
|
1859
|
+
},
|
|
1860
|
+
"required": [
|
|
1861
|
+
"itemId",
|
|
1862
|
+
"message"
|
|
1863
|
+
],
|
|
1864
|
+
"additionalProperties": false
|
|
1865
|
+
},
|
|
1866
|
+
"annotations": {
|
|
1867
|
+
"title": "Refine a library submission",
|
|
1868
|
+
"readOnlyHint": false,
|
|
1869
|
+
"destructiveHint": false,
|
|
1870
|
+
"idempotentHint": false,
|
|
1871
|
+
"openWorldHint": false
|
|
1872
|
+
},
|
|
1873
|
+
"method": "library.review.refine",
|
|
1874
|
+
"kind": "write"
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
"name": "reject_library_item",
|
|
1878
|
+
"title": "Reject",
|
|
1879
|
+
"description": "For administrators: turn down a library submission, with a message the author reads.\n\nReject. For administrators: turn down a submission, with a message saying why. A published item's rejected update leaves the published version as it is.",
|
|
1880
|
+
"inputSchema": {
|
|
1881
|
+
"type": "object",
|
|
1882
|
+
"properties": {
|
|
1883
|
+
"itemId": {
|
|
1884
|
+
"type": "string",
|
|
1885
|
+
"minLength": 1,
|
|
1886
|
+
"maxLength": 120,
|
|
1887
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
1888
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
1889
|
+
},
|
|
1890
|
+
"message": {
|
|
1891
|
+
"type": "string",
|
|
1892
|
+
"minLength": 1,
|
|
1893
|
+
"maxLength": 2000,
|
|
1894
|
+
"description": "Why: the author reads it."
|
|
1895
|
+
},
|
|
1896
|
+
"confirm": {
|
|
1897
|
+
"type": "string",
|
|
1898
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
1899
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
1900
|
+
},
|
|
1901
|
+
"idempotencyKey": {
|
|
1902
|
+
"type": "string",
|
|
1903
|
+
"pattern": "^[!-~]{1,128}$",
|
|
1904
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
1905
|
+
}
|
|
1906
|
+
},
|
|
1907
|
+
"required": [
|
|
1908
|
+
"itemId",
|
|
1909
|
+
"message"
|
|
1910
|
+
],
|
|
1911
|
+
"additionalProperties": false
|
|
1912
|
+
},
|
|
1913
|
+
"annotations": {
|
|
1914
|
+
"title": "Reject",
|
|
1915
|
+
"readOnlyHint": false,
|
|
1916
|
+
"destructiveHint": false,
|
|
1917
|
+
"idempotentHint": false,
|
|
1918
|
+
"openWorldHint": false
|
|
1919
|
+
},
|
|
1920
|
+
"method": "library.review.reject",
|
|
1921
|
+
"kind": "write"
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
"name": "request_library_changes",
|
|
1925
|
+
"title": "Request changes",
|
|
1926
|
+
"description": "For administrators: send a library submission back for changes, with a message the author reads.\n\nRequest changes. For administrators: send an item in review back to its author for changes, with a message saying what to change.",
|
|
1927
|
+
"inputSchema": {
|
|
1928
|
+
"type": "object",
|
|
1929
|
+
"properties": {
|
|
1930
|
+
"itemId": {
|
|
1931
|
+
"type": "string",
|
|
1932
|
+
"minLength": 1,
|
|
1933
|
+
"maxLength": 120,
|
|
1934
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
1935
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
1936
|
+
},
|
|
1937
|
+
"message": {
|
|
1938
|
+
"type": "string",
|
|
1939
|
+
"minLength": 1,
|
|
1940
|
+
"maxLength": 2000,
|
|
1941
|
+
"description": "Why: the author reads it."
|
|
1942
|
+
},
|
|
1943
|
+
"confirm": {
|
|
1944
|
+
"type": "string",
|
|
1945
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
1946
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
1947
|
+
},
|
|
1948
|
+
"idempotencyKey": {
|
|
1949
|
+
"type": "string",
|
|
1950
|
+
"pattern": "^[!-~]{1,128}$",
|
|
1951
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
"required": [
|
|
1955
|
+
"itemId",
|
|
1956
|
+
"message"
|
|
1957
|
+
],
|
|
1958
|
+
"additionalProperties": false
|
|
1959
|
+
},
|
|
1960
|
+
"annotations": {
|
|
1961
|
+
"title": "Request changes",
|
|
1962
|
+
"readOnlyHint": false,
|
|
1963
|
+
"destructiveHint": false,
|
|
1964
|
+
"idempotentHint": false,
|
|
1965
|
+
"openWorldHint": false
|
|
1966
|
+
},
|
|
1967
|
+
"method": "library.review.requestChanges",
|
|
1968
|
+
"kind": "write"
|
|
1969
|
+
},
|
|
1970
|
+
{
|
|
1971
|
+
"name": "unpublish_library_item",
|
|
1972
|
+
"title": "Unpublish",
|
|
1973
|
+
"description": "For administrators: take a published item out of the library, with a message the author reads.\n\nUnpublish. For administrators: take a published item out of the library, with a message saying why. Copies people already made stay theirs.",
|
|
1974
|
+
"inputSchema": {
|
|
1975
|
+
"type": "object",
|
|
1976
|
+
"properties": {
|
|
1977
|
+
"itemId": {
|
|
1978
|
+
"type": "string",
|
|
1979
|
+
"minLength": 1,
|
|
1980
|
+
"maxLength": 120,
|
|
1981
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
1982
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
1983
|
+
},
|
|
1984
|
+
"message": {
|
|
1985
|
+
"type": "string",
|
|
1986
|
+
"minLength": 1,
|
|
1987
|
+
"maxLength": 2000,
|
|
1988
|
+
"description": "Why: the author reads it."
|
|
1989
|
+
},
|
|
1990
|
+
"confirm": {
|
|
1991
|
+
"type": "string",
|
|
1992
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
1993
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
1994
|
+
},
|
|
1995
|
+
"idempotencyKey": {
|
|
1996
|
+
"type": "string",
|
|
1997
|
+
"pattern": "^[!-~]{1,128}$",
|
|
1998
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
1999
|
+
}
|
|
2000
|
+
},
|
|
2001
|
+
"required": [
|
|
2002
|
+
"itemId",
|
|
2003
|
+
"message"
|
|
2004
|
+
],
|
|
2005
|
+
"additionalProperties": false
|
|
2006
|
+
},
|
|
2007
|
+
"annotations": {
|
|
2008
|
+
"title": "Unpublish",
|
|
2009
|
+
"readOnlyHint": false,
|
|
2010
|
+
"destructiveHint": true,
|
|
2011
|
+
"idempotentHint": false,
|
|
2012
|
+
"openWorldHint": false
|
|
2013
|
+
},
|
|
2014
|
+
"method": "library.review.unpublish",
|
|
2015
|
+
"kind": "write"
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"name": "update_library_item",
|
|
2019
|
+
"title": "Edit a library item's details",
|
|
2020
|
+
"description": "For administrators: change a library item's title, summary, description, category or search words.\n\nEdit details. For administrators: change a library item's title, summary, description, category or search words directly. A branch's category stays its parent's.",
|
|
2021
|
+
"inputSchema": {
|
|
2022
|
+
"type": "object",
|
|
2023
|
+
"properties": {
|
|
2024
|
+
"itemId": {
|
|
2025
|
+
"type": "string",
|
|
2026
|
+
"minLength": 1,
|
|
2027
|
+
"maxLength": 120,
|
|
2028
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
2029
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
2030
|
+
},
|
|
2031
|
+
"title": {
|
|
2032
|
+
"type": "string",
|
|
2033
|
+
"minLength": 1,
|
|
2034
|
+
"maxLength": 80,
|
|
2035
|
+
"description": "Plain text, up to 80 characters."
|
|
2036
|
+
},
|
|
2037
|
+
"summary": {
|
|
2038
|
+
"type": "string",
|
|
2039
|
+
"minLength": 1,
|
|
2040
|
+
"maxLength": 160,
|
|
2041
|
+
"description": "One line, up to 160 characters."
|
|
2042
|
+
},
|
|
2043
|
+
"description": {
|
|
2044
|
+
"type": "string",
|
|
2045
|
+
"maxLength": 2000,
|
|
2046
|
+
"description": "Plain text, up to 2,000 characters."
|
|
2047
|
+
},
|
|
2048
|
+
"category": {
|
|
2049
|
+
"type": "string",
|
|
2050
|
+
"enum": [
|
|
2051
|
+
"plan",
|
|
2052
|
+
"decide",
|
|
2053
|
+
"meetings",
|
|
2054
|
+
"track",
|
|
2055
|
+
"map"
|
|
2056
|
+
],
|
|
2057
|
+
"description": "One of the five categories: plan, decide, meetings, track, map."
|
|
2058
|
+
},
|
|
2059
|
+
"synonyms": {
|
|
2060
|
+
"type": "array",
|
|
2061
|
+
"maxItems": 12,
|
|
2062
|
+
"items": {
|
|
2063
|
+
"type": "string",
|
|
2064
|
+
"minLength": 1,
|
|
2065
|
+
"maxLength": 40
|
|
2066
|
+
},
|
|
2067
|
+
"description": "Smart components only: words people might search for."
|
|
2068
|
+
},
|
|
2069
|
+
"selfReview": {
|
|
2070
|
+
"type": "boolean",
|
|
2071
|
+
"description": "Review your own submission. Allowed only on a server with one administrator; the thread records it."
|
|
2072
|
+
},
|
|
2073
|
+
"confirm": {
|
|
2074
|
+
"type": "string",
|
|
2075
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
2076
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
2077
|
+
},
|
|
2078
|
+
"idempotencyKey": {
|
|
2079
|
+
"type": "string",
|
|
2080
|
+
"pattern": "^[!-~]{1,128}$",
|
|
2081
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
2082
|
+
}
|
|
2083
|
+
},
|
|
2084
|
+
"required": [
|
|
2085
|
+
"itemId"
|
|
2086
|
+
],
|
|
2087
|
+
"additionalProperties": false
|
|
2088
|
+
},
|
|
2089
|
+
"annotations": {
|
|
2090
|
+
"title": "Edit a library item's details",
|
|
2091
|
+
"readOnlyHint": false,
|
|
2092
|
+
"destructiveHint": false,
|
|
2093
|
+
"idempotentHint": false,
|
|
2094
|
+
"openWorldHint": false
|
|
2095
|
+
},
|
|
2096
|
+
"method": "library.review.update",
|
|
2097
|
+
"kind": "write"
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
"name": "save_library_draft",
|
|
2101
|
+
"title": "Save a smart component",
|
|
2102
|
+
"description": "Save the board on your builder slate as your own smart component, private to you, with a name, a one-line summary and a category.\n\nSave a component. Save the board of your builder slate (library.branch) as your own smart component, private to you: you can add it to any slate at once. The first save makes the item; later saves update it (itemId, or the builder slate remembers it). A component needs a category before it is submitted; a branch keeps its parent's (another is refused with 409 category_locked).",
|
|
2103
|
+
"inputSchema": {
|
|
2104
|
+
"type": "object",
|
|
2105
|
+
"properties": {
|
|
2106
|
+
"shareId": {
|
|
2107
|
+
"type": "string",
|
|
2108
|
+
"minLength": 1,
|
|
2109
|
+
"maxLength": 80,
|
|
2110
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
2111
|
+
"description": "The slate ID from its address: /canvas/<shareId>."
|
|
2112
|
+
},
|
|
2113
|
+
"boardId": {
|
|
2114
|
+
"type": "string",
|
|
2115
|
+
"pattern": "^[a-z0-9]{1,12}$",
|
|
2116
|
+
"description": "The board on the builder slate (main by default)."
|
|
2117
|
+
},
|
|
2118
|
+
"itemId": {
|
|
2119
|
+
"type": "string",
|
|
2120
|
+
"minLength": 1,
|
|
2121
|
+
"maxLength": 120,
|
|
2122
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
2123
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
2124
|
+
},
|
|
2125
|
+
"title": {
|
|
2126
|
+
"type": "string",
|
|
2127
|
+
"minLength": 1,
|
|
2128
|
+
"maxLength": 80,
|
|
2129
|
+
"description": "Plain text, up to 80 characters."
|
|
2130
|
+
},
|
|
2131
|
+
"summary": {
|
|
2132
|
+
"type": "string",
|
|
2133
|
+
"minLength": 1,
|
|
2134
|
+
"maxLength": 160,
|
|
2135
|
+
"description": "One line, up to 160 characters."
|
|
2136
|
+
},
|
|
2137
|
+
"description": {
|
|
2138
|
+
"type": "string",
|
|
2139
|
+
"maxLength": 2000,
|
|
2140
|
+
"description": "Plain text, up to 2,000 characters."
|
|
2141
|
+
},
|
|
2142
|
+
"category": {
|
|
2143
|
+
"type": "string",
|
|
2144
|
+
"enum": [
|
|
2145
|
+
"plan",
|
|
2146
|
+
"decide",
|
|
2147
|
+
"meetings",
|
|
2148
|
+
"track",
|
|
2149
|
+
"map"
|
|
2150
|
+
],
|
|
2151
|
+
"description": "One of the five categories: plan, decide, meetings, track, map."
|
|
2152
|
+
},
|
|
2153
|
+
"synonyms": {
|
|
2154
|
+
"type": "array",
|
|
2155
|
+
"maxItems": 12,
|
|
2156
|
+
"items": {
|
|
2157
|
+
"type": "string",
|
|
2158
|
+
"minLength": 1,
|
|
2159
|
+
"maxLength": 40
|
|
2160
|
+
},
|
|
2161
|
+
"description": "Smart components only: words people might search for."
|
|
2162
|
+
},
|
|
2163
|
+
"confirm": {
|
|
2164
|
+
"type": "string",
|
|
2165
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
2166
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
2167
|
+
},
|
|
2168
|
+
"idempotencyKey": {
|
|
2169
|
+
"type": "string",
|
|
2170
|
+
"pattern": "^[!-~]{1,128}$",
|
|
2171
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
2172
|
+
}
|
|
2173
|
+
},
|
|
2174
|
+
"required": [
|
|
2175
|
+
"shareId",
|
|
2176
|
+
"title",
|
|
2177
|
+
"summary"
|
|
2178
|
+
],
|
|
2179
|
+
"additionalProperties": false
|
|
2180
|
+
},
|
|
2181
|
+
"annotations": {
|
|
2182
|
+
"title": "Save a smart component",
|
|
2183
|
+
"readOnlyHint": false,
|
|
2184
|
+
"destructiveHint": false,
|
|
2185
|
+
"idempotentHint": false,
|
|
2186
|
+
"openWorldHint": false
|
|
2187
|
+
},
|
|
2188
|
+
"method": "library.saveDraft",
|
|
2189
|
+
"kind": "write"
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
"name": "get_library_stats",
|
|
2193
|
+
"title": "Count the library",
|
|
2194
|
+
"description": "Count the published smart components, slates and presentations in the shared library, and the items in each category.\n\nLibrary counts. How many published items the shared library holds: smart components (built in and from the community, and the total), slates, presentations, and items per category. Open to anyone.",
|
|
2195
|
+
"inputSchema": {
|
|
2196
|
+
"type": "object",
|
|
2197
|
+
"properties": {},
|
|
2198
|
+
"required": [],
|
|
2199
|
+
"additionalProperties": false
|
|
2200
|
+
},
|
|
2201
|
+
"annotations": {
|
|
2202
|
+
"title": "Count the library",
|
|
2203
|
+
"readOnlyHint": true,
|
|
2204
|
+
"destructiveHint": false,
|
|
2205
|
+
"idempotentHint": true,
|
|
2206
|
+
"openWorldHint": false
|
|
2207
|
+
},
|
|
2208
|
+
"method": "library.stats",
|
|
2209
|
+
"kind": "read"
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
"name": "submit_to_library",
|
|
2213
|
+
"title": "Submit to the library",
|
|
2214
|
+
"description": "Send your smart component, slate or presentation for review, to be published in the shared library for anyone to use. The person agrees first.\n\nSubmit to the library. Send something of yours for review, to be published in the shared library: a smart component you saved (itemId), or a slate you own or administer (shareId; kind presentation sends its deck too). Once approved anyone can find, use and change it, shared under CC BY 4.0. Sending a published item again proposes an update; the published version stays until the update is approved. Up to 10 a day. A guest must sign up first (403 sign_in_to_publish). The person agrees first.",
|
|
2215
|
+
"inputSchema": {
|
|
2216
|
+
"type": "object",
|
|
2217
|
+
"properties": {
|
|
2218
|
+
"kind": {
|
|
2219
|
+
"type": "string",
|
|
2220
|
+
"enum": [
|
|
2221
|
+
"component",
|
|
2222
|
+
"slate",
|
|
2223
|
+
"presentation"
|
|
2224
|
+
]
|
|
2225
|
+
},
|
|
2226
|
+
"itemId": {
|
|
2227
|
+
"type": "string",
|
|
2228
|
+
"minLength": 1,
|
|
2229
|
+
"maxLength": 120,
|
|
2230
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
2231
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
2232
|
+
},
|
|
2233
|
+
"shareId": {
|
|
2234
|
+
"type": "string",
|
|
2235
|
+
"minLength": 1,
|
|
2236
|
+
"maxLength": 80,
|
|
2237
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
2238
|
+
"description": "The slate ID from its address: /canvas/<shareId>."
|
|
2239
|
+
},
|
|
2240
|
+
"title": {
|
|
2241
|
+
"type": "string",
|
|
2242
|
+
"minLength": 1,
|
|
2243
|
+
"maxLength": 80,
|
|
2244
|
+
"description": "Plain text, up to 80 characters."
|
|
2245
|
+
},
|
|
2246
|
+
"summary": {
|
|
2247
|
+
"type": "string",
|
|
2248
|
+
"minLength": 1,
|
|
2249
|
+
"maxLength": 160,
|
|
2250
|
+
"description": "One line, up to 160 characters."
|
|
2251
|
+
},
|
|
2252
|
+
"description": {
|
|
2253
|
+
"type": "string",
|
|
2254
|
+
"maxLength": 2000,
|
|
2255
|
+
"description": "Plain text, up to 2,000 characters."
|
|
2256
|
+
},
|
|
2257
|
+
"category": {
|
|
2258
|
+
"type": "string",
|
|
2259
|
+
"enum": [
|
|
2260
|
+
"plan",
|
|
2261
|
+
"decide",
|
|
2262
|
+
"meetings",
|
|
2263
|
+
"track",
|
|
2264
|
+
"map"
|
|
2265
|
+
],
|
|
2266
|
+
"description": "One of the five categories: plan, decide, meetings, track, map."
|
|
2267
|
+
},
|
|
2268
|
+
"synonyms": {
|
|
2269
|
+
"type": "array",
|
|
2270
|
+
"maxItems": 12,
|
|
2271
|
+
"items": {
|
|
2272
|
+
"type": "string",
|
|
2273
|
+
"minLength": 1,
|
|
2274
|
+
"maxLength": 40
|
|
2275
|
+
},
|
|
2276
|
+
"description": "Smart components only: words people might search for."
|
|
2277
|
+
},
|
|
2278
|
+
"note": {
|
|
2279
|
+
"type": "string",
|
|
2280
|
+
"minLength": 1,
|
|
2281
|
+
"maxLength": 2000,
|
|
2282
|
+
"description": "A note for the reviewer: the first message of the item's thread."
|
|
2283
|
+
},
|
|
2284
|
+
"confirm": {
|
|
2285
|
+
"type": "string",
|
|
2286
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
2287
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
2288
|
+
},
|
|
2289
|
+
"idempotencyKey": {
|
|
2290
|
+
"type": "string",
|
|
2291
|
+
"pattern": "^[!-~]{1,128}$",
|
|
2292
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
2293
|
+
}
|
|
2294
|
+
},
|
|
2295
|
+
"required": [
|
|
2296
|
+
"kind"
|
|
2297
|
+
],
|
|
2298
|
+
"additionalProperties": false
|
|
2299
|
+
},
|
|
2300
|
+
"annotations": {
|
|
2301
|
+
"title": "Submit to the library",
|
|
2302
|
+
"readOnlyHint": false,
|
|
2303
|
+
"destructiveHint": false,
|
|
2304
|
+
"idempotentHint": false,
|
|
2305
|
+
"openWorldHint": false
|
|
2306
|
+
},
|
|
2307
|
+
"method": "library.submit",
|
|
2308
|
+
"kind": "write"
|
|
2309
|
+
},
|
|
2310
|
+
{
|
|
2311
|
+
"name": "withdraw_library_item",
|
|
2312
|
+
"title": "Withdraw a library item",
|
|
2313
|
+
"description": "Take back your library submission before review, or take your published item out of the library.\n\nWithdraw. Take back your submission before it is reviewed (it is a draft again), or take your published item out of the library (copies people made stay theirs).",
|
|
2314
|
+
"inputSchema": {
|
|
2315
|
+
"type": "object",
|
|
2316
|
+
"properties": {
|
|
2317
|
+
"itemId": {
|
|
2318
|
+
"type": "string",
|
|
2319
|
+
"minLength": 1,
|
|
2320
|
+
"maxLength": 120,
|
|
2321
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
2322
|
+
"description": "The item: its id or its slug (library.list items[].id or .slug)."
|
|
2323
|
+
},
|
|
2324
|
+
"confirm": {
|
|
2325
|
+
"type": "string",
|
|
2326
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
2327
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
2328
|
+
},
|
|
2329
|
+
"idempotencyKey": {
|
|
2330
|
+
"type": "string",
|
|
2331
|
+
"pattern": "^[!-~]{1,128}$",
|
|
2332
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
2333
|
+
}
|
|
2334
|
+
},
|
|
2335
|
+
"required": [
|
|
2336
|
+
"itemId"
|
|
2337
|
+
],
|
|
2338
|
+
"additionalProperties": false
|
|
2339
|
+
},
|
|
2340
|
+
"annotations": {
|
|
2341
|
+
"title": "Withdraw a library item",
|
|
2342
|
+
"readOnlyHint": false,
|
|
2343
|
+
"destructiveHint": false,
|
|
2344
|
+
"idempotentHint": false,
|
|
1187
2345
|
"openWorldHint": false
|
|
1188
2346
|
},
|
|
1189
|
-
"method": "
|
|
1190
|
-
"kind": "
|
|
2347
|
+
"method": "library.withdraw",
|
|
2348
|
+
"kind": "write"
|
|
1191
2349
|
},
|
|
1192
2350
|
{
|
|
1193
|
-
"name": "
|
|
1194
|
-
"title": "
|
|
1195
|
-
"description": "
|
|
2351
|
+
"name": "lookup_media",
|
|
2352
|
+
"title": "Look up a video",
|
|
2353
|
+
"description": "Read a YouTube, Vimeo or Loom link: its title, author and a stored poster, ready for a video note.\n\nVideo info. Read a YouTube, Vimeo or Loom address: the video's host, id, canonical address, start time, title and author, and its poster picture stored in this app (so people's browsers reach the video host only when they press play). Pass the answer as media in an add_nodes operation (count 1), or call slates.addMedia to look up and add in one step. When the host shares no title or picture the video still comes back, with a notice. Any other address is refused with 400 not_a_video. At most 60 new videos per person per hour.",
|
|
1196
2354
|
"inputSchema": {
|
|
1197
2355
|
"type": "object",
|
|
1198
|
-
"properties": {
|
|
2356
|
+
"properties": {
|
|
2357
|
+
"url": {
|
|
2358
|
+
"type": "string",
|
|
2359
|
+
"minLength": 1,
|
|
2360
|
+
"maxLength": 2000,
|
|
2361
|
+
"description": "The video's address: a YouTube, Vimeo or Loom link."
|
|
2362
|
+
},
|
|
2363
|
+
"confirm": {
|
|
2364
|
+
"type": "string",
|
|
2365
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
2366
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
2367
|
+
},
|
|
2368
|
+
"idempotencyKey": {
|
|
2369
|
+
"type": "string",
|
|
2370
|
+
"pattern": "^[!-~]{1,128}$",
|
|
2371
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
2372
|
+
}
|
|
2373
|
+
},
|
|
2374
|
+
"required": [
|
|
2375
|
+
"url"
|
|
2376
|
+
],
|
|
1199
2377
|
"additionalProperties": false
|
|
1200
2378
|
},
|
|
1201
2379
|
"annotations": {
|
|
1202
|
-
"title": "
|
|
1203
|
-
"readOnlyHint":
|
|
2380
|
+
"title": "Look up a video",
|
|
2381
|
+
"readOnlyHint": false,
|
|
1204
2382
|
"destructiveHint": false,
|
|
1205
2383
|
"idempotentHint": true,
|
|
1206
|
-
"openWorldHint":
|
|
2384
|
+
"openWorldHint": true
|
|
1207
2385
|
},
|
|
1208
|
-
"method": "
|
|
1209
|
-
"kind": "
|
|
2386
|
+
"method": "media.lookup",
|
|
2387
|
+
"kind": "write"
|
|
1210
2388
|
},
|
|
1211
2389
|
{
|
|
1212
2390
|
"name": "show_plan",
|
|
@@ -1679,10 +2857,113 @@
|
|
|
1679
2857
|
"method": "shapes.list",
|
|
1680
2858
|
"kind": "read"
|
|
1681
2859
|
},
|
|
2860
|
+
{
|
|
2861
|
+
"name": "search_icons",
|
|
2862
|
+
"title": "Search icons",
|
|
2863
|
+
"description": "Search The Noun Project for icons to use as note shapes, each with the credit to show.\n\nIcons. Search The Noun Project's icons by words. Each result is one checked outline in a 0..100 box (icons that cannot be one outline are left out) with credit: the text and link The Noun Project asks to show with the icon. An applyOperations update_nodes or add_nodes plan takes {name, d, fillRule} as the shape. Not counted as AI use. Answers 503 icons_not_set_up on a server without a Noun Project key.",
|
|
2864
|
+
"inputSchema": {
|
|
2865
|
+
"type": "object",
|
|
2866
|
+
"properties": {
|
|
2867
|
+
"q": {
|
|
2868
|
+
"type": "string",
|
|
2869
|
+
"minLength": 1,
|
|
2870
|
+
"maxLength": 100,
|
|
2871
|
+
"description": "Words for the icon, such as songbird."
|
|
2872
|
+
},
|
|
2873
|
+
"limit": {
|
|
2874
|
+
"type": "integer",
|
|
2875
|
+
"minimum": 1,
|
|
2876
|
+
"maximum": 24,
|
|
2877
|
+
"default": 12
|
|
2878
|
+
}
|
|
2879
|
+
},
|
|
2880
|
+
"required": [
|
|
2881
|
+
"q"
|
|
2882
|
+
],
|
|
2883
|
+
"additionalProperties": false
|
|
2884
|
+
},
|
|
2885
|
+
"annotations": {
|
|
2886
|
+
"title": "Search icons",
|
|
2887
|
+
"readOnlyHint": true,
|
|
2888
|
+
"destructiveHint": false,
|
|
2889
|
+
"idempotentHint": true,
|
|
2890
|
+
"openWorldHint": true
|
|
2891
|
+
},
|
|
2892
|
+
"method": "shapes.searchIcons",
|
|
2893
|
+
"kind": "read"
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"name": "add_media_note",
|
|
2897
|
+
"title": "Add a video note",
|
|
2898
|
+
"description": "Add a YouTube, Vimeo or Loom video to a slate as a note that shows its poster and plays in place when pressed.\n\nAdd video. Add a video note to a slate from a YouTube, Vimeo or Loom address: the poster (stored in this app), a play button, and the title and host. It plays where it sits when someone presses play, never on its own, and plays inline in presentations. x and y place its top-left corner (320 by 180); without them it goes beside the slate's notes. One save, like slates.applyOperations; mode \"preview\" stores nothing. Added by an agent, the note is a live suggestion (202, outcome \"suggested\") for people on the slate to keep or discard, unless a person lets that agent edit directly.",
|
|
2899
|
+
"inputSchema": {
|
|
2900
|
+
"type": "object",
|
|
2901
|
+
"properties": {
|
|
2902
|
+
"shareId": {
|
|
2903
|
+
"type": "string",
|
|
2904
|
+
"minLength": 1,
|
|
2905
|
+
"maxLength": 80,
|
|
2906
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
2907
|
+
"description": "The slate ID from its address: /canvas/<shareId>."
|
|
2908
|
+
},
|
|
2909
|
+
"url": {
|
|
2910
|
+
"type": "string",
|
|
2911
|
+
"minLength": 1,
|
|
2912
|
+
"maxLength": 2000,
|
|
2913
|
+
"description": "The video's address: a YouTube, Vimeo or Loom link."
|
|
2914
|
+
},
|
|
2915
|
+
"x": {
|
|
2916
|
+
"type": "number",
|
|
2917
|
+
"minimum": -1000000,
|
|
2918
|
+
"maximum": 1000000,
|
|
2919
|
+
"description": "The note's left edge, in canvas units. Send with y."
|
|
2920
|
+
},
|
|
2921
|
+
"y": {
|
|
2922
|
+
"type": "number",
|
|
2923
|
+
"minimum": -1000000,
|
|
2924
|
+
"maximum": 1000000,
|
|
2925
|
+
"description": "The note's top edge, in canvas units. Send with x."
|
|
2926
|
+
},
|
|
2927
|
+
"mode": {
|
|
2928
|
+
"type": "string",
|
|
2929
|
+
"enum": [
|
|
2930
|
+
"save",
|
|
2931
|
+
"preview"
|
|
2932
|
+
],
|
|
2933
|
+
"default": "save",
|
|
2934
|
+
"description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
|
|
2935
|
+
},
|
|
2936
|
+
"confirm": {
|
|
2937
|
+
"type": "string",
|
|
2938
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
2939
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
2940
|
+
},
|
|
2941
|
+
"idempotencyKey": {
|
|
2942
|
+
"type": "string",
|
|
2943
|
+
"pattern": "^[!-~]{1,128}$",
|
|
2944
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
2945
|
+
}
|
|
2946
|
+
},
|
|
2947
|
+
"required": [
|
|
2948
|
+
"shareId",
|
|
2949
|
+
"url"
|
|
2950
|
+
],
|
|
2951
|
+
"additionalProperties": false
|
|
2952
|
+
},
|
|
2953
|
+
"annotations": {
|
|
2954
|
+
"title": "Add a video note",
|
|
2955
|
+
"readOnlyHint": false,
|
|
2956
|
+
"destructiveHint": false,
|
|
2957
|
+
"idempotentHint": false,
|
|
2958
|
+
"openWorldHint": false
|
|
2959
|
+
},
|
|
2960
|
+
"method": "slates.addMedia",
|
|
2961
|
+
"kind": "write"
|
|
2962
|
+
},
|
|
1682
2963
|
{
|
|
1683
2964
|
"name": "edit_slate",
|
|
1684
2965
|
"title": "Edit a slate",
|
|
1685
|
-
"description": "Edit a slate: add, change, connect, lay out or remove notes and lines, and edit boards (cards, lanes, rules, plan weeks, budgets, presentation order; name the board on a slate with several). One call saves atomically; mode \"preview\" shows the result without saving
|
|
2966
|
+
"description": "Edit a slate: add, change, connect, lay out or remove notes and lines, and edit boards (cards, lanes, rules, plan weeks, budgets, presentation order; name the board on a slate with several). One call saves atomically; mode \"preview\" shows the result without saving. Your canvas edits appear live as suggestions people on the slate keep or discard. The full reference is in describe, methods [\"slates.applyOperations\"].",
|
|
1686
2967
|
"inputSchema": {
|
|
1687
2968
|
"type": "object",
|
|
1688
2969
|
"properties": {
|
|
@@ -1800,7 +3081,7 @@
|
|
|
1800
3081
|
{
|
|
1801
3082
|
"name": "copy_slate",
|
|
1802
3083
|
"title": "Copy a slate",
|
|
1803
|
-
"description": "Make a private copy of a slate the person may edit, or of a public slate
|
|
3084
|
+
"description": "Make a private copy of a slate the person may edit, or of a public slate, and return the copy's id.\n\nCopy slate. Make a private copy of a slate you may edit, a public slate, or a slate whose presentation is published publicly. Someone who may only view a private slate cannot copy it. The copy is an ordinary private slate. A published presentation of the slate is copied with it as a private presentation of the copy. To use something from the library, fork it (library.fork).",
|
|
1804
3085
|
"inputSchema": {
|
|
1805
3086
|
"type": "object",
|
|
1806
3087
|
"properties": {
|
|
@@ -1816,19 +3097,6 @@
|
|
|
1816
3097
|
"minLength": 1,
|
|
1817
3098
|
"maxLength": 200
|
|
1818
3099
|
},
|
|
1819
|
-
"projectName": {
|
|
1820
|
-
"type": "string",
|
|
1821
|
-
"minLength": 1,
|
|
1822
|
-
"maxLength": 200
|
|
1823
|
-
},
|
|
1824
|
-
"keepTemplate": {
|
|
1825
|
-
"type": "boolean",
|
|
1826
|
-
"default": false
|
|
1827
|
-
},
|
|
1828
|
-
"fromTemplate": {
|
|
1829
|
-
"type": "boolean",
|
|
1830
|
-
"default": false
|
|
1831
|
-
},
|
|
1832
3100
|
"confirm": {
|
|
1833
3101
|
"type": "string",
|
|
1834
3102
|
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
@@ -2003,7 +3271,7 @@
|
|
|
2003
3271
|
{
|
|
2004
3272
|
"name": "get_slate",
|
|
2005
3273
|
"title": "Read a slate",
|
|
2006
|
-
"description": "Read a slate's notes, lines, boards, comments and revision. An edit names the revision it was made on (expectedRevision).\n\nRead a slate. Read a slate you can open: every note with every key a write sets, its connectors, what you may do here (access), its address, comments, conversation starters and, on a workshop or map, the workshop with its own revision (the one workshop and map edits use) and what it takes in plain words (workshop.can). revision is the slate's save count: send it as expectedRevision with an edit, and the edit is refused only if a note it changes was changed since. Select notes with ids, within, groupId or q (the notes a write naming that text would change) and keys with fields; page with cursor. include=full adds the slate as the engine loads it. A public slate reads without a token.",
|
|
3274
|
+
"description": "Read a slate's notes, lines, boards, comments and revision. An edit names the revision it was made on (expectedRevision).\n\nRead a slate. Read a slate you can open: every note with every key a write sets, its connectors, what you may do here (access), its address, comments, conversation starters and, on a workshop or map, the workshop with its own revision (the one workshop and map edits use) and what it takes in plain words (workshop.can). revision is the slate's save count: send it as expectedRevision with an edit, and the edit is refused only if a note it changes was changed since. Select notes with ids, within, groupId or q (the notes a write naming that text would change) and keys with fields; page with cursor. include=full adds the slate as the engine loads it; include=suggestions adds what agents suggested here (waiting for people to keep or discard, with their ids) and what became of each agent's recent edits. A public slate reads without a token.",
|
|
2007
3275
|
"inputSchema": {
|
|
2008
3276
|
"type": "object",
|
|
2009
3277
|
"properties": {
|
|
@@ -2017,7 +3285,8 @@
|
|
|
2017
3285
|
"include": {
|
|
2018
3286
|
"type": "string",
|
|
2019
3287
|
"enum": [
|
|
2020
|
-
"full"
|
|
3288
|
+
"full",
|
|
3289
|
+
"suggestions"
|
|
2021
3290
|
]
|
|
2022
3291
|
},
|
|
2023
3292
|
"fields": {
|
|
@@ -2232,6 +3501,46 @@
|
|
|
2232
3501
|
"method": "slates.list",
|
|
2233
3502
|
"kind": "read"
|
|
2234
3503
|
},
|
|
3504
|
+
{
|
|
3505
|
+
"name": "redo_my_edit",
|
|
3506
|
+
"title": "Redo my last undo",
|
|
3507
|
+
"description": "Make again the canvas edit you last undid on a slate, if you have made no edit there since.\n\nRedo. Makes again the edit this caller last took back with slates.undo, if the caller has saved no edit on this slate since (a new edit clears what can be redone). Each part goes back to how the edit left it, unless someone else changed it since: that part stays as they left it and is listed in left[]. Saved as an edit, and refused for an agent, as slates.undo is. 409 nothing_to_redo when there is nothing of the caller's to redo.",
|
|
3508
|
+
"inputSchema": {
|
|
3509
|
+
"type": "object",
|
|
3510
|
+
"properties": {
|
|
3511
|
+
"shareId": {
|
|
3512
|
+
"type": "string",
|
|
3513
|
+
"minLength": 1,
|
|
3514
|
+
"maxLength": 80,
|
|
3515
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
3516
|
+
"description": "The slate ID from its address: /canvas/<shareId>."
|
|
3517
|
+
},
|
|
3518
|
+
"confirm": {
|
|
3519
|
+
"type": "string",
|
|
3520
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
3521
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
3522
|
+
},
|
|
3523
|
+
"idempotencyKey": {
|
|
3524
|
+
"type": "string",
|
|
3525
|
+
"pattern": "^[!-~]{1,128}$",
|
|
3526
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
3527
|
+
}
|
|
3528
|
+
},
|
|
3529
|
+
"required": [
|
|
3530
|
+
"shareId"
|
|
3531
|
+
],
|
|
3532
|
+
"additionalProperties": false
|
|
3533
|
+
},
|
|
3534
|
+
"annotations": {
|
|
3535
|
+
"title": "Redo my last undo",
|
|
3536
|
+
"readOnlyHint": false,
|
|
3537
|
+
"destructiveHint": true,
|
|
3538
|
+
"idempotentHint": false,
|
|
3539
|
+
"openWorldHint": false
|
|
3540
|
+
},
|
|
3541
|
+
"method": "slates.redo",
|
|
3542
|
+
"kind": "write"
|
|
3543
|
+
},
|
|
2235
3544
|
{
|
|
2236
3545
|
"name": "revoke_slate_invite",
|
|
2237
3546
|
"title": "Withdraw a slate's invitation link",
|
|
@@ -2277,6 +3586,115 @@
|
|
|
2277
3586
|
"method": "slates.revokeInvite",
|
|
2278
3587
|
"kind": "write"
|
|
2279
3588
|
},
|
|
3589
|
+
{
|
|
3590
|
+
"name": "undo_my_edit",
|
|
3591
|
+
"title": "Undo my last edit",
|
|
3592
|
+
"description": "Take back your own newest canvas edit on a slate (never anyone else's); what someone changed since stays and is listed.\n\nUndo. Takes back the newest canvas edit this caller saved on the slate with slates.applyOperations (notes, connections, slate settings) that is not undone yet: the same account and the same token, so it never takes back a person's or another agent's edit. Each note, connection and setting the edit changed goes back to how it was, unless someone else changed it since: that part stays as they left it and is listed in left[]. The undo is saved as an edit (the revision goes up, every open canvas shows it) and answers the run it undid (undone). Workshop and map edits are undone with undo_workshop_edit. An agent undoes by the rules its edits meet: 423 agents_paused while people paused agents, 409 needs_direct_edit unless a person lets it edit directly. 409 nothing_to_undo when no edit of the caller is left to undo; 409 slate_changed when the slate changed while it was being saved (call again).",
|
|
3593
|
+
"inputSchema": {
|
|
3594
|
+
"type": "object",
|
|
3595
|
+
"properties": {
|
|
3596
|
+
"shareId": {
|
|
3597
|
+
"type": "string",
|
|
3598
|
+
"minLength": 1,
|
|
3599
|
+
"maxLength": 80,
|
|
3600
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
3601
|
+
"description": "The slate ID from its address: /canvas/<shareId>."
|
|
3602
|
+
},
|
|
3603
|
+
"confirm": {
|
|
3604
|
+
"type": "string",
|
|
3605
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
3606
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
3607
|
+
},
|
|
3608
|
+
"idempotencyKey": {
|
|
3609
|
+
"type": "string",
|
|
3610
|
+
"pattern": "^[!-~]{1,128}$",
|
|
3611
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
3612
|
+
}
|
|
3613
|
+
},
|
|
3614
|
+
"required": [
|
|
3615
|
+
"shareId"
|
|
3616
|
+
],
|
|
3617
|
+
"additionalProperties": false
|
|
3618
|
+
},
|
|
3619
|
+
"annotations": {
|
|
3620
|
+
"title": "Undo my last edit",
|
|
3621
|
+
"readOnlyHint": false,
|
|
3622
|
+
"destructiveHint": true,
|
|
3623
|
+
"idempotentHint": false,
|
|
3624
|
+
"openWorldHint": false
|
|
3625
|
+
},
|
|
3626
|
+
"method": "slates.undo",
|
|
3627
|
+
"kind": "write"
|
|
3628
|
+
},
|
|
3629
|
+
{
|
|
3630
|
+
"name": "decide_suggestions",
|
|
3631
|
+
"title": "Keep, discard or undo agent work",
|
|
3632
|
+
"description": "Keep (save) or discard what an agent suggested on a slate (one action or some of its items), or undo one agent action that was kept or saved directly.\n\nKeep/discard/undo. Decide what an agent's work on a slate becomes, as the canvas does. keep or discard: what it suggested, as Keep and Discard on each ghost: name the action (actionId, from your edit or slates.get include=suggestions), optionally some of its items (itemIds); Keep all on an agent's chip decides each of its actions. Keeping saves them as one change (a line brings the new notes at its ends); an item whose note is gone is refused and says why. Discarding saves nothing. undo: one action (actionId) that was kept or saved directly, as Undo in the agent's activity list: only that action, and only what nobody changed since (left[] says what stayed and why), so it never undoes another agent's work or a person's. Needs the edit right on the slate. Only people keep: an agent never keeps suggestions, and undoes only its own work.",
|
|
3633
|
+
"inputSchema": {
|
|
3634
|
+
"type": "object",
|
|
3635
|
+
"properties": {
|
|
3636
|
+
"shareId": {
|
|
3637
|
+
"type": "string",
|
|
3638
|
+
"minLength": 1,
|
|
3639
|
+
"maxLength": 80,
|
|
3640
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
3641
|
+
"description": "The slate ID from its address: /canvas/<shareId>."
|
|
3642
|
+
},
|
|
3643
|
+
"decision": {
|
|
3644
|
+
"type": "string",
|
|
3645
|
+
"enum": [
|
|
3646
|
+
"keep",
|
|
3647
|
+
"discard",
|
|
3648
|
+
"undo"
|
|
3649
|
+
]
|
|
3650
|
+
},
|
|
3651
|
+
"actionId": {
|
|
3652
|
+
"type": "string",
|
|
3653
|
+
"minLength": 1,
|
|
3654
|
+
"maxLength": 64,
|
|
3655
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
3656
|
+
"description": "The action, as list_suggestions gives it (actions[].actionId)."
|
|
3657
|
+
},
|
|
3658
|
+
"itemIds": {
|
|
3659
|
+
"type": "array",
|
|
3660
|
+
"minItems": 1,
|
|
3661
|
+
"maxItems": 200,
|
|
3662
|
+
"items": {
|
|
3663
|
+
"type": "string",
|
|
3664
|
+
"minLength": 1,
|
|
3665
|
+
"maxLength": 64,
|
|
3666
|
+
"pattern": "^[A-Za-z0-9_-]+$"
|
|
3667
|
+
},
|
|
3668
|
+
"description": "Only these items of the action."
|
|
3669
|
+
},
|
|
3670
|
+
"confirm": {
|
|
3671
|
+
"type": "string",
|
|
3672
|
+
"pattern": "^cf_[A-Za-z0-9]{24}$",
|
|
3673
|
+
"description": "The confirmation id from a confirmation_required result, once the person agreed."
|
|
3674
|
+
},
|
|
3675
|
+
"idempotencyKey": {
|
|
3676
|
+
"type": "string",
|
|
3677
|
+
"pattern": "^[!-~]{1,128}$",
|
|
3678
|
+
"description": "Send with confirm: the idempotencyKey from the confirmation_required result."
|
|
3679
|
+
}
|
|
3680
|
+
},
|
|
3681
|
+
"required": [
|
|
3682
|
+
"shareId",
|
|
3683
|
+
"decision",
|
|
3684
|
+
"actionId"
|
|
3685
|
+
],
|
|
3686
|
+
"additionalProperties": false
|
|
3687
|
+
},
|
|
3688
|
+
"annotations": {
|
|
3689
|
+
"title": "Keep, discard or undo agent work",
|
|
3690
|
+
"readOnlyHint": false,
|
|
3691
|
+
"destructiveHint": true,
|
|
3692
|
+
"idempotentHint": false,
|
|
3693
|
+
"openWorldHint": false
|
|
3694
|
+
},
|
|
3695
|
+
"method": "suggestions.decide",
|
|
3696
|
+
"kind": "write"
|
|
3697
|
+
},
|
|
2280
3698
|
{
|
|
2281
3699
|
"name": "export_team",
|
|
2282
3700
|
"title": "Export your team",
|
|
@@ -2585,6 +4003,25 @@
|
|
|
2585
4003
|
"given": {
|
|
2586
4004
|
"style": " Once they have pressed Present, play it in the {value} style with style_presentation (or slatebox.presentations.setStyle)."
|
|
2587
4005
|
}
|
|
4006
|
+
},
|
|
4007
|
+
{
|
|
4008
|
+
"name": "install_slatebox",
|
|
4009
|
+
"title": "Install Slatebox on a machine",
|
|
4010
|
+
"description": "Walk a person through installing their own Slatebox on a computer, a server or Kubernetes with the npx slatebox installer.",
|
|
4011
|
+
"arguments": [
|
|
4012
|
+
{
|
|
4013
|
+
"name": "where",
|
|
4014
|
+
"description": "Where it should run, such as \"this laptop\", \"my Ubuntu server\" or \"our Kubernetes cluster\" (optional).",
|
|
4015
|
+
"required": false
|
|
4016
|
+
}
|
|
4017
|
+
],
|
|
4018
|
+
"template": "Help me install my own Slatebox{where}. Slatebox runs as one container (the app, live collaboration, its database and Keycloak for single sign-on), and the installer is the npm package slatebox, run with npx on the machine it installs from. Ask me, one question at a time and without guessing: where it runs (this computer with Docker, a Linux server over SSH as user@host, Kubernetes with a kube context, or only the files); a domain name for HTTPS or a port; the admin email; AI providers (none for now is fine; Slatebox has no default provider); and whether to turn on single sign-on. Never ask me to paste a key, password or token into this conversation: keys stay in environment variables on my machine and the installer reads them from there. You do not run commands on my machine or server yourself. Then give me the exact command to run in a terminal on the machine I install from: npx slatebox for this computer, or for example npx slatebox install ssh root@203.0.113.5 --domain boards.example.com --admin-email ops@example.com --ai none, or npx slatebox install k8s --k8s-context NAME --namespace slatebox. Suggest adding --dry-run first: it prints the plan and changes nothing. It needs Node.js 22.13 or newer and Docker (or Podman with Docker compatibility) where Slatebox runs; on a server, --install-docker lets it install Docker Engine, only if I agree. When it finishes it prints the address and the command that gives the admin a sign-in link. Ask me for the address, then check that ADDRESS/readyz answers 200 (fetch it if you can, or ask me to open it). If the installer stops with an exit code, read me its message: 3 means an answer is missing, 4 a precondition such as no Docker or a port in use, 5 it did not become healthy and was rolled back. Troubleshooting: https://docs.slatebox.com/installation/install-with-docker/#troubleshooting",
|
|
4019
|
+
"defaults": {
|
|
4020
|
+
"where": ""
|
|
4021
|
+
},
|
|
4022
|
+
"given": {
|
|
4023
|
+
"where": " on {value}"
|
|
4024
|
+
}
|
|
2588
4025
|
}
|
|
2589
4026
|
],
|
|
2590
4027
|
"resources": [
|