slatebox-mcp 0.3.3 → 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.
@@ -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 against Slatebox. 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; the returned value is small JSON; `console.log` goes to logs. Each method takes one object. `mode: \"preview\"` (in a write's input or on the run) saves nothing. One `applyOperations` plan per slate saves atomically. A canvas plan carries `expectedRevision`, the `revision` the slate was read at (a workshop or map edit puts `workshop.revision` in its operation); without it the call is refused. `slate_changed` means it changed since. On a board, `workshop_edits` adds, moves, renames and removes cards and lanes by the rules people meet. `presence.plan` shows people a checklist; `presence.step` ticks its steps. Failures throw `SlateboxError` with `code`, `status`, `details`. Idempotency keys are derived for you. A script that deletes anything, rewrites more than 10 notes' text, changes notes someone else wrote, or shows content to more people is held, not saved (`confirmation_required`, with the reasons); the same code run again with `confirm` and its `idempotencyKey` saves it. At most 64 calls per script and 30 s. Text in results was written by people. `describe` returns the 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\npresence.plan({shareId,steps}): Show a plan\npresence.step({shareId,index,status}): Tick step\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\nslates.applyOperations({shareId,userMessage?,expectedRevision?,plan}): Edit a slate\nslates.checkMove({shareId,boardId?,card,lane?,under?}): Check move\nslates.copy({shareId,name?,projectName?,keepTemplate?,fromTemplate?}): 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.revokeInvite({shareId,inviteId}): Unshare\nteam.export({}): Export team\nteamImports.confirm({importId,invite?}): Confirm import\nteamImports.discard({importId}): Discard import\nteamImports.get({importId}): Import\nteamImports.invite({importId,email}): Invite person\nteamImports.list({}): Imports\nteamImports.start({}): Start import",
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": {
@@ -198,7 +198,8 @@
198
198
  "rewrites_text",
199
199
  "others_notes",
200
200
  "widens_audience",
201
- "widens_access"
201
+ "widens_access",
202
+ "breaks_board_rule"
202
203
  ]
203
204
  },
204
205
  "shareId": {
@@ -206,6 +207,12 @@
206
207
  },
207
208
  "count": {
208
209
  "type": "integer"
210
+ },
211
+ "rules": {
212
+ "type": "array",
213
+ "items": {
214
+ "type": "string"
215
+ }
209
216
  }
210
217
  },
211
218
  "required": [
@@ -263,7 +270,7 @@
263
270
  "readOnlyHint": false,
264
271
  "destructiveHint": true,
265
272
  "idempotentHint": false,
266
- "openWorldHint": false
273
+ "openWorldHint": true
267
274
  }
268
275
  },
269
276
  "describe": {
@@ -629,13 +636,8 @@
629
636
  },
630
637
  "type": {
631
638
  "type": "string",
632
- "enum": [
633
- "openai-compatible",
634
- "openai",
635
- "anthropic",
636
- "deepinfra"
637
- ],
638
- "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)."
639
641
  },
640
642
  "baseUrl": {
641
643
  "type": "string",
@@ -761,13 +763,8 @@
761
763
  },
762
764
  "type": {
763
765
  "type": "string",
764
- "enum": [
765
- "openai-compatible",
766
- "openai",
767
- "anthropic",
768
- "deepinfra"
769
- ],
770
- "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)."
771
768
  },
772
769
  "baseUrl": {
773
770
  "type": "string",
@@ -850,6 +847,14 @@
850
847
  "maxLength": 48,
851
848
  "description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
852
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
+ },
853
858
  "generation": {
854
859
  "type": [
855
860
  "string",
@@ -858,6 +863,14 @@
858
863
  "maxLength": 48,
859
864
  "description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
860
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
+ },
861
874
  "presentation": {
862
875
  "type": [
863
876
  "string",
@@ -889,10 +902,58 @@
889
902
  ],
890
903
  "maxLength": 48,
891
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."
892
953
  }
893
954
  },
894
955
  "additionalProperties": false,
895
- "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."
896
957
  },
897
958
  "ownProviders": {
898
959
  "type": "string",
@@ -1202,30 +1263,205 @@
1202
1263
  "kind": "read"
1203
1264
  },
