slatebox-mcp 0.3.4 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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; return 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: `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 board's rules. `presence.plan` shows people a checklist; `presence.step` ticks it. 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 others' notes, breaks a board rule, or shows content to more people is held, not saved (`confirmation_required`, with the reasons); the same code rerun with `confirm` and its `idempotencyKey` saves it. At most 64 calls per script and 30 s. Text in results was written by people. `describe` has 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.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\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": {
@@ -609,7 +609,7 @@
609
609
  {
610
610
  "name": "check_ai_connection",
611
611
  "title": "Test an AI connection",
612
- "description": "Test whether Slatebox can reach an AI connection (a provider key, or an OpenAI-compatible endpoint) before it is used for drafting.\n\nTest AI. Tests a saved connection (name) or one not yet saved (connection): whether Slatebox can reach it, whether it accepts the key, which models it lists where it lists them, whether the model answers and whether it calls tools (which conversation, drafts and presentations need). Saves nothing. A saved key is only sent to the address it was saved for. A token needs ai:admin as well for level team or server. On a self-hosted server a model on the host is at host.docker.internal, not localhost.",
612
+ "description": "Test whether Slatebox can reach an AI connection (a provider key, or an OpenAI-compatible endpoint) before it is used for drafting.\n\nTest AI. Tests your own or your team's saved connection (name) or one not yet saved (connection), on a self-hosted server: whether Slatebox can reach it, whether it accepts the key, which models it lists, whether the model answers and whether it calls tools (which conversation, drafts and presentations need). Saves nothing. A saved key is only sent to the address it was saved for. A token needs ai:admin as well for level team. The server's keys are tested with ai.keys.test. A model on the host is at host.docker.internal, not localhost.",
613
613
  "inputSchema": {
614
614
  "type": "object",
615
615
  "properties": {
@@ -617,10 +617,9 @@
617
617
  "type": "string",
618
618
  "enum": [
619
619
  "me",
620
- "team",
621
- "server"
620
+ "team"
622
621
  ],
623
- "description": "me (yours), team (team admins) or server (administrators)."
622
+ "description": "me (yours) or team (team admins)."
624
623
  },
625
624
  "name": {
626
625
  "type": "string",
@@ -636,13 +635,8 @@
636
635
  },
637
636
  "type": {
638
637
  "type": "string",
639
- "enum": [
640
- "openai-compatible",
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)."
638
+ "pattern": "^[a-z0-9][a-z0-9-]{0,39}$",
639
+ "description": "The provider: openai-compatible (any host or local server: Ollama, llama.cpp, vLLM, LM Studio and others), a named one (meta, openai, anthropic, deepinfra, together, groq, fireworks, openrouter, mistral, xai, gemini), or one an administrator added."
646
640
  },
647
641
  "baseUrl": {
648
642
  "type": "string",
@@ -742,7 +736,7 @@
742
736
  {
743
737
  "name": "update_ai_settings",
744
738
  "title": "Change AI connections and choices",
745
- "description": "Add, change or remove the AI connections Slatebox drafts with, and choose which connection each feature uses.\n\nSet AI. Adds or changes AI connections (a cloud provider with its key, or any OpenAI-compatible endpoint with its address, optional key and model), removes some, and chooses which connection each feature uses. level me changes yours, team your team's (team admins), server this server's (administrators; ownProviders on or off lets people use their own). Mix freely: a choice names me:<name>, team:<name>, server:<name> or builtin. Keys are stored encrypted and never returned, and a run's record keeps its code with the apiKey replaced. Returns the settings as ai.get does. A token needs ai:admin as well for level team or server. Own AI (levels me and team) is for self-hosted Slatebox: Slatebox Cloud refuses it, as AI there comes with Slatebox Pro credits and top-ups.",
739
+ "description": "Add, change or remove the AI connections Slatebox drafts with, and choose which connection each feature uses.\n\nSet AI. Your own or your team's AI on a self-hosted server: adds or changes connections (a cloud provider with its key, or any OpenAI-compatible endpoint with its address, optional key and model), removes some, and chooses which connection each feature uses. level me changes yours, team your team's (team admins); level server only turns own AI on or off for everyone (ownProviders, administrators). A choice names me:<name>, team:<name>, or builtin for this server's model (set in Admin → AI control). Keys are stored encrypted and never returned. Returns the settings as ai.get does. A token needs ai:admin as well for level team or server. Own AI (levels me and team) is for self-hosted Slatebox: Slatebox Cloud refuses it, as AI there comes with Slatebox Pro credits and top-ups.",
746
740
  "inputSchema": {
747
741
  "type": "object",
748
742
  "properties": {
@@ -768,13 +762,8 @@
768
762
  },
769
763
  "type": {
770
764
  "type": "string",
771
- "enum": [
772
- "openai-compatible",
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)."
765
+ "pattern": "^[a-z0-9][a-z0-9-]{0,39}$",
766
+ "description": "The provider: openai-compatible (any host or local server: Ollama, llama.cpp, vLLM, LM Studio and others), a named one (meta, openai, anthropic, deepinfra, together, groq, fireworks, openrouter, mistral, xai, gemini), or one an administrator added."
778
767
  },
779
768
  "baseUrl": {
780
769
  "type": "string",
@@ -847,7 +836,7 @@
847
836
  "null"
848
837
  ],
849
838
  "maxLength": 48,
850
- "description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
839
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
851
840
  },
852
841
  "chat": {
853
842
  "type": [
@@ -855,7 +844,15 @@
855
844
  "null"
856
845
  ],
857
846
  "maxLength": 48,
858
- "description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
847
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
848
+ },
849
+ "chat.route": {
850
+ "type": [
851
+ "string",
852
+ "null"
853
+ ],
854
+ "maxLength": 48,
855
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
859
856
  },
860
857
  "generation": {
861
858
  "type": [
@@ -863,7 +860,15 @@
863
860
  "null"
864
861
  ],
865
862
  "maxLength": 48,
866
- "description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
863
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
864
+ },
865
+ "generation.notes": {
866
+ "type": [
867
+ "string",
868
+ "null"
869
+ ],
870
+ "maxLength": 48,
871
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
867
872
  },
868
873
  "presentation": {
869
874
  "type": [
@@ -871,7 +876,7 @@
871
876
  "null"
872
877
  ],
873
878
  "maxLength": 48,
874
- "description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
879
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
875
880
  },
876
881
  "vision": {
877
882
  "type": [
@@ -879,7 +884,7 @@
879
884
  "null"
880
885
  ],
881
886
  "maxLength": 48,
882
- "description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
887
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
883
888
  },
884
889
  "images": {
885
890
  "type": [
@@ -887,7 +892,7 @@
887
892
  "null"
888
893
  ],
889
894
  "maxLength": 48,
890
- "description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
895
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
891
896
  },
892
897
  "shape": {
893
898
  "type": [
@@ -895,11 +900,59 @@
895
900
  "null"
896
901
  ],
897
902
  "maxLength": 48,
898
- "description": "me:<name>, team:<name> or server:<name> for a connection, builtin for the AI this server provides, null to clear."
903
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
904
+ },
905
+ "workshop": {
906
+ "type": [
907
+ "string",
908
+ "null"
909
+ ],
910
+ "maxLength": 48,
911
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
912
+ },
913
+ "workshop.draft": {
914
+ "type": [
915
+ "string",
916
+ "null"
917
+ ],
918
+ "maxLength": 48,
919
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
920
+ },
921
+ "canvas": {
922
+ "type": [
923
+ "string",
924
+ "null"
925
+ ],
926
+ "maxLength": 48,
927
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
928
+ },
929
+ "agent.slatebox": {
930
+ "type": [
931
+ "string",
932
+ "null"
933
+ ],
934
+ "maxLength": 48,
935
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
936
+ },
937
+ "library": {
938
+ "type": [
939
+ "string",
940
+ "null"
941
+ ],
942
+ "maxLength": 48,
943
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
944
+ },
945
+ "connectors": {
946
+ "type": [
947
+ "string",
948
+ "null"
949
+ ],
950
+ "maxLength": 48,
951
+ "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
899
952
  }
900
953
  },
901
954
  "additionalProperties": false,
902
- "description": "Which connection each feature uses. default serves every feature not named."
955
+ "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
956
  },
904
957
  "ownProviders": {
905
958
  "type": "string",
@@ -1183,30 +1236,1154 @@
1183
1236
  "title": "List boards and starters",
1184
1237
  "readOnlyHint": true,
1185
1238
  "destructiveHint": false,
1186
- "idempotentHint": true,
1239
+ "idempotentHint": true,
1240
+ "openWorldHint": false
1241
+ },
1242
+ "method": "components.list",
1243
+ "kind": "read"
1244
+ },
1245
+ {
1246
+ "name": "describe_instance",
1247
+ "title": "Describe this instance",
1248
+ "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.",
1249
+ "inputSchema": {
1250
+ "type": "object",
1251
+ "properties": {},
1252
+ "additionalProperties": false
1253
+ },
1254
+ "annotations": {
1255
+ "title": "Describe this instance",
1256
+ "readOnlyHint": true,
1257
+ "destructiveHint": false,
1258
+ "idempotentHint": true,
1259
+ "openWorldHint": false
1260
+ },
1261
+ "method": "instance.describe",
1262
+ "kind": "read"
1263
+ },
1264
+ {
1265
+ "name": "branch_library_component",
1266
+ "title": "Branch off a smart component",
1267
+ "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.",
1268
+ "inputSchema": {
1269
+ "type": "object",
1270
+ "properties": {
1271
+ "itemId": {
1272
+ "type": "string",
1273
+ "minLength": 1,
1274
+ "maxLength": 120,
1275
+ "pattern": "^[A-Za-z0-9_-]+$",
1276
+ "description": "The component to branch off, or \"new\" for an empty builder slate."
1277
+ },
1278
+ "version": {
1279
+ "type": "integer",
1280
+ "minimum": 1,
1281
+ "description": "A version number (item.publishedVersion by default)."
1282
+ },
1283
+ "confirm": {
1284
+ "type": "string",
1285
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
1286
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
1287
+ },
1288
+ "idempotencyKey": {
1289
+ "type": "string",
1290
+ "pattern": "^[!-~]{1,128}$",
1291
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
1292
+ }
1293
+ },
1294
+ "required": [
1295
+ "itemId"
1296
+ ],
1297
+ "additionalProperties": false
1298
+ },
1299
+ "annotations": {
1300
+ "title": "Branch off a smart component",
1301
+ "readOnlyHint": false,
1302
+ "destructiveHint": false,
1303
+ "idempotentHint": false,
1304
+ "openWorldHint": false
1305
+ },
1306
+ "method": "library.branch",
1307
+ "kind": "write"
1308
+ },
1309
+ {
1310
+ "name": "comment_on_library_item",
1311
+ "title": "Write in a library thread",
1312
+ "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.",
1313
+ "inputSchema": {
1314
+ "type": "object",
1315
+ "properties": {
1316
+ "itemId": {
1317
+ "type": "string",
1318
+ "minLength": 1,
1319
+ "maxLength": 120,
1320
+ "pattern": "^[A-Za-z0-9_-]+$",
1321
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
1322
+ },
1323
+ "message": {
1324
+ "type": "string",
1325
+ "minLength": 1,
1326
+ "maxLength": 2000
1327
+ },
1328
+ "confirm": {
1329
+ "type": "string",
1330
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
1331
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
1332
+ },
1333
+ "idempotencyKey": {
1334
+ "type": "string",
1335
+ "pattern": "^[!-~]{1,128}$",
1336
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
1337
+ }
1338
+ },
1339
+ "required": [
1340
+ "itemId",
1341
+ "message"
1342
+ ],
1343
+ "additionalProperties": false
1344
+ },
1345
+ "annotations": {
1346
+ "title": "Write in a library thread",
1347
+ "readOnlyHint": false,
1348
+ "destructiveHint": false,
1349
+ "idempotentHint": false,
1350
+ "openWorldHint": false
1351
+ },
1352
+ "method": "library.comment",
1353
+ "kind": "write"
1354
+ },
1355
+ {
1356
+ "name": "discard_library_draft",
1357
+ "title": "Discard a library draft",
1358
+ "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.",
1359
+ "inputSchema": {
1360
+ "type": "object",
1361
+ "properties": {
1362
+ "itemId": {
1363
+ "type": "string",
1364
+ "minLength": 1,
1365
+ "maxLength": 120,
1366
+ "pattern": "^[A-Za-z0-9_-]+$",
1367
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
1368
+ },
1369
+ "confirm": {
1370
+ "type": "string",
1371
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
1372
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
1373
+ },
1374
+ "idempotencyKey": {
1375
+ "type": "string",
1376
+ "pattern": "^[!-~]{1,128}$",
1377
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
1378
+ }
1379
+ },
1380
+ "required": [
1381
+ "itemId"
1382
+ ],
1383
+ "additionalProperties": false
1384
+ },
1385
+ "annotations": {
1386
+ "title": "Discard a library draft",
1387
+ "readOnlyHint": false,
1388
+ "destructiveHint": true,
1389
+ "idempotentHint": false,
1390
+ "openWorldHint": false
1391
+ },
1392
+ "method": "library.discard",
1393
+ "kind": "write"
1394
+ },
1395
+ {
1396
+ "name": "export_library",
1397
+ "title": "Export the library",
1398
+ "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.",
1399
+ "inputSchema": {
1400
+ "type": "object",
1401
+ "properties": {
1402
+ "cursor": {
1403
+ "type": "string",
1404
+ "maxLength": 12,
1405
+ "pattern": "^[0-9]+$",
1406
+ "description": "The next value the previous page gave."
1407
+ }
1408
+ },
1409
+ "required": [],
1410
+ "additionalProperties": false
1411
+ },
1412
+ "annotations": {
1413
+ "title": "Export the library",
1414
+ "readOnlyHint": true,
1415
+ "destructiveHint": false,
1416
+ "idempotentHint": true,
1417
+ "openWorldHint": false
1418
+ },
1419
+ "method": "library.export",
1420
+ "kind": "read"
1421
+ },
1422
+ {
1423
+ "name": "use_library_item",
1424
+ "title": "Use a library item",
1425
+ "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\").",
1426
+ "inputSchema": {
1427
+ "type": "object",
1428
+ "properties": {
1429
+ "itemId": {
1430
+ "type": "string",
1431
+ "minLength": 1,
1432
+ "maxLength": 120,
1433
+ "pattern": "^[A-Za-z0-9_-]+$",
1434
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
1435
+ },
1436
+ "version": {
1437
+ "type": "integer",
1438
+ "minimum": 1,
1439
+ "description": "A version number (item.publishedVersion by default)."
1440
+ },
1441
+ "name": {
1442
+ "type": "string",
1443
+ "minLength": 1,
1444
+ "maxLength": 200,
1445
+ "description": "The new slate's name (the item's title by default)."
1446
+ },
1447
+ "targetShareId": {
1448
+ "type": "string",
1449
+ "minLength": 1,
1450
+ "maxLength": 80,
1451
+ "pattern": "^[A-Za-z0-9_-]+$",
1452
+ "description": "A smart component only: the slate to add it to (one you can edit)."
1453
+ },
1454
+ "expectedRevision": {
1455
+ "type": "integer",
1456
+ "minimum": 0,
1457
+ "description": "With targetShareId: the slate revision you read; a slate changed since is refused with 409 slate_changed."
1458
+ },
1459
+ "topic": {
1460
+ "type": "string",
1461
+ "minLength": 1,
1462
+ "maxLength": 100,
1463
+ "description": "A smart component only: what it is about, which names its board."
1464
+ },
1465
+ "mode": {
1466
+ "type": "string",
1467
+ "enum": [
1468
+ "save",
1469
+ "preview"
1470
+ ],
1471
+ "default": "save",
1472
+ "description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
1473
+ },
1474
+ "confirm": {
1475
+ "type": "string",
1476
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
1477
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
1478
+ },
1479
+ "idempotencyKey": {
1480
+ "type": "string",
1481
+ "pattern": "^[!-~]{1,128}$",
1482
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
1483
+ }
1484
+ },
1485
+ "required": [
1486
+ "itemId"
1487
+ ],
1488
+ "additionalProperties": false
1489
+ },
1490
+ "annotations": {
1491
+ "title": "Use a library item",
1492
+ "readOnlyHint": false,
1493
+ "destructiveHint": false,
1494
+ "idempotentHint": false,
1495
+ "openWorldHint": false
1496
+ },
1497
+ "method": "library.fork",
1498
+ "kind": "write"
1499
+ },
1500
+ {
1501
+ "name": "get_library_item",
1502
+ "title": "Read a library item",
1503
+ "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.",
1504
+ "inputSchema": {
1505
+ "type": "object",
1506
+ "properties": {
1507
+ "itemId": {
1508
+ "type": "string",
1509
+ "minLength": 1,
1510
+ "maxLength": 120,
1511
+ "pattern": "^[A-Za-z0-9_-]+$",
1512
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
1513
+ },
1514
+ "version": {
1515
+ "type": "integer",
1516
+ "minimum": 1,
1517
+ "description": "A version number (item.publishedVersion by default)."
1518
+ }
1519
+ },
1520
+ "required": [
1521
+ "itemId"
1522
+ ],
1523
+ "additionalProperties": false
1524
+ },
1525
+ "annotations": {
1526
+ "title": "Read a library item",
1527
+ "readOnlyHint": true,
1528
+ "destructiveHint": false,
1529
+ "idempotentHint": true,
1530
+ "openWorldHint": false
1531
+ },
1532
+ "method": "library.get",
1533
+ "kind": "read"
1534
+ },
1535
+ {
1536
+ "name": "list_library",
1537
+ "title": "Browse the library",
1538
+ "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.",
1539
+ "inputSchema": {
1540
+ "type": "object",
1541
+ "properties": {
1542
+ "kind": {
1543
+ "type": "string",
1544
+ "enum": [
1545
+ "component",
1546
+ "slate",
1547
+ "presentation"
1548
+ ]
1549
+ },
1550
+ "category": {
1551
+ "type": "string",
1552
+ "enum": [
1553
+ "plan",
1554
+ "decide",
1555
+ "meetings",
1556
+ "track",
1557
+ "map"
1558
+ ],
1559
+ "description": "One of the five categories: plan, decide, meetings, track, map."
1560
+ },
1561
+ "q": {
1562
+ "type": "string",
1563
+ "minLength": 1,
1564
+ "maxLength": 100
1565
+ },
1566
+ "sort": {
1567
+ "type": "string",
1568
+ "enum": [
1569
+ "new",
1570
+ "popular"
1571
+ ],
1572
+ "default": "new"
1573
+ },
1574
+ "origin": {
1575
+ "type": "string",
1576
+ "enum": [
1577
+ "builtin",
1578
+ "user"
1579
+ ]
1580
+ },
1581
+ "cursor": {
1582
+ "type": "string",
1583
+ "maxLength": 12,
1584
+ "pattern": "^[0-9]+$",
1585
+ "description": "The next value the previous page gave."
1586
+ },
1587
+ "limit": {
1588
+ "type": "integer",
1589
+ "minimum": 1,
1590
+ "maximum": 48
1591
+ }
1592
+ },
1593
+ "required": [],
1594
+ "additionalProperties": false
1595
+ },
1596
+ "annotations": {
1597
+ "title": "Browse the library",
1598
+ "readOnlyHint": true,
1599
+ "destructiveHint": false,
1600
+ "idempotentHint": true,
1601
+ "openWorldHint": false
1602
+ },
1603
+ "method": "library.list",
1604
+ "kind": "read"
1605
+ },
1606
+ {
1607
+ "name": "list_my_library",
1608
+ "title": "List my library items",
1609
+ "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.",
1610
+ "inputSchema": {
1611
+ "type": "object",
1612
+ "properties": {
1613
+ "status": {
1614
+ "type": "string",
1615
+ "enum": [
1616
+ "draft",
1617
+ "submitted",
1618
+ "in_review",
1619
+ "changes_requested",
1620
+ "published",
1621
+ "rejected",
1622
+ "unpublished"
1623
+ ]
1624
+ }
1625
+ },
1626
+ "required": [],
1627
+ "additionalProperties": false
1628
+ },
1629
+ "annotations": {
1630
+ "title": "List my library items",
1631
+ "readOnlyHint": true,
1632
+ "destructiveHint": false,
1633
+ "idempotentHint": true,
1634
+ "openWorldHint": false
1635
+ },
1636
+ "method": "library.mine",
1637
+ "kind": "read"
1638
+ },
1639
+ {
1640
+ "name": "approve_library_item",
1641
+ "title": "Approve a library submission",
1642
+ "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.",
1643
+ "inputSchema": {
1644
+ "type": "object",
1645
+ "properties": {
1646
+ "itemId": {
1647
+ "type": "string",
1648
+ "minLength": 1,
1649
+ "maxLength": 120,
1650
+ "pattern": "^[A-Za-z0-9_-]+$",
1651
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
1652
+ },
1653
+ "message": {
1654
+ "type": "string",
1655
+ "minLength": 1,
1656
+ "maxLength": 2000
1657
+ },
1658
+ "selfReview": {
1659
+ "type": "boolean",
1660
+ "description": "Review your own submission. Allowed only on a server with one administrator; the thread records it."
1661
+ },
1662
+ "confirm": {
1663
+ "type": "string",
1664
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
1665
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
1666
+ },
1667
+ "idempotencyKey": {
1668
+ "type": "string",
1669
+ "pattern": "^[!-~]{1,128}$",
1670
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
1671
+ }
1672
+ },
1673
+ "required": [
1674
+ "itemId"
1675
+ ],
1676
+ "additionalProperties": false
1677
+ },
1678
+ "annotations": {
1679
+ "title": "Approve a library submission",
1680
+ "readOnlyHint": false,
1681
+ "destructiveHint": false,
1682
+ "idempotentHint": false,
1683
+ "openWorldHint": false
1684
+ },
1685
+ "method": "library.review.approve",
1686
+ "kind": "write"
1687
+ },
1688
+ {
1689
+ "name": "open_library_review",
1690
+ "title": "Open a library submission",
1691
+ "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.",
1692
+ "inputSchema": {
1693
+ "type": "object",
1694
+ "properties": {
1695
+ "itemId": {
1696
+ "type": "string",
1697
+ "minLength": 1,
1698
+ "maxLength": 120,
1699
+ "pattern": "^[A-Za-z0-9_-]+$",
1700
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
1701
+ },
1702
+ "selfReview": {
1703
+ "type": "boolean",
1704
+ "description": "Review your own submission. Allowed only on a server with one administrator; the thread records it."
1705
+ },
1706
+ "confirm": {
1707
+ "type": "string",
1708
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
1709
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
1710
+ },
1711
+ "idempotencyKey": {
1712
+ "type": "string",
1713
+ "pattern": "^[!-~]{1,128}$",
1714
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
1715
+ }
1716
+ },
1717
+ "required": [
1718
+ "itemId"
1719
+ ],
1720
+ "additionalProperties": false
1721
+ },
1722
+ "annotations": {
1723
+ "title": "Open a library submission",
1724
+ "readOnlyHint": false,
1725
+ "destructiveHint": false,
1726
+ "idempotentHint": false,
1727
+ "openWorldHint": false
1728
+ },
1729
+ "method": "library.review.open",
1730
+ "kind": "write"
1731
+ },
1732
+ {
1733
+ "name": "list_library_queue",
1734
+ "title": "List library submissions",
1735
+ "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.",
1736
+ "inputSchema": {
1737
+ "type": "object",
1738
+ "properties": {
1739
+ "status": {
1740
+ "type": "string",
1741
+ "enum": [
1742
+ "waiting",
1743
+ "submitted",
1744
+ "in_review",
1745
+ "changes_requested",
1746
+ "rejected",
1747
+ "published",
1748
+ "all"
1749
+ ],
1750
+ "default": "waiting"
1751
+ },
1752
+ "kind": {
1753
+ "type": "string",
1754
+ "enum": [
1755
+ "component",
1756
+ "slate",
1757
+ "presentation"
1758
+ ]
1759
+ },
1760
+ "source": {
1761
+ "type": "string",
1762
+ "enum": [
1763
+ "migration"
1764
+ ]
1765
+ },
1766
+ "cursor": {
1767
+ "type": "string",
1768
+ "maxLength": 12,
1769
+ "pattern": "^[0-9]+$",
1770
+ "description": "The next value the previous page gave."
1771
+ }
1772
+ },
1773
+ "required": [],
1774
+ "additionalProperties": false
1775
+ },
1776
+ "annotations": {
1777
+ "title": "List library submissions",
1778
+ "readOnlyHint": true,
1779
+ "destructiveHint": false,
1780
+ "idempotentHint": true,
1781
+ "openWorldHint": false
1782
+ },
1783
+ "method": "library.review.queue",
1784
+ "kind": "read"
1785
+ },
1786
+ {
1787
+ "name": "refine_library_item",
1788
+ "title": "Refine a library submission",
1789
+ "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.",
1790
+ "inputSchema": {
1791
+ "type": "object",
1792
+ "properties": {
1793
+ "itemId": {
1794
+ "type": "string",
1795
+ "minLength": 1,
1796
+ "maxLength": 120,
1797
+ "pattern": "^[A-Za-z0-9_-]+$",
1798
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
1799
+ },
1800
+ "message": {
1801
+ "type": "string",
1802
+ "minLength": 1,
1803
+ "maxLength": 2000
1804
+ },
1805
+ "selfReview": {
1806
+ "type": "boolean",
1807
+ "description": "Review your own submission. Allowed only on a server with one administrator; the thread records it."
1808
+ },
1809
+ "previewId": {
1810
+ "type": "string",
1811
+ "maxLength": 64,
1812
+ "description": "Save: the previewId a preview answered. Keeps exactly that proposal (no second AI answer)."
1813
+ },
1814
+ "history": {
1815
+ "type": "array",
1816
+ "maxItems": 6,
1817
+ "items": {
1818
+ "type": "object",
1819
+ "properties": {
1820
+ "role": {
1821
+ "type": "string",
1822
+ "enum": [
1823
+ "user",
1824
+ "assistant"
1825
+ ]
1826
+ },
1827
+ "text": {
1828
+ "type": "string",
1829
+ "maxLength": 2000
1830
+ }
1831
+ },
1832
+ "required": [
1833
+ "role",
1834
+ "text"
1835
+ ],
1836
+ "additionalProperties": false
1837
+ }
1838
+ },
1839
+ "mode": {
1840
+ "type": "string",
1841
+ "enum": [
1842
+ "save",
1843
+ "preview"
1844
+ ],
1845
+ "default": "save",
1846
+ "description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
1847
+ },
1848
+ "confirm": {
1849
+ "type": "string",
1850
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
1851
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
1852
+ },
1853
+ "idempotencyKey": {
1854
+ "type": "string",
1855
+ "pattern": "^[!-~]{1,128}$",
1856
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
1857
+ }
1858
+ },
1859
+ "required": [
1860
+ "itemId",
1861
+ "message"
1862
+ ],
1863
+ "additionalProperties": false
1864
+ },
1865
+ "annotations": {
1866
+ "title": "Refine a library submission",
1867
+ "readOnlyHint": false,
1868
+ "destructiveHint": false,
1869
+ "idempotentHint": false,
1870
+ "openWorldHint": false
1871
+ },
1872
+ "method": "library.review.refine",
1873
+ "kind": "write"
1874
+ },
1875
+ {
1876
+ "name": "reject_library_item",
1877
+ "title": "Reject",
1878
+ "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.",
1879
+ "inputSchema": {
1880
+ "type": "object",
1881
+ "properties": {
1882
+ "itemId": {
1883
+ "type": "string",
1884
+ "minLength": 1,
1885
+ "maxLength": 120,
1886
+ "pattern": "^[A-Za-z0-9_-]+$",
1887
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
1888
+ },
1889
+ "message": {
1890
+ "type": "string",
1891
+ "minLength": 1,
1892
+ "maxLength": 2000,
1893
+ "description": "Why: the author reads it."
1894
+ },
1895
+ "confirm": {
1896
+ "type": "string",
1897
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
1898
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
1899
+ },
1900
+ "idempotencyKey": {
1901
+ "type": "string",
1902
+ "pattern": "^[!-~]{1,128}$",
1903
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
1904
+ }
1905
+ },
1906
+ "required": [
1907
+ "itemId",
1908
+ "message"
1909
+ ],
1910
+ "additionalProperties": false
1911
+ },
1912
+ "annotations": {
1913
+ "title": "Reject",
1914
+ "readOnlyHint": false,
1915
+ "destructiveHint": false,
1916
+ "idempotentHint": false,
1917
+ "openWorldHint": false
1918
+ },
1919
+ "method": "library.review.reject",
1920
+ "kind": "write"
1921
+ },
1922
+ {
1923
+ "name": "request_library_changes",
1924
+ "title": "Request changes",
1925
+ "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.",
1926
+ "inputSchema": {
1927
+ "type": "object",
1928
+ "properties": {
1929
+ "itemId": {
1930
+ "type": "string",
1931
+ "minLength": 1,
1932
+ "maxLength": 120,
1933
+ "pattern": "^[A-Za-z0-9_-]+$",
1934
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
1935
+ },
1936
+ "message": {
1937
+ "type": "string",
1938
+ "minLength": 1,
1939
+ "maxLength": 2000,
1940
+ "description": "Why: the author reads it."
1941
+ },
1942
+ "confirm": {
1943
+ "type": "string",
1944
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
1945
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
1946
+ },
1947
+ "idempotencyKey": {
1948
+ "type": "string",
1949
+ "pattern": "^[!-~]{1,128}$",
1950
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
1951
+ }
1952
+ },
1953
+ "required": [
1954
+ "itemId",
1955
+ "message"
1956
+ ],
1957
+ "additionalProperties": false
1958
+ },
1959
+ "annotations": {
1960
+ "title": "Request changes",
1961
+ "readOnlyHint": false,
1962
+ "destructiveHint": false,
1963
+ "idempotentHint": false,
1964
+ "openWorldHint": false
1965
+ },
1966
+ "method": "library.review.requestChanges",
1967
+ "kind": "write"
1968
+ },
1969
+ {
1970
+ "name": "unpublish_library_item",
1971
+ "title": "Unpublish",
1972
+ "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.",
1973
+ "inputSchema": {
1974
+ "type": "object",
1975
+ "properties": {
1976
+ "itemId": {
1977
+ "type": "string",
1978
+ "minLength": 1,
1979
+ "maxLength": 120,
1980
+ "pattern": "^[A-Za-z0-9_-]+$",
1981
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
1982
+ },
1983
+ "message": {
1984
+ "type": "string",
1985
+ "minLength": 1,
1986
+ "maxLength": 2000,
1987
+ "description": "Why: the author reads it."
1988
+ },
1989
+ "confirm": {
1990
+ "type": "string",
1991
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
1992
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
1993
+ },
1994
+ "idempotencyKey": {
1995
+ "type": "string",
1996
+ "pattern": "^[!-~]{1,128}$",
1997
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
1998
+ }
1999
+ },
2000
+ "required": [
2001
+ "itemId",
2002
+ "message"
2003
+ ],
2004
+ "additionalProperties": false
2005
+ },
2006
+ "annotations": {
2007
+ "title": "Unpublish",
2008
+ "readOnlyHint": false,
2009
+ "destructiveHint": true,
2010
+ "idempotentHint": false,
2011
+ "openWorldHint": false
2012
+ },
2013
+ "method": "library.review.unpublish",
2014
+ "kind": "write"
2015
+ },
2016
+ {
2017
+ "name": "update_library_item",
2018
+ "title": "Edit a library item's details",
2019
+ "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.",
2020
+ "inputSchema": {
2021
+ "type": "object",
2022
+ "properties": {
2023
+ "itemId": {
2024
+ "type": "string",
2025
+ "minLength": 1,
2026
+ "maxLength": 120,
2027
+ "pattern": "^[A-Za-z0-9_-]+$",
2028
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
2029
+ },
2030
+ "title": {
2031
+ "type": "string",
2032
+ "minLength": 1,
2033
+ "maxLength": 80,
2034
+ "description": "Plain text, up to 80 characters."
2035
+ },
2036
+ "summary": {
2037
+ "type": "string",
2038
+ "minLength": 1,
2039
+ "maxLength": 160,
2040
+ "description": "One line, up to 160 characters."
2041
+ },
2042
+ "description": {
2043
+ "type": "string",
2044
+ "maxLength": 2000,
2045
+ "description": "Plain text, up to 2,000 characters."
2046
+ },
2047
+ "category": {
2048
+ "type": "string",
2049
+ "enum": [
2050
+ "plan",
2051
+ "decide",
2052
+ "meetings",
2053
+ "track",
2054
+ "map"
2055
+ ],
2056
+ "description": "One of the five categories: plan, decide, meetings, track, map."
2057
+ },
2058
+ "synonyms": {
2059
+ "type": "array",
2060
+ "maxItems": 12,
2061
+ "items": {
2062
+ "type": "string",
2063
+ "minLength": 1,
2064
+ "maxLength": 40
2065
+ },
2066
+ "description": "Smart components only: words people might search for."
2067
+ },
2068
+ "selfReview": {
2069
+ "type": "boolean",
2070
+ "description": "Review your own submission. Allowed only on a server with one administrator; the thread records it."
2071
+ },
2072
+ "confirm": {
2073
+ "type": "string",
2074
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2075
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2076
+ },
2077
+ "idempotencyKey": {
2078
+ "type": "string",
2079
+ "pattern": "^[!-~]{1,128}$",
2080
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2081
+ }
2082
+ },
2083
+ "required": [
2084
+ "itemId"
2085
+ ],
2086
+ "additionalProperties": false
2087
+ },
2088
+ "annotations": {
2089
+ "title": "Edit a library item's details",
2090
+ "readOnlyHint": false,
2091
+ "destructiveHint": false,
2092
+ "idempotentHint": false,
2093
+ "openWorldHint": false
2094
+ },
2095
+ "method": "library.review.update",
2096
+ "kind": "write"
2097
+ },
2098
+ {
2099
+ "name": "save_library_draft",
2100
+ "title": "Save a smart component",
2101
+ "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).",
2102
+ "inputSchema": {
2103
+ "type": "object",
2104
+ "properties": {
2105
+ "shareId": {
2106
+ "type": "string",
2107
+ "minLength": 1,
2108
+ "maxLength": 80,
2109
+ "pattern": "^[A-Za-z0-9_-]+$",
2110
+ "description": "The slate ID from its address: /canvas/<shareId>."
2111
+ },
2112
+ "boardId": {
2113
+ "type": "string",
2114
+ "pattern": "^[a-z0-9]{1,12}$",
2115
+ "description": "The board on the builder slate (main by default)."
2116
+ },
2117
+ "itemId": {
2118
+ "type": "string",
2119
+ "minLength": 1,
2120
+ "maxLength": 120,
2121
+ "pattern": "^[A-Za-z0-9_-]+$",
2122
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
2123
+ },
2124
+ "title": {
2125
+ "type": "string",
2126
+ "minLength": 1,
2127
+ "maxLength": 80,
2128
+ "description": "Plain text, up to 80 characters."
2129
+ },
2130
+ "summary": {
2131
+ "type": "string",
2132
+ "minLength": 1,
2133
+ "maxLength": 160,
2134
+ "description": "One line, up to 160 characters."
2135
+ },
2136
+ "description": {
2137
+ "type": "string",
2138
+ "maxLength": 2000,
2139
+ "description": "Plain text, up to 2,000 characters."
2140
+ },
2141
+ "category": {
2142
+ "type": "string",
2143
+ "enum": [
2144
+ "plan",
2145
+ "decide",
2146
+ "meetings",
2147
+ "track",
2148
+ "map"
2149
+ ],
2150
+ "description": "One of the five categories: plan, decide, meetings, track, map."
2151
+ },
2152
+ "synonyms": {
2153
+ "type": "array",
2154
+ "maxItems": 12,
2155
+ "items": {
2156
+ "type": "string",
2157
+ "minLength": 1,
2158
+ "maxLength": 40
2159
+ },
2160
+ "description": "Smart components only: words people might search for."
2161
+ },
2162
+ "confirm": {
2163
+ "type": "string",
2164
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2165
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2166
+ },
2167
+ "idempotencyKey": {
2168
+ "type": "string",
2169
+ "pattern": "^[!-~]{1,128}$",
2170
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2171
+ }
2172
+ },
2173
+ "required": [
2174
+ "shareId",
2175
+ "title",
2176
+ "summary"
2177
+ ],
2178
+ "additionalProperties": false
2179
+ },
2180
+ "annotations": {
2181
+ "title": "Save a smart component",
2182
+ "readOnlyHint": false,
2183
+ "destructiveHint": false,
2184
+ "idempotentHint": false,
2185
+ "openWorldHint": false
2186
+ },
2187
+ "method": "library.saveDraft",
2188
+ "kind": "write"
2189
+ },
2190
+ {
2191
+ "name": "get_library_stats",
2192
+ "title": "Count the library",
2193
+ "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.",
2194
+ "inputSchema": {
2195
+ "type": "object",
2196
+ "properties": {},
2197
+ "required": [],
2198
+ "additionalProperties": false
2199
+ },
2200
+ "annotations": {
2201
+ "title": "Count the library",
2202
+ "readOnlyHint": true,
2203
+ "destructiveHint": false,
2204
+ "idempotentHint": true,
2205
+ "openWorldHint": false
2206
+ },
2207
+ "method": "library.stats",
2208
+ "kind": "read"
2209
+ },
2210
+ {
2211
+ "name": "submit_to_library",
2212
+ "title": "Submit to the library",
2213
+ "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.",
2214
+ "inputSchema": {
2215
+ "type": "object",
2216
+ "properties": {
2217
+ "kind": {
2218
+ "type": "string",
2219
+ "enum": [
2220
+ "component",
2221
+ "slate",
2222
+ "presentation"
2223
+ ]
2224
+ },
2225
+ "itemId": {
2226
+ "type": "string",
2227
+ "minLength": 1,
2228
+ "maxLength": 120,
2229
+ "pattern": "^[A-Za-z0-9_-]+$",
2230
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
2231
+ },
2232
+ "shareId": {
2233
+ "type": "string",
2234
+ "minLength": 1,
2235
+ "maxLength": 80,
2236
+ "pattern": "^[A-Za-z0-9_-]+$",
2237
+ "description": "The slate ID from its address: /canvas/<shareId>."
2238
+ },
2239
+ "title": {
2240
+ "type": "string",
2241
+ "minLength": 1,
2242
+ "maxLength": 80,
2243
+ "description": "Plain text, up to 80 characters."
2244
+ },
2245
+ "summary": {
2246
+ "type": "string",
2247
+ "minLength": 1,
2248
+ "maxLength": 160,
2249
+ "description": "One line, up to 160 characters."
2250
+ },
2251
+ "description": {
2252
+ "type": "string",
2253
+ "maxLength": 2000,
2254
+ "description": "Plain text, up to 2,000 characters."
2255
+ },
2256
+ "category": {
2257
+ "type": "string",
2258
+ "enum": [
2259
+ "plan",
2260
+ "decide",
2261
+ "meetings",
2262
+ "track",
2263
+ "map"
2264
+ ],
2265
+ "description": "One of the five categories: plan, decide, meetings, track, map."
2266
+ },
2267
+ "synonyms": {
2268
+ "type": "array",
2269
+ "maxItems": 12,
2270
+ "items": {
2271
+ "type": "string",
2272
+ "minLength": 1,
2273
+ "maxLength": 40
2274
+ },
2275
+ "description": "Smart components only: words people might search for."
2276
+ },
2277
+ "note": {
2278
+ "type": "string",
2279
+ "minLength": 1,
2280
+ "maxLength": 2000,
2281
+ "description": "A note for the reviewer: the first message of the item's thread."
2282
+ },
2283
+ "confirm": {
2284
+ "type": "string",
2285
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2286
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2287
+ },
2288
+ "idempotencyKey": {
2289
+ "type": "string",
2290
+ "pattern": "^[!-~]{1,128}$",
2291
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2292
+ }
2293
+ },
2294
+ "required": [
2295
+ "kind"
2296
+ ],
2297
+ "additionalProperties": false
2298
+ },
2299
+ "annotations": {
2300
+ "title": "Submit to the library",
2301
+ "readOnlyHint": false,
2302
+ "destructiveHint": false,
2303
+ "idempotentHint": false,
2304
+ "openWorldHint": false
2305
+ },
2306
+ "method": "library.submit",
2307
+ "kind": "write"
2308
+ },
2309
+ {
2310
+ "name": "withdraw_library_item",
2311
+ "title": "Withdraw a library item",
2312
+ "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).",
2313
+ "inputSchema": {
2314
+ "type": "object",
2315
+ "properties": {
2316
+ "itemId": {
2317
+ "type": "string",
2318
+ "minLength": 1,
2319
+ "maxLength": 120,
2320
+ "pattern": "^[A-Za-z0-9_-]+$",
2321
+ "description": "The item: its id or its slug (library.list items[].id or .slug)."
2322
+ },
2323
+ "confirm": {
2324
+ "type": "string",
2325
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2326
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2327
+ },
2328
+ "idempotencyKey": {
2329
+ "type": "string",
2330
+ "pattern": "^[!-~]{1,128}$",
2331
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2332
+ }
2333
+ },
2334
+ "required": [
2335
+ "itemId"
2336
+ ],
2337
+ "additionalProperties": false
2338
+ },
2339
+ "annotations": {
2340
+ "title": "Withdraw a library item",
2341
+ "readOnlyHint": false,
2342
+ "destructiveHint": false,
2343
+ "idempotentHint": false,
1187
2344
  "openWorldHint": false
1188
2345
  },
1189
- "method": "components.list",
1190
- "kind": "read"
2346
+ "method": "library.withdraw",
2347
+ "kind": "write"
1191
2348
  },
1192
2349
  {
1193
- "name": "describe_instance",
1194
- "title": "Describe this instance",
1195
- "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.",
2350
+ "name": "lookup_media",
2351
+ "title": "Look up a video",
2352
+ "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
2353
  "inputSchema": {
1197
2354
  "type": "object",
1198
- "properties": {},
2355
+ "properties": {
2356
+ "url": {
2357
+ "type": "string",
2358
+ "minLength": 1,
2359
+ "maxLength": 2000,
2360
+ "description": "The video's address: a YouTube, Vimeo or Loom link."
2361
+ },
2362
+ "confirm": {
2363
+ "type": "string",
2364
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2365
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2366
+ },
2367
+ "idempotencyKey": {
2368
+ "type": "string",
2369
+ "pattern": "^[!-~]{1,128}$",
2370
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2371
+ }
2372
+ },
2373
+ "required": [
2374
+ "url"
2375
+ ],
1199
2376
  "additionalProperties": false
1200
2377
  },
1201
2378
  "annotations": {
1202
- "title": "Describe this instance",
1203
- "readOnlyHint": true,
2379
+ "title": "Look up a video",
2380
+ "readOnlyHint": false,
1204
2381
  "destructiveHint": false,
1205
2382
  "idempotentHint": true,
1206
- "openWorldHint": false
2383
+ "openWorldHint": true
1207
2384
  },
1208
- "method": "instance.describe",
1209
- "kind": "read"
2385
+ "method": "media.lookup",
2386
+ "kind": "write"
1210
2387
  },
1211
2388
  {
1212
2389
  "name": "show_plan",
@@ -1679,10 +2856,113 @@
1679
2856
  "method": "shapes.list",
1680
2857
  "kind": "read"
1681
2858
  },
2859
+ {
2860
+ "name": "search_icons",
2861
+ "title": "Search icons",
2862
+ "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.",
2863
+ "inputSchema": {
2864
+ "type": "object",
2865
+ "properties": {
2866
+ "q": {
2867
+ "type": "string",
2868
+ "minLength": 1,
2869
+ "maxLength": 100,
2870
+ "description": "Words for the icon, such as songbird."
2871
+ },
2872
+ "limit": {
2873
+ "type": "integer",
2874
+ "minimum": 1,
2875
+ "maximum": 24,
2876
+ "default": 12
2877
+ }
2878
+ },
2879
+ "required": [
2880
+ "q"
2881
+ ],
2882
+ "additionalProperties": false
2883
+ },
2884
+ "annotations": {
2885
+ "title": "Search icons",
2886
+ "readOnlyHint": true,
2887
+ "destructiveHint": false,
2888
+ "idempotentHint": true,
2889
+ "openWorldHint": true
2890
+ },
2891
+ "method": "shapes.searchIcons",
2892
+ "kind": "read"
2893
+ },
2894
+ {
2895
+ "name": "add_media_note",
2896
+ "title": "Add a video note",
2897
+ "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.",
2898
+ "inputSchema": {
2899
+ "type": "object",
2900
+ "properties": {
2901
+ "shareId": {
2902
+ "type": "string",
2903
+ "minLength": 1,
2904
+ "maxLength": 80,
2905
+ "pattern": "^[A-Za-z0-9_-]+$",
2906
+ "description": "The slate ID from its address: /canvas/<shareId>."
2907
+ },
2908
+ "url": {
2909
+ "type": "string",
2910
+ "minLength": 1,
2911
+ "maxLength": 2000,
2912
+ "description": "The video's address: a YouTube, Vimeo or Loom link."
2913
+ },
2914
+ "x": {
2915
+ "type": "number",
2916
+ "minimum": -1000000,
2917
+ "maximum": 1000000,
2918
+ "description": "The note's left edge, in canvas units. Send with y."
2919
+ },
2920
+ "y": {
2921
+ "type": "number",
2922
+ "minimum": -1000000,
2923
+ "maximum": 1000000,
2924
+ "description": "The note's top edge, in canvas units. Send with x."
2925
+ },
2926
+ "mode": {
2927
+ "type": "string",
2928
+ "enum": [
2929
+ "save",
2930
+ "preview"
2931
+ ],
2932
+ "default": "save",
2933
+ "description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
2934
+ },
2935
+ "confirm": {
2936
+ "type": "string",
2937
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2938
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2939
+ },
2940
+ "idempotencyKey": {
2941
+ "type": "string",
2942
+ "pattern": "^[!-~]{1,128}$",
2943
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2944
+ }
2945
+ },
2946
+ "required": [
2947
+ "shareId",
2948
+ "url"
2949
+ ],
2950
+ "additionalProperties": false
2951
+ },
2952
+ "annotations": {
2953
+ "title": "Add a video note",
2954
+ "readOnlyHint": false,
2955
+ "destructiveHint": false,
2956
+ "idempotentHint": false,
2957
+ "openWorldHint": false
2958
+ },
2959
+ "method": "slates.addMedia",
2960
+ "kind": "write"
2961
+ },
1682
2962
  {
1683
2963
  "name": "edit_slate",
1684
2964
  "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.\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).",
2965
+ "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
2966
  "inputSchema": {
1687
2967
  "type": "object",
1688
2968
  "properties": {
@@ -1800,7 +3080,7 @@
1800
3080
  {
1801
3081
  "name": "copy_slate",
1802
3082
  "title": "Copy a slate",
1803
- "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.",
3083
+ "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
3084
  "inputSchema": {
1805
3085
  "type": "object",
1806
3086
  "properties": {
@@ -1816,19 +3096,6 @@
1816
3096
  "minLength": 1,
1817
3097
  "maxLength": 200
1818
3098
  },
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
3099
  "confirm": {
1833
3100
  "type": "string",
1834
3101
  "pattern": "^cf_[A-Za-z0-9]{24}$",
@@ -2003,7 +3270,7 @@
2003
3270
  {
2004
3271
  "name": "get_slate",
2005
3272
  "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.",
3273
+ "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
3274
  "inputSchema": {
2008
3275
  "type": "object",
2009
3276
  "properties": {
@@ -2017,7 +3284,8 @@
2017
3284
  "include": {
2018
3285
  "type": "string",
2019
3286
  "enum": [
2020
- "full"
3287
+ "full",
3288
+ "suggestions"
2021
3289
  ]
2022
3290
  },
2023
3291
  "fields": {
@@ -2232,6 +3500,46 @@
2232
3500
  "method": "slates.list",
2233
3501
  "kind": "read"
2234
3502
  },
3503
+ {
3504
+ "name": "redo_my_edit",
3505
+ "title": "Redo my last undo",
3506
+ "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.",
3507
+ "inputSchema": {
3508
+ "type": "object",
3509
+ "properties": {
3510
+ "shareId": {
3511
+ "type": "string",
3512
+ "minLength": 1,
3513
+ "maxLength": 80,
3514
+ "pattern": "^[A-Za-z0-9_-]+$",
3515
+ "description": "The slate ID from its address: /canvas/<shareId>."
3516
+ },
3517
+ "confirm": {
3518
+ "type": "string",
3519
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
3520
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
3521
+ },
3522
+ "idempotencyKey": {
3523
+ "type": "string",
3524
+ "pattern": "^[!-~]{1,128}$",
3525
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
3526
+ }
3527
+ },
3528
+ "required": [
3529
+ "shareId"
3530
+ ],
3531
+ "additionalProperties": false
3532
+ },
3533
+ "annotations": {
3534
+ "title": "Redo my last undo",
3535
+ "readOnlyHint": false,
3536
+ "destructiveHint": true,
3537
+ "idempotentHint": false,
3538
+ "openWorldHint": false
3539
+ },
3540
+ "method": "slates.redo",
3541
+ "kind": "write"
3542
+ },
2235
3543
  {
2236
3544
  "name": "revoke_slate_invite",
2237
3545
  "title": "Withdraw a slate's invitation link",
@@ -2277,6 +3585,115 @@
2277
3585
  "method": "slates.revokeInvite",
2278
3586
  "kind": "write"
2279
3587
  },
3588
+ {
3589
+ "name": "undo_my_edit",
3590
+ "title": "Undo my last edit",
3591
+ "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).",
3592
+ "inputSchema": {
3593
+ "type": "object",
3594
+ "properties": {
3595
+ "shareId": {
3596
+ "type": "string",
3597
+ "minLength": 1,
3598
+ "maxLength": 80,
3599
+ "pattern": "^[A-Za-z0-9_-]+$",
3600
+ "description": "The slate ID from its address: /canvas/<shareId>."
3601
+ },
3602
+ "confirm": {
3603
+ "type": "string",
3604
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
3605
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
3606
+ },
3607
+ "idempotencyKey": {
3608
+ "type": "string",
3609
+ "pattern": "^[!-~]{1,128}$",
3610
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
3611
+ }
3612
+ },
3613
+ "required": [
3614
+ "shareId"
3615
+ ],
3616
+ "additionalProperties": false
3617
+ },
3618
+ "annotations": {
3619
+ "title": "Undo my last edit",
3620
+ "readOnlyHint": false,
3621
+ "destructiveHint": true,
3622
+ "idempotentHint": false,
3623
+ "openWorldHint": false
3624
+ },
3625
+ "method": "slates.undo",
3626
+ "kind": "write"
3627
+ },
3628
+ {
3629
+ "name": "decide_suggestions",
3630
+ "title": "Keep, discard or undo agent work",
3631
+ "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. An invited agent's action card (a waiting note that stands for a change outside Slatebox, such as a new Linear issue) is approved by keeping that note on its own (itemIds) and declined by discarding it; Keep all never approves one, and held[] says why a card waits.",
3632
+ "inputSchema": {
3633
+ "type": "object",
3634
+ "properties": {
3635
+ "shareId": {
3636
+ "type": "string",
3637
+ "minLength": 1,
3638
+ "maxLength": 80,
3639
+ "pattern": "^[A-Za-z0-9_-]+$",
3640
+ "description": "The slate ID from its address: /canvas/<shareId>."
3641
+ },
3642
+ "decision": {
3643
+ "type": "string",
3644
+ "enum": [
3645
+ "keep",
3646
+ "discard",
3647
+ "undo"
3648
+ ]
3649
+ },
3650
+ "actionId": {
3651
+ "type": "string",
3652
+ "minLength": 1,
3653
+ "maxLength": 64,
3654
+ "pattern": "^[A-Za-z0-9_-]+$",
3655
+ "description": "The action, as list_suggestions gives it (actions[].actionId)."
3656
+ },
3657
+ "itemIds": {
3658
+ "type": "array",
3659
+ "minItems": 1,
3660
+ "maxItems": 200,
3661
+ "items": {
3662
+ "type": "string",
3663
+ "minLength": 1,
3664
+ "maxLength": 64,
3665
+ "pattern": "^[A-Za-z0-9_-]+$"
3666
+ },
3667
+ "description": "Only these items of the action."
3668
+ },
3669
+ "confirm": {
3670
+ "type": "string",
3671
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
3672
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
3673
+ },
3674
+ "idempotencyKey": {
3675
+ "type": "string",
3676
+ "pattern": "^[!-~]{1,128}$",
3677
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
3678
+ }
3679
+ },
3680
+ "required": [
3681
+ "shareId",
3682
+ "decision",
3683
+ "actionId"
3684
+ ],
3685
+ "additionalProperties": false
3686
+ },
3687
+ "annotations": {
3688
+ "title": "Keep, discard or undo agent work",
3689
+ "readOnlyHint": false,
3690
+ "destructiveHint": true,
3691
+ "idempotentHint": false,
3692
+ "openWorldHint": false
3693
+ },
3694
+ "method": "suggestions.decide",
3695
+ "kind": "write"
3696
+ },
2280
3697
  {
2281
3698
  "name": "export_team",
2282
3699
  "title": "Export your team",
@@ -2585,6 +4002,25 @@
2585
4002
  "given": {
2586
4003
  "style": " Once they have pressed Present, play it in the {value} style with style_presentation (or slatebox.presentations.setStyle)."
2587
4004
  }
4005
+ },
4006
+ {
4007
+ "name": "install_slatebox",
4008
+ "title": "Install Slatebox on a machine",
4009
+ "description": "Walk a person through installing their own Slatebox on a computer, a server or Kubernetes with the npx slatebox installer.",
4010
+ "arguments": [
4011
+ {
4012
+ "name": "where",
4013
+ "description": "Where it should run, such as \"this laptop\", \"my Ubuntu server\" or \"our Kubernetes cluster\" (optional).",
4014
+ "required": false
4015
+ }
4016
+ ],
4017
+ "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",
4018
+ "defaults": {
4019
+ "where": ""
4020
+ },
4021
+ "given": {
4022
+ "where": " on {value}"
4023
+ }
2588
4024
  }
2589
4025
  ],
2590
4026
  "resources": [