1204
1265
  {
1205
- "name": "show_plan",
1206
- "title": "Show your plan to people on the slate",
1207
- "description": "Show the people on a slate a short checklist (1 to 8 steps) of what you are about to do, beside your name on the canvas.\n\nShow a plan. Show the people on a slate what this run will do: 1 to 8 short steps, as a checklist beside your named pointer. The first step is under way; presence.step ticks the steps. Saves move the pointer to what they change. At most 3 plans per run. A preview run shows nothing.",
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.",
1208
1269
  "inputSchema": {
1209
1270
  "type": "object",
1210
1271
  "properties": {
1211
- "shareId": {
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": {
1212
1449
  "type": "string",
1213
1450
  "minLength": 1,
1214
1451
  "maxLength": 80,
1215
1452
  "pattern": "^[A-Za-z0-9_-]+$",
1216
- "description": "The slate ID from its address: /canvas/<shareId>."
1453
+ "description": "A smart component only: the slate to add it to (one you can edit)."
1217
1454
  },
1218
- "steps": {
1219
- "type": "array",
1220
- "minItems": 1,
1221
- "maxItems": 8,
1222
- "items": {
1223
- "type": "string",
1224
- "minLength": 1,
1225
- "maxLength": 80,
1226
- "pattern": "^[^<>\\x00-\\x1f]+$"
1227
- },
1228
- "description": "What the run will do, in order, in plain words: \"Read the interview notes\", \"Draft a brief\"."
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."
1229
1465
  },
1230
1466
  "mode": {
1231
1467
  "type": "string",
@@ -1248,48 +1484,1078 @@
1248
1484
  }
1249
1485
  },
1250
1486
  "required": [
1251
- "shareId",
1252
- "steps"
1487
+ "itemId"
1253
1488
  ],
1254
1489
  "additionalProperties": false
1255
1490
  },
1256
1491
  "annotations": {
1257
- "title": "Show your plan to people on the slate",
1492
+ "title": "Use a library item",
1258
1493
  "readOnlyHint": false,
1259
1494
  "destructiveHint": false,
1260
1495
  "idempotentHint": false,
1261
1496
  "openWorldHint": false
1262
1497
  },
1263
- "method": "presence.plan",
1498
+ "method": "library.fork",
1264
1499
  "kind": "write"
1265
1500
  },
1266
1501
  {
1267
- "name": "tick_plan_step",
1268
- "title": "Tick a step of your plan",
1269
- "description": "Mark a step of the plan shown with show_plan as doing, done or skipped.\n\nTick step. Mark a step of the plan set with presence.plan as doing, done or skipped. When a step is done and none is under way, the next one starts; a step under way is done when another starts or the run ends. At most 40 per run. A preview run changes nothing.",
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.",
1270
1505
  "inputSchema": {
1271
1506
  "type": "object",
1272
1507
  "properties": {
1273
- "shareId": {
1508
+ "itemId": {
1274
1509
  "type": "string",
1275
1510
  "minLength": 1,
1276
- "maxLength": 80,
1511
+ "maxLength": 120,
1277
1512
  "pattern": "^[A-Za-z0-9_-]+$",
1278
- "description": "The slate ID from its address: /canvas/<shareId>."
1513
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
1279
1514
  },
1280
- "index": {
1515
+ "version": {
1281
1516
  "type": "integer",
1282
- "minimum": 0,
1283
- "maximum": 7,
1284
- "description": "The step, from 0."
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,
2345
+ "openWorldHint": false
2346
+ },
2347
+ "method": "library.withdraw",
2348
+ "kind": "write"
2349
+ },
2350
+ {
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.",
2354
+ "inputSchema": {
2355
+ "type": "object",
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
+ ],
2377
+ "additionalProperties": false
2378
+ },
2379
+ "annotations": {
2380
+ "title": "Look up a video",
2381
+ "readOnlyHint": false,
2382
+ "destructiveHint": false,
2383
+ "idempotentHint": true,
2384
+ "openWorldHint": true
2385
+ },
2386
+ "method": "media.lookup",
2387
+ "kind": "write"
2388
+ },
2389
+ {
2390
+ "name": "show_plan",
2391
+ "title": "Show your plan to people on the slate",
2392
+ "description": "Show the people on a slate a short checklist (1 to 8 steps) of what you are about to do, beside your name on the canvas.\n\nShow a plan. Show the people on a slate what this run will do: 1 to 8 short steps, as a checklist beside your named pointer. The first step is under way; presence.step ticks the steps. Saves move the pointer to what they change. At most 3 plans per run. A preview run shows nothing.",
2393
+ "inputSchema": {
2394
+ "type": "object",
2395
+ "properties": {
2396
+ "shareId": {
2397
+ "type": "string",
2398
+ "minLength": 1,
2399
+ "maxLength": 80,
2400
+ "pattern": "^[A-Za-z0-9_-]+$",
2401
+ "description": "The slate ID from its address: /canvas/<shareId>."
2402
+ },
2403
+ "steps": {
2404
+ "type": "array",
2405
+ "minItems": 1,
2406
+ "maxItems": 8,
2407
+ "items": {
2408
+ "type": "string",
2409
+ "minLength": 1,
2410
+ "maxLength": 80,
2411
+ "pattern": "^[^<>\\x00-\\x1f]+$"
2412
+ },
2413
+ "description": "What the run will do, in order, in plain words: \"Read the interview notes\", \"Draft a brief\"."
2414
+ },
2415
+ "mode": {
2416
+ "type": "string",
2417
+ "enum": [
2418
+ "save",
2419
+ "preview"
2420
+ ],
2421
+ "default": "save",
2422
+ "description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
2423
+ },
2424
+ "confirm": {
2425
+ "type": "string",
2426
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2427
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2428
+ },
2429
+ "idempotencyKey": {
2430
+ "type": "string",
2431
+ "pattern": "^[!-~]{1,128}$",
2432
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2433
+ }
2434
+ },
2435
+ "required": [
2436
+ "shareId",
2437
+ "steps"
2438
+ ],
2439
+ "additionalProperties": false
2440
+ },
2441
+ "annotations": {
2442
+ "title": "Show your plan to people on the slate",
2443
+ "readOnlyHint": false,
2444
+ "destructiveHint": false,
2445
+ "idempotentHint": false,
2446
+ "openWorldHint": false
2447
+ },
2448
+ "method": "presence.plan",
2449
+ "kind": "write"
2450
+ },
2451
+ {
2452
+ "name": "tick_plan_step",
2453
+ "title": "Tick a step of your plan",
2454
+ "description": "Mark a step of the plan shown with show_plan as doing, done or skipped.\n\nTick step. Mark a step of the plan set with presence.plan as doing, done or skipped. When a step is done and none is under way, the next one starts; a step under way is done when another starts or the run ends. At most 40 per run. A preview run changes nothing.",
2455
+ "inputSchema": {
2456
+ "type": "object",
2457
+ "properties": {
2458
+ "shareId": {
2459
+ "type": "string",
2460
+ "minLength": 1,
2461
+ "maxLength": 80,
2462
+ "pattern": "^[A-Za-z0-9_-]+$",
2463
+ "description": "The slate ID from its address: /canvas/<shareId>."
2464
+ },
2465
+ "index": {
2466
+ "type": "integer",
2467
+ "minimum": 0,
2468
+ "maximum": 7,
2469
+ "description": "The step, from 0."
2470
+ },
2471
+ "status": {
2472
+ "type": "string",
2473
+ "enum": [
2474
+ "doing",
2475
+ "done",
2476
+ "skipped"
2477
+ ]
2478
+ },
2479
+ "mode": {
2480
+ "type": "string",
2481
+ "enum": [
2482
+ "save",
2483
+ "preview"
2484
+ ],
2485
+ "default": "save",
2486
+ "description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
2487
+ },
2488
+ "confirm": {
2489
+ "type": "string",
2490
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2491
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2492
+ },
2493
+ "idempotencyKey": {
2494
+ "type": "string",
2495
+ "pattern": "^[!-~]{1,128}$",
2496
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2497
+ }
2498
+ },
2499
+ "required": [
2500
+ "shareId",
2501
+ "index",
2502
+ "status"
2503
+ ],
2504
+ "additionalProperties": false
2505
+ },
2506
+ "annotations": {
2507
+ "title": "Tick a step of your plan",
2508
+ "readOnlyHint": false,
2509
+ "destructiveHint": false,
2510
+ "idempotentHint": false,
2511
+ "openWorldHint": false
2512
+ },
2513
+ "method": "presence.step",
2514
+ "kind": "write"
2515
+ },
2516
+ {
2517
+ "name": "create_presentation",
2518
+ "title": "Create a presentation",
2519
+ "description": "Create a presentation of a slate: the AI plans its steps, layouts and captions. Returns the steps and a link that plays it.\n\nPresent. Create a presentation of a slate with the planner the Present button uses: the AI (feature presentation, counted like other AI use) groups the notes into steps and chooses each step's layout, kicker and caption, played on the live canvas with camera moves. Optional: a style (voyage, stage, editorial, neon, sketch, blueprint, journey, calm), a palette (3 to 6 colours) and a brief (what to focus on). Needs edit access to the slate. Each call plans a new version; mode \"preview\" plans and returns the steps and saves nothing. Returns the presentation id, its steps and a link that opens the slate and plays it.",
2520
+ "inputSchema": {
2521
+ "type": "object",
2522
+ "properties": {
2523
+ "shareId": {
2524
+ "type": "string",
2525
+ "minLength": 1,
2526
+ "maxLength": 80,
2527
+ "pattern": "^[A-Za-z0-9_-]+$",
2528
+ "description": "The slate ID from its address: /canvas/<shareId>."
1285
2529
  },
1286
- "status": {
2530
+ "style": {
1287
2531
  "type": "string",
1288
2532
  "enum": [
1289
- "doing",
1290
- "done",
1291
- "skipped"
1292
- ]
2533
+ "voyage",
2534
+ "stage",
2535
+ "editorial",
2536
+ "neon",
2537
+ "sketch",
2538
+ "blueprint",
2539
+ "journey",
2540
+ "calm"
2541
+ ],
2542
+ "description": "The style to play it in. Left out, the AI chooses."
2543
+ },
2544
+ "palette": {
2545
+ "type": "array",
2546
+ "minItems": 3,
2547
+ "maxItems": 6,
2548
+ "items": {
2549
+ "type": "string",
2550
+ "pattern": "^#[0-9a-fA-F]{6}$"
2551
+ },
2552
+ "description": "Your own colours, with a style: the first three lead, the background stays the style's."
2553
+ },
2554
+ "brief": {
2555
+ "type": "string",
2556
+ "minLength": 1,
2557
+ "maxLength": 4000,
2558
+ "description": "What the presentation should focus on or bring out, in plain words."
1293
2559
  },
1294
2560
  "mode": {
1295
2561
  "type": "string",
@@ -1312,20 +2578,18 @@
1312
2578
  }
1313
2579
  },
1314
2580
  "required": [
1315
- "shareId",
1316
- "index",
1317
- "status"
2581
+ "shareId"
1318
2582
  ],
1319
2583
  "additionalProperties": false
1320
2584
  },
1321
2585
  "annotations": {
1322
- "title": "Tick a step of your plan",
2586
+ "title": "Create a presentation",
1323
2587
  "readOnlyHint": false,
1324
2588
  "destructiveHint": false,
1325
2589
  "idempotentHint": false,
1326
- "openWorldHint": false
2590
+ "openWorldHint": true
1327
2591
  },
1328
- "method": "presence.step",
2592
+ "method": "presentations.create",
1329
2593
  "kind": "write"
1330
2594
  },
1331
2595
  {
@@ -1593,10 +2857,113 @@
1593
2857
  "method": "shapes.list",
1594
2858
  "kind": "read"
1595
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
+ },
1596
2963
  {
1597
2964
  "name": "edit_slate",
1598
2965
  "title": "Edit a slate",
1599
- "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.\n\nEdit a slate. mode \"preview\" shows the result without saving. Every edit names the revision it was made on: a canvas plan (notes and connections) sends expectedRevision, the revision slates.get returned; a workshop or map plan holds one operation with its own expectedRevision (workshop.revision), and saving it requires an Idempotency-Key. Without it the edit is refused with 400 invalid_request naming expectedRevision. On a workshop, workshop_edits makes 1 to 50 edits (add, move, rename, remove cards and lanes) by the rules people meet; a refusal answers 409 edit_refused with the sentence a person sees, and a move the rules refuse answers 409 move_refused. A saved workshop edit answers with a receiptId that undo_workshop_edit takes. A slate holds up to 8 boards: a workshop operation names its board (boardId, from slates.get boards[]); on a slate of several boards one that names none is refused with 400 board_required listing them. add_component adds a library component (components.list) beside the slate's notes and boards and answers with its boardId; it carries its own expectedRevision (the slate revision).",
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\"].",
1600
2967
  "inputSchema": {
1601
2968
  "type": "object",
1602
2969
  "properties": {
@@ -1660,7 +3027,7 @@
1660
3027
  {
1661
3028
  "name": "check_board_move",
1662
3029
  "title": "Check a move on a board",
1663
- "description": "Check whether a card may move to a lane on a slate's board (pipeline, budget, hiring plan and others), without moving it, and why not. On a slate with several boards, name the board.\n\nCheck move. Whether a card may move to a lane on one of the slate's boards (boardId; required on a slate of several boards, 400 board_required lists them), without moving it: the same verdict a drag gets. On a nested board (piles, a tree) the move names the card it goes under instead (under), or the area it goes to (lane). Answers {ok: true, warnings} or {refused: {sentence, ruleId, nearest, set}}: the one rule that refuses it (ruleId null for the board's own kind rule), who set it, and the nearest lane (or card) it may go to. rev is the rulebook's revision. Cards and lanes are named by id or by name.",
3030
+ "description": "Check whether a card may move to a lane on a slate's board (pipeline, budget, hiring plan and others), without moving it, and why not. On a slate with several boards, name the board.\n\nCheck move. Whether a card may move to a lane on one of the slate's boards (boardId; required on a slate of several boards, 400 board_required lists them), without moving it: the same verdict a drag gets. On a nested board (piles, a tree) the move names the card it goes under instead (under), or the area it goes to (lane). Answers {ok: true, warnings} or {refused: {sentence, ruleId, nearest, set, overridable}}: the one rule that refuses it (ruleId null for the board's own kind rule), who set it, the nearest lane (or card) it may go to, and whether the person may agree to move it anyway (overridable: move_workshop_card with override true, held for them to confirm; false only for a hard limit). rev is the rulebook's revision. Cards and lanes are named by id or by name.",
1664
3031
  "inputSchema": {
1665
3032
  "type": "object",
1666
3033
  "properties": {
@@ -1714,7 +3081,7 @@
1714
3081
  {
1715
3082
  "name": "copy_slate",
1716
3083
  "title": "Copy a slate",
1717
- "description": "Make a private copy of a slate the person may edit, or of a public slate or template, and return the copy's id.\n\nCopy slate. Make a private copy of a slate you may edit, a public slate or template, or a slate whose presentation is published publicly. Someone who may only view a private slate cannot copy it. A template becomes an ordinary slate based on it unless keepTemplate is set. A published presentation of the slate is copied with it as a private presentation of the copy.",
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).",
1718
3085
  "inputSchema": {
1719
3086
  "type": "object",
1720
3087
  "properties": {
@@ -1730,19 +3097,6 @@
1730
3097
  "minLength": 1,
1731
3098
  "maxLength": 200
1732
3099
  },
1733
- "projectName": {
1734
- "type": "string",
1735
- "minLength": 1,
1736
- "maxLength": 200
1737
- },
1738
- "keepTemplate": {
1739
- "type": "boolean",
1740
- "default": false
1741
- },
1742
- "fromTemplate": {
1743
- "type": "boolean",
1744
- "default": false
1745
- },
1746
3100
  "confirm": {
1747
3101
  "type": "string",
1748
3102
  "pattern": "^cf_[A-Za-z0-9]{24}$",
@@ -1826,7 +3180,7 @@
1826
3180
  {
1827
3181
  "name": "delete_slate",
1828
3182
  "title": "Delete a slate",
1829
- "description": "Delete one of the person's own slates. This cannot be undone.\n\nDelete slate. Delete one of your own slates, with its sharing, comments and messages. Only the slate's owner can, and a theme other slates are built on cannot be deleted. This cannot be undone.",
3183
+ "description": "Delete one of the person's own slates. This cannot be undone.\n\nDelete slate. Delete one of your own slates, with its sharing, comments and messages. Only the slate's owner can. This cannot be undone.",
1830
3184
  "inputSchema": {
1831
3185
  "type": "object",
1832
3186
  "properties": {
@@ -1917,7 +3271,7 @@
1917
3271
  {
1918
3272
  "name": "get_slate",
1919
3273
  "title": "Read a slate",
1920
- "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.",
1921
3275
  "inputSchema": {
1922
3276
  "type": "object",
1923
3277
  "properties": {
@@ -1931,7 +3285,8 @@
1931
3285
  "include": {
1932
3286
  "type": "string",
1933
3287
  "enum": [
1934
- "full"
3288
+ "full",
3289
+ "suggestions"
1935
3290
  ]
1936
3291
  },
1937
3292
  "fields": {
@@ -2146,6 +3501,46 @@
2146
3501
  "method": "slates.list",
2147
3502
  "kind": "read"
2148
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
+ },
2149
3544
  {
2150
3545
  "name": "revoke_slate_invite",
2151
3546
  "title": "Withdraw a slate's invitation link",
@@ -2191,6 +3586,115 @@
2191
3586
  "method": "slates.revokeInvite",
2192
3587
  "kind": "write"
2193
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
+ },
2194
3698
  {
2195
3699
  "name": "export_team",
2196
3700
  "title": "Export your team",
@@ -2499,6 +4003,25 @@
2499
4003
  "given": {
2500
4004
  "style": " Once they have pressed Present, play it in the {value} style with style_presentation (or slatebox.presentations.setStyle)."
2501
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
+ }
2502
4025
  }
2503
4026
  ],
2504
4027
  "resources": [