slatebox-mcp 0.4.1 → 0.5.1

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.
@@ -9,7 +9,7 @@
9
9
  "exec": {
10
10
  "name": "exec",
11
11
  "title": "Create or edit slates with a script",
12
- "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)",
12
+ "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, list, update} (inputs in describe)\nai.{check, get, update} (inputs in describe)\ncomments.{add, list, remove, resolve} (inputs in describe)\ncomponents.{get, list} (inputs in describe)\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\npersonal.ideas.{build, dismiss, list, refresh} (inputs in describe)\npresence.{plan, step} (inputs in describe)\npresentations.create({shareId,style?,palette?,brief?}): Present\npresentations.get({shareId}): Deck\npresentations.setStyle({shareId,style,palette?}): Restyle\nprofile.facts.{add, clear, hide, list, remove, update} (inputs in describe)\nprofile.settings.get({}): Personalization settings\nprojects.{access, create, delete, get, list, moveSlate, share, slates, update} (inputs in describe)\nsecurity.{draw, get, set} (inputs in describe)\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?,projectId?}): Copy slate\nslates.create({kind?,brief,source?,projectId?}): 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?,outline?,shareId?,…}): Draw Mermaid\nslates.issueInvite({shareId,role}): Share by invitation\nslates.list({scope?,projectId?,q?,…}): List slates\nslates.live({shareId}): Watch a slate live\nslates.redo({shareId}): Redo\nslates.revokeInvite({shareId,inviteId}): Unshare\nslates.undo({shareId}): Undo\nslates.view({shareId}): Show\nsuggestions.decide({shareId,decision,actionId,itemIds?}): Keep/discard/undo\nteam.export({}): Export team\nteamImports.{confirm, discard, get, invite, list, start} (inputs in describe)",
13
13
  "inputSchema": {
14
14
  "type": "object",
15
15
  "properties": {
@@ -614,7 +614,7 @@
614
614
  {
615
615
  "name": "check_ai_connection",
616
616
  "title": "Test a model connection",
617
- "description": "Test whether Slatebox can reach a model connection (a provider key, or an OpenAI-compatible endpoint) before the Slatebox agent drafts with it.\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.",
617
+ "description": "Test whether Slatebox can reach a model connection (a provider key, or an OpenAI-compatible endpoint) before the Slatebox agent drafts with it.\n\nTest AI. Tests your own or your team's saved connection (name) or one not yet saved (connection): 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. On Slatebox Cloud an address must be public https; on a self-hosted Slatebox a model on the host is at host.docker.internal, not localhost.",
618
618
  "inputSchema": {
619
619
  "type": "object",
620
620
  "properties": {
@@ -641,7 +641,7 @@
641
641
  "type": {
642
642
  "type": "string",
643
643
  "pattern": "^[a-z0-9][a-z0-9-]{0,39}$",
644
- "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."
644
+ "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, and the voice providers openai-realtime and gemini-live), or one an administrator added."
645
645
  },
646
646
  "baseUrl": {
647
647
  "type": "string",
@@ -741,7 +741,7 @@
741
741
  {
742
742
  "name": "update_ai_settings",
743
743
  "title": "Change model connections and choices",
744
- "description": "Add, change or remove the model connections the Slatebox agent 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.",
744
+ "description": "Add, change or remove the model connections the Slatebox agent drafts with, and choose which connection each feature uses.\n\nSet AI. Your own or your team's AI: 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 is optional, on Slatebox Cloud and self-hosted alike. On Slatebox Cloud requests it serves spend no Slatebox credits, and an address must be public https.",
745
745
  "inputSchema": {
746
746
  "type": "object",
747
747
  "properties": {
@@ -768,7 +768,7 @@
768
768
  "type": {
769
769
  "type": "string",
770
770
  "pattern": "^[a-z0-9][a-z0-9-]{0,39}$",
771
- "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."
771
+ "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, and the voice providers openai-realtime and gemini-live), or one an administrator added."
772
772
  },
773
773
  "baseUrl": {
774
774
  "type": "string",
@@ -834,130 +834,7 @@
834
834
  },
835
835
  "use": {
836
836
  "type": "object",
837
- "properties": {
838
- "default": {
839
- "type": [
840
- "string",
841
- "null"
842
- ],
843
- "maxLength": 48,
844
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
845
- },
846
- "chat": {
847
- "type": [
848
- "string",
849
- "null"
850
- ],
851
- "maxLength": 48,
852
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
853
- },
854
- "chat.route": {
855
- "type": [
856
- "string",
857
- "null"
858
- ],
859
- "maxLength": 48,
860
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
861
- },
862
- "generation": {
863
- "type": [
864
- "string",
865
- "null"
866
- ],
867
- "maxLength": 48,
868
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
869
- },
870
- "generation.notes": {
871
- "type": [
872
- "string",
873
- "null"
874
- ],
875
- "maxLength": 48,
876
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
877
- },
878
- "presentation": {
879
- "type": [
880
- "string",
881
- "null"
882
- ],
883
- "maxLength": 48,
884
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
885
- },
886
- "vision": {
887
- "type": [
888
- "string",
889
- "null"
890
- ],
891
- "maxLength": 48,
892
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
893
- },
894
- "images": {
895
- "type": [
896
- "string",
897
- "null"
898
- ],
899
- "maxLength": 48,
900
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
901
- },
902
- "shape": {
903
- "type": [
904
- "string",
905
- "null"
906
- ],
907
- "maxLength": 48,
908
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
909
- },
910
- "workshop": {
911
- "type": [
912
- "string",
913
- "null"
914
- ],
915
- "maxLength": 48,
916
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
917
- },
918
- "workshop.draft": {
919
- "type": [
920
- "string",
921
- "null"
922
- ],
923
- "maxLength": 48,
924
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
925
- },
926
- "canvas": {
927
- "type": [
928
- "string",
929
- "null"
930
- ],
931
- "maxLength": 48,
932
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
933
- },
934
- "agent.slatebox": {
935
- "type": [
936
- "string",
937
- "null"
938
- ],
939
- "maxLength": 48,
940
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
941
- },
942
- "library": {
943
- "type": [
944
- "string",
945
- "null"
946
- ],
947
- "maxLength": 48,
948
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
949
- },
950
- "connectors": {
951
- "type": [
952
- "string",
953
- "null"
954
- ],
955
- "maxLength": 48,
956
- "description": "me:<name> or team:<name> for a connection, builtin for this server's model (Admin → AI control), null to clear."
957
- }
958
- },
959
- "additionalProperties": false,
960
- "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."
837
+ "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. Its full type is long and is in describe, methods [\"ai.update\"]."
961
838
  },
962
839
  "ownProviders": {
963
840
  "type": "string",
@@ -1409,6 +1286,16 @@
1409
1286
  "maxLength": 12,
1410
1287
  "pattern": "^[0-9]+$",
1411
1288
  "description": "The next value the previous page gave."
1289
+ },
1290
+ "kind": {
1291
+ "type": "string",
1292
+ "enum": [
1293
+ "component",
1294
+ "slate",
1295
+ "presentation",
1296
+ "integration"
1297
+ ],
1298
+ "description": "One kind only. Integrations are exported only when asked for by name."
1412
1299
  }
1413
1300
  },
1414
1301
  "required": [],
@@ -1540,7 +1427,7 @@
1540
1427
  {
1541
1428
  "name": "list_library",
1542
1429
  "title": "Browse the library of boards, slates and decks",
1543
- "description": "Browse the shared Slatebox library: smart components (boards with rules, such as retro, planning and pipeline boards, built in or made by people), and 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.",
1430
+ "description": "Browse the shared Slatebox library: smart components (boards with rules, such as retro, planning and pipeline boards, built in or made by people), and 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, make), 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.",
1544
1431
  "inputSchema": {
1545
1432
  "type": "object",
1546
1433
  "properties": {
@@ -1549,7 +1436,8 @@
1549
1436
  "enum": [
1550
1437
  "component",
1551
1438
  "slate",
1552
- "presentation"
1439
+ "presentation",
1440
+ "integration"
1553
1441
  ]
1554
1442
  },
1555
1443
  "category": {
@@ -1559,9 +1447,17 @@
1559
1447
  "decide",
1560
1448
  "meetings",
1561
1449
  "track",
1562
- "map"
1450
+ "map",
1451
+ "make",
1452
+ "work",
1453
+ "workspace",
1454
+ "dev",
1455
+ "design",
1456
+ "business",
1457
+ "research",
1458
+ "web"
1563
1459
  ],
1564
- "description": "One of the five categories: plan, decide, meetings, track, map."
1460
+ "description": "One of the categories plan, decide, meetings, track, map, make. An integration takes work, workspace, dev, design, business, research or web."
1565
1461
  },
1566
1462
  "q": {
1567
1463
  "type": "string",
@@ -1693,7 +1589,7 @@
1693
1589
  {
1694
1590
  "name": "open_library_review",
1695
1591
  "title": "Open a library submission",
1696
- "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.",
1592
+ "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. A suggested integration has no copy: opening it reaches its server again (anonymously, with every address check) and answers what it found.",
1697
1593
  "inputSchema": {
1698
1594
  "type": "object",
1699
1595
  "properties": {
@@ -1759,7 +1655,8 @@
1759
1655
  "enum": [
1760
1656
  "component",
1761
1657
  "slate",
1762
- "presentation"
1658
+ "presentation",
1659
+ "integration"
1763
1660
  ]
1764
1661
  },
1765
1662
  "source": {
@@ -2056,9 +1953,17 @@
2056
1953
  "decide",
2057
1954
  "meetings",
2058
1955
  "track",
2059
- "map"
1956
+ "map",
1957
+ "make",
1958
+ "work",
1959
+ "workspace",
1960
+ "dev",
1961
+ "design",
1962
+ "business",
1963
+ "research",
1964
+ "web"
2060
1965
  ],
2061
- "description": "One of the five categories: plan, decide, meetings, track, map."
1966
+ "description": "One of the categories plan, decide, meetings, track, map, make. An integration takes work, workspace, dev, design, business, research or web."
2062
1967
  },
2063
1968
  "synonyms": {
2064
1969
  "type": "array",
@@ -2150,9 +2055,17 @@
2150
2055
  "decide",
2151
2056
  "meetings",
2152
2057
  "track",
2153
- "map"
2058
+ "map",
2059
+ "make",
2060
+ "work",
2061
+ "workspace",
2062
+ "dev",
2063
+ "design",
2064
+ "business",
2065
+ "research",
2066
+ "web"
2154
2067
  ],
2155
- "description": "One of the five categories: plan, decide, meetings, track, map."
2068
+ "description": "One of the categories plan, decide, meetings, track, map, make. An integration takes work, workspace, dev, design, business, research or web."
2156
2069
  },
2157
2070
  "synonyms": {
2158
2071
  "type": "array",
@@ -2215,7 +2128,7 @@
2215
2128
  {
2216
2129
  "name": "submit_to_library",
2217
2130
  "title": "Submit to the library",
2218
- "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.",
2131
+ "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), a slate you own or administer (shareId; kind presentation sends its deck too), or a custom MCP server you connected (kind integration, integrationId: approved, it is offered to everyone in Connect an integration; its address and words become public, never your sign-in). 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.",
2219
2132
  "inputSchema": {
2220
2133
  "type": "object",
2221
2134
  "properties": {
@@ -2224,7 +2137,8 @@
2224
2137
  "enum": [
2225
2138
  "component",
2226
2139
  "slate",
2227
- "presentation"
2140
+ "presentation",
2141
+ "integration"
2228
2142
  ]
2229
2143
  },
2230
2144
  "itemId": {
@@ -2265,9 +2179,17 @@
2265
2179
  "decide",
2266
2180
  "meetings",
2267
2181
  "track",
2268
- "map"
2182
+ "map",
2183
+ "make",
2184
+ "work",
2185
+ "workspace",
2186
+ "dev",
2187
+ "design",
2188
+ "business",
2189
+ "research",
2190
+ "web"
2269
2191
  ],
2270
- "description": "One of the five categories: plan, decide, meetings, track, map."
2192
+ "description": "One of the categories plan, decide, meetings, track, map, make. An integration takes work, workspace, dev, design, business, research or web."
2271
2193
  },
2272
2194
  "synonyms": {
2273
2195
  "type": "array",
@@ -2279,6 +2201,31 @@
2279
2201
  },
2280
2202
  "description": "Smart components only: words people might search for."
2281
2203
  },
2204
+ "integrationId": {
2205
+ "type": "string",
2206
+ "minLength": 1,
2207
+ "maxLength": 64,
2208
+ "pattern": "^[A-Za-z0-9_-]+$",
2209
+ "description": "kind integration: the connected integration to submit (integrations.list)."
2210
+ },
2211
+ "homepage": {
2212
+ "type": "string",
2213
+ "maxLength": 300,
2214
+ "description": "kind integration: its homepage or docs (https)."
2215
+ },
2216
+ "auth": {
2217
+ "type": "string",
2218
+ "enum": [
2219
+ "none",
2220
+ "oauth",
2221
+ "key"
2222
+ ],
2223
+ "description": "kind integration: how it signs people in: none, oauth or key."
2224
+ },
2225
+ "consent": {
2226
+ "type": "boolean",
2227
+ "description": "kind integration: the person agrees its address, name and description become public if approved."
2228
+ },
2282
2229
  "note": {
2283
2230
  "type": "string",
2284
2231
  "minLength": 1,
@@ -2390,6 +2337,131 @@
2390
2337
  "method": "media.lookup",
2391
2338
  "kind": "write"
2392
2339
  },
2340
+ {
2341
+ "name": "build_idea_for_you",
2342
+ "title": "Build an idea made for the person",
2343
+ "description": "Build one idea made for the person: drafted from their words, saved as their private library draft, opened on a new private slate.\n\nBuild an idea made for you. Builds one idea: the agent drafts it from your words (metered as a board draft), it is saved as your own private smart component in the library, and it opens on a new private slate. An idea built already answers the slate it opened on. A stale idea (About you changed since) is refused with 409 ideas_stale: refresh first. A token also needs slates:write.",
2344
+ "inputSchema": {
2345
+ "type": "object",
2346
+ "properties": {
2347
+ "ideaId": {
2348
+ "type": "string",
2349
+ "pattern": "^i[a-f0-9]{15}$",
2350
+ "description": "The idea, as personal.ideas.list gives it (ideas[].id)."
2351
+ },
2352
+ "confirm": {
2353
+ "type": "string",
2354
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2355
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2356
+ },
2357
+ "idempotencyKey": {
2358
+ "type": "string",
2359
+ "pattern": "^[!-~]{1,128}$",
2360
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2361
+ }
2362
+ },
2363
+ "required": [
2364
+ "ideaId"
2365
+ ],
2366
+ "additionalProperties": false
2367
+ },
2368
+ "annotations": {
2369
+ "title": "Build an idea made for the person",
2370
+ "readOnlyHint": false,
2371
+ "destructiveHint": false,
2372
+ "idempotentHint": false,
2373
+ "openWorldHint": false
2374
+ },
2375
+ "method": "personal.ideas.build",
2376
+ "kind": "write"
2377
+ },
2378
+ {
2379
+ "name": "dismiss_idea_for_you",
2380
+ "title": "Turn down an idea made for the person",
2381
+ "description": "Turn down one idea made for the person, so it is not suggested again.\n\nNot for me. Turns down one idea: it goes, and the agent is not asked for it again.",
2382
+ "inputSchema": {
2383
+ "type": "object",
2384
+ "properties": {
2385
+ "ideaId": {
2386
+ "type": "string",
2387
+ "pattern": "^i[a-f0-9]{15}$",
2388
+ "description": "The idea, as personal.ideas.list gives it (ideas[].id)."
2389
+ },
2390
+ "confirm": {
2391
+ "type": "string",
2392
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2393
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2394
+ },
2395
+ "idempotencyKey": {
2396
+ "type": "string",
2397
+ "pattern": "^[!-~]{1,128}$",
2398
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2399
+ }
2400
+ },
2401
+ "required": [
2402
+ "ideaId"
2403
+ ],
2404
+ "additionalProperties": false
2405
+ },
2406
+ "annotations": {
2407
+ "title": "Turn down an idea made for the person",
2408
+ "readOnlyHint": false,
2409
+ "destructiveHint": false,
2410
+ "idempotentHint": false,
2411
+ "openWorldHint": false
2412
+ },
2413
+ "method": "personal.ideas.dismiss",
2414
+ "kind": "write"
2415
+ },
2416
+ {
2417
+ "name": "list_ideas_for_you",
2418
+ "title": "Read the ideas made for the person",
2419
+ "description": "Read the smart components and printable pages Slatebox suggested for the person's work, each with why it fits.\n\nIdeas made for you. The smart components and printable pages Slatebox suggested for your work (For you), each with why it fits and what Build it makes, from what you keep in About you and the tools you connected. Asks nothing of the agent. Only you see them.",
2420
+ "inputSchema": {
2421
+ "type": "object",
2422
+ "properties": {},
2423
+ "additionalProperties": false
2424
+ },
2425
+ "annotations": {
2426
+ "title": "Read the ideas made for the person",
2427
+ "readOnlyHint": true,
2428
+ "destructiveHint": false,
2429
+ "idempotentHint": true,
2430
+ "openWorldHint": false
2431
+ },
2432
+ "method": "personal.ideas.list",
2433
+ "kind": "read"
2434
+ },
2435
+ {
2436
+ "name": "refresh_ideas_for_you",
2437
+ "title": "Get new ideas made for the person",
2438
+ "description": "Ask Slatebox for new smart components and printable pages made for the person's work, from their About you and connected tools.\n\nGet new ideas made for you. Asks the agent for 3 to 6 new ideas made for your work, from what you keep in About you and the names of the tools you connected; they replace the ones shown. One metered request, up to 10 an hour. With personalization off, or nothing known about you yet, nothing is asked and the empty state says what to do.",
2439
+ "inputSchema": {
2440
+ "type": "object",
2441
+ "properties": {
2442
+ "confirm": {
2443
+ "type": "string",
2444
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2445
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2446
+ },
2447
+ "idempotencyKey": {
2448
+ "type": "string",
2449
+ "pattern": "^[!-~]{1,128}$",
2450
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2451
+ }
2452
+ },
2453
+ "additionalProperties": false
2454
+ },
2455
+ "annotations": {
2456
+ "title": "Get new ideas made for the person",
2457
+ "readOnlyHint": false,
2458
+ "destructiveHint": false,
2459
+ "idempotentHint": false,
2460
+ "openWorldHint": false
2461
+ },
2462
+ "method": "personal.ideas.refresh",
2463
+ "kind": "write"
2464
+ },
2393
2465
  {
2394
2466
  "name": "show_plan",
2395
2467
  "title": "Show your plan to people on the slate",
@@ -2599,7 +2671,7 @@
2599
2671
  {
2600
2672
  "name": "get_presentation",
2601
2673
  "title": "Read a presentation",
2602
- "description": "Read a slate's presentation (its slides): its style and each step's layout and caption.\n\nDeck. Read your latest presentation of a slate: its style, and each step's layout (title, overview, dive, hero, treeBuild, trace, sweep, group, bigNumber, quote, split, compare, cover, finale), kicker and caption. The deck plays on the live canvas with Prezi-style camera moves.",
2674
+ "description": "Read a slate's presentation (its slides): its style and each step's layout and caption.\n\nDeck. Read your latest presentation of a slate (or, when you have none, the slate's published one): its style, and each step's layout (title, overview, dive, hero, treeBuild, trace, sweep, group, bigNumber, quote, split, compare, cover, finale), kicker, caption, the notes it shows and what the camera frames (box, fill). The deck plays on the live canvas with Prezi-style camera moves.",
2603
2675
  "inputSchema": {
2604
2676
  "type": "object",
2605
2677
  "properties": {
@@ -2629,7 +2701,7 @@
2629
2701
  {
2630
2702
  "name": "style_presentation",
2631
2703
  "title": "Restyle a presentation",
2632
- "description": "Switch a slate's presentation (its slides) to another style (voyage, stage, editorial, neon, sketch, blueprint, journey, calm), keeping its steps.\n\nRestyle. Play your latest presentation of a slate in another style (voyage, stage, editorial, neon, sketch, blueprint, journey, calm), optionally with your own palette (3 to 6 colors). The same steps in the same order: no AI is asked and nothing is counted.",
2704
+ "description": "Put another style (voyage, stage, editorial, neon, sketch, blueprint, journey, calm) on a slate and its presentation, keeping its steps. The slate itself wears it: its background, its notes' look, and the style's title cards, captions and art as real notes on the canvas; Present only plays the slate. undo_my_edit takes it back.\n\nRestyle. Put another style (voyage, stage, editorial, neon, sketch, blueprint, journey, calm) on a slate and your latest presentation of it, optionally with your own palette (3 to 6 colors). The slate itself wears the style (its background, its notes' look, and the style's title cards, captions and art as real notes), and the presentation is the camera over it: the same steps in the same order. No AI is asked and nothing is counted. Saved as your own edit of the slate (slates.undo takes it back). An agent wears a style by the rules slate settings meet: 423 agents_paused while people paused agents, 409 needs_direct_edit unless a person lets it edit directly.",
2633
2705
  "inputSchema": {
2634
2706
  "type": "object",
2635
2707
  "properties": {
@@ -2691,48 +2763,33 @@
2691
2763
  "kind": "write"
2692
2764
  },
2693
2765
  {
2694
- "name": "apply_shape",
2695
- "title": "Give notes a shape",
2696
- "description": "Give notes on a slate a built-in or custom shape, such as one from the shape library or one just drawn.\n\nShape notes. Give notes a shape: a built-in name (ellipse, star), \"lib:<id>\" or a name from shapes.list, or a candidateId from shapes.generate (saved to your library). Each note keeps its width and takes the shape's proportions. One save; mode \"preview\" saves nothing.",
2766
+ "name": "add_profile_fact",
2767
+ "title": "Remember something about the person",
2768
+ "description": "Add one fact to the person's About you, in their words, when they tell you something about their work they want Slatebox to remember.\n\nAdd something about you. Adds a fact to About you in your words: a kind (role, team, work, goal, project, tool, topic, style, routine, other) and a few words. The same fact again answers the one you have (added false). About you keeps up to 200 facts. An agent cannot add while personalization is off.",
2697
2769
  "inputSchema": {
2698
2770
  "type": "object",
2699
2771
  "properties": {
2700
- "shareId": {
2772
+ "kind": {
2701
2773
  "type": "string",
2702
- "minLength": 1,
2703
- "maxLength": 80,
2704
- "pattern": "^[A-Za-z0-9_-]+$",
2705
- "description": "The slate ID from its address: /canvas/<shareId>."
2706
- },
2707
- "ids": {
2708
- "type": "array",
2709
- "minItems": 1,
2710
- "maxItems": 200,
2711
- "items": {
2712
- "type": "string",
2713
- "minLength": 1,
2714
- "maxLength": 128
2715
- },
2716
- "description": "The notes."
2774
+ "enum": [
2775
+ "role",
2776
+ "team",
2777
+ "work",
2778
+ "goal",
2779
+ "project",
2780
+ "tool",
2781
+ "topic",
2782
+ "style",
2783
+ "routine",
2784
+ "other"
2785
+ ],
2786
+ "description": "What the fact is about: role, team, work, goal, project, tool, topic, style, routine, other."
2717
2787
  },
2718
- "shape": {
2788
+ "text": {
2719
2789
  "type": "string",
2720
2790
  "minLength": 1,
2721
- "maxLength": 120
2722
- },
2723
- "expectedRevision": {
2724
- "type": "integer",
2725
- "minimum": 0,
2726
- "description": "The revision you read; the current one when left out."
2727
- },
2728
- "mode": {
2729
- "type": "string",
2730
- "enum": [
2731
- "save",
2732
- "preview"
2733
- ],
2734
- "default": "save",
2735
- "description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
2791
+ "maxLength": 280,
2792
+ "description": "The fact in a few plain words, up to 280 characters (\"Product manager\", \"Uses Linear\")."
2736
2793
  },
2737
2794
  "confirm": {
2738
2795
  "type": "string",
@@ -2746,37 +2803,1329 @@
2746
2803
  }
2747
2804
  },
2748
2805
  "required": [
2749
- "shareId",
2750
- "ids",
2751
- "shape"
2806
+ "kind",
2807
+ "text"
2752
2808
  ],
2753
2809
  "additionalProperties": false
2754
2810
  },
2755
2811
  "annotations": {
2756
- "title": "Give notes a shape",
2812
+ "title": "Remember something about the person",
2757
2813
  "readOnlyHint": false,
2758
2814
  "destructiveHint": false,
2759
2815
  "idempotentHint": false,
2760
2816
  "openWorldHint": false
2761
2817
  },
2762
- "method": "shapes.apply",
2818
+ "method": "profile.facts.add",
2763
2819
  "kind": "write"
2764
2820
  },
2765
2821
  {
2766
- "name": "generate_shape",
2767
- "title": "Draw a custom shape",
2768
- "description": "Draw custom outlines for notes from a description, such as a rocket or a speech bubble.\n\nDraw shapes. Draw 1 to 4 outlines for notes from a description (\"a rocket\", \"a speech bubble with the tail on the left\"), using the AI feature shape (counted like other AI use). Each candidate is one checked SVG path: shapes.apply takes its candidateId (good for 30 days), and an applyOperations update_nodes or add_nodes plan takes {name, d, fillRule} as the shape. The same description again returns the same candidates at no cost unless fresh is true. At most 20 drawings per person per hour.",
2822
+ "name": "clear_profile_facts",
2823
+ "title": "Delete what Slatebox knows about the person",
2824
+ "description": "Remove every About you fact, or those from one kind of source.\n\nDelete all facts about you. Removes every fact in About you, or only those from one kind of source (source). Your switches stay as they are.",
2769
2825
  "inputSchema": {
2770
2826
  "type": "object",
2771
2827
  "properties": {
2772
- "describe": {
2828
+ "source": {
2773
2829
  "type": "string",
2774
- "minLength": 1,
2775
- "maxLength": 200,
2776
- "description": "The shape, in plain words."
2830
+ "enum": [
2831
+ "typed",
2832
+ "interview",
2833
+ "integration",
2834
+ "upload",
2835
+ "first-slate"
2836
+ ],
2837
+ "description": "Only facts from this kind of source."
2777
2838
  },
2778
- "count": {
2779
- "type": "integer",
2839
+ "confirm": {
2840
+ "type": "string",
2841
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2842
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2843
+ },
2844
+ "idempotencyKey": {
2845
+ "type": "string",
2846
+ "pattern": "^[!-~]{1,128}$",
2847
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2848
+ }
2849
+ },
2850
+ "additionalProperties": false
2851
+ },
2852
+ "annotations": {
2853
+ "title": "Delete what Slatebox knows about the person",
2854
+ "readOnlyHint": false,
2855
+ "destructiveHint": true,
2856
+ "idempotentHint": false,
2857
+ "openWorldHint": false
2858
+ },
2859
+ "method": "profile.facts.clear",
2860
+ "kind": "write"
2861
+ },
2862
+ {
2863
+ "name": "hide_profile_fact",
2864
+ "title": "Hide or show a fact about the person",
2865
+ "description": "Hide one About you fact so it is never used (hidden false shows it again).\n\nHide a fact about you. Hides one fact: it stays in About you, where you see it, and is never used. hidden false shows it again.",
2866
+ "inputSchema": {
2867
+ "type": "object",
2868
+ "properties": {
2869
+ "factId": {
2870
+ "type": "string",
2871
+ "pattern": "^[A-Za-z0-9_-]{1,64}$",
2872
+ "description": "The fact, as profile.facts.list gives it (facts[].id). The fact read from the first slate is \"first-slate\"."
2873
+ },
2874
+ "hidden": {
2875
+ "type": "boolean",
2876
+ "default": true,
2877
+ "description": "false shows the fact again."
2878
+ },
2879
+ "confirm": {
2880
+ "type": "string",
2881
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2882
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2883
+ },
2884
+ "idempotencyKey": {
2885
+ "type": "string",
2886
+ "pattern": "^[!-~]{1,128}$",
2887
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2888
+ }
2889
+ },
2890
+ "required": [
2891
+ "factId"
2892
+ ],
2893
+ "additionalProperties": false
2894
+ },
2895
+ "annotations": {
2896
+ "title": "Hide or show a fact about the person",
2897
+ "readOnlyHint": false,
2898
+ "destructiveHint": false,
2899
+ "idempotentHint": true,
2900
+ "openWorldHint": false
2901
+ },
2902
+ "method": "profile.facts.hide",
2903
+ "kind": "write"
2904
+ },
2905
+ {
2906
+ "name": "list_profile_facts",
2907
+ "title": "Read what Slatebox knows about you",
2908
+ "description": "Read the person's About you facts (role, team, work, goals, projects, tools, topics, style, routines), each with where it came from, and whether personalization is on.\n\nAbout you. What Slatebox knows about you, so it can make boards and slates for your work: every fact, each with its kind and where it came from (you, your first slate, and later an interview with the agent), hidden ones included, and whether personalization is on. Only you see this.",
2909
+ "inputSchema": {
2910
+ "type": "object",
2911
+ "properties": {
2912
+ "kind": {
2913
+ "type": "string",
2914
+ "enum": [
2915
+ "role",
2916
+ "team",
2917
+ "work",
2918
+ "goal",
2919
+ "project",
2920
+ "tool",
2921
+ "topic",
2922
+ "style",
2923
+ "routine",
2924
+ "other"
2925
+ ],
2926
+ "description": "Only facts of this kind."
2927
+ }
2928
+ },
2929
+ "additionalProperties": false
2930
+ },
2931
+ "annotations": {
2932
+ "title": "Read what Slatebox knows about you",
2933
+ "readOnlyHint": true,
2934
+ "destructiveHint": false,
2935
+ "idempotentHint": true,
2936
+ "openWorldHint": false
2937
+ },
2938
+ "method": "profile.facts.list",
2939
+ "kind": "read"
2940
+ },
2941
+ {
2942
+ "name": "remove_profile_fact",
2943
+ "title": "Remove a fact about the person",
2944
+ "description": "Remove one About you fact.\n\nRemove a fact about you. Removes one fact from About you.",
2945
+ "inputSchema": {
2946
+ "type": "object",
2947
+ "properties": {
2948
+ "factId": {
2949
+ "type": "string",
2950
+ "pattern": "^[A-Za-z0-9_-]{1,64}$",
2951
+ "description": "The fact, as profile.facts.list gives it (facts[].id). The fact read from the first slate is \"first-slate\"."
2952
+ },
2953
+ "confirm": {
2954
+ "type": "string",
2955
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
2956
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
2957
+ },
2958
+ "idempotencyKey": {
2959
+ "type": "string",
2960
+ "pattern": "^[!-~]{1,128}$",
2961
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
2962
+ }
2963
+ },
2964
+ "required": [
2965
+ "factId"
2966
+ ],
2967
+ "additionalProperties": false
2968
+ },
2969
+ "annotations": {
2970
+ "title": "Remove a fact about the person",
2971
+ "readOnlyHint": false,
2972
+ "destructiveHint": true,
2973
+ "idempotentHint": false,
2974
+ "openWorldHint": false
2975
+ },
2976
+ "method": "profile.facts.remove",
2977
+ "kind": "write"
2978
+ },
2979
+ {
2980
+ "name": "update_profile_fact",
2981
+ "title": "Change a fact about the person",
2982
+ "description": "Change the words or the kind of one About you fact.\n\nChange a fact about you. New words or a new kind for one fact. Changing the fact from your first slate makes it one of your own.",
2983
+ "inputSchema": {
2984
+ "type": "object",
2985
+ "properties": {
2986
+ "factId": {
2987
+ "type": "string",
2988
+ "pattern": "^[A-Za-z0-9_-]{1,64}$",
2989
+ "description": "The fact, as profile.facts.list gives it (facts[].id). The fact read from the first slate is \"first-slate\"."
2990
+ },
2991
+ "kind": {
2992
+ "type": "string",
2993
+ "enum": [
2994
+ "role",
2995
+ "team",
2996
+ "work",
2997
+ "goal",
2998
+ "project",
2999
+ "tool",
3000
+ "topic",
3001
+ "style",
3002
+ "routine",
3003
+ "other"
3004
+ ],
3005
+ "description": "What the fact is about: role, team, work, goal, project, tool, topic, style, routine, other."
3006
+ },
3007
+ "text": {
3008
+ "type": "string",
3009
+ "minLength": 1,
3010
+ "maxLength": 280,
3011
+ "description": "The fact in a few plain words, up to 280 characters (\"Product manager\", \"Uses Linear\")."
3012
+ },
3013
+ "confirm": {
3014
+ "type": "string",
3015
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
3016
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
3017
+ },
3018
+ "idempotencyKey": {
3019
+ "type": "string",
3020
+ "pattern": "^[!-~]{1,128}$",
3021
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
3022
+ }
3023
+ },
3024
+ "required": [
3025
+ "factId"
3026
+ ],
3027
+ "additionalProperties": false
3028
+ },
3029
+ "annotations": {
3030
+ "title": "Change a fact about the person",
3031
+ "readOnlyHint": false,
3032
+ "destructiveHint": false,
3033
+ "idempotentHint": false,
3034
+ "openWorldHint": false
3035
+ },
3036
+ "method": "profile.facts.update",
3037
+ "kind": "write"
3038
+ },
3039
+ {
3040
+ "name": "get_profile_settings",
3041
+ "title": "Read personalization settings",
3042
+ "description": "Read whether personalization is on for the person, and which sources may add to About you.\n\nPersonalization settings. Whether personalization is on, and each source's switch. A connected tool or an upload is off until you switch it on.",
3043
+ "inputSchema": {
3044
+ "type": "object",
3045
+ "properties": {},
3046
+ "additionalProperties": false
3047
+ },
3048
+ "annotations": {
3049
+ "title": "Read personalization settings",
3050
+ "readOnlyHint": true,
3051
+ "destructiveHint": false,
3052
+ "idempotentHint": true,
3053
+ "openWorldHint": false
3054
+ },
3055
+ "method": "profile.settings.get",
3056
+ "kind": "read"
3057
+ },
3058
+ {
3059
+ "name": "get_project_sharing",
3060
+ "title": "See who a project is shared with",
3061
+ "description": "See who can open one of the person's projects, with each person's and team's role and the link's.\n\nGet project sharing. Who can open a project: its owner, each person and team it is shared with and their role, invitations to addresses with no account yet, and the link's role and address. The project's owner and managers may read it.",
3062
+ "inputSchema": {
3063
+ "type": "object",
3064
+ "properties": {
3065
+ "projectId": {
3066
+ "type": "string",
3067
+ "minLength": 1,
3068
+ "maxLength": 64,
3069
+ "pattern": "^[A-Za-z0-9_-]+$",
3070
+ "description": "A project (a drive) or one of its folders."
3071
+ }
3072
+ },
3073
+ "required": [
3074
+ "projectId"
3075
+ ],
3076
+ "additionalProperties": false
3077
+ },
3078
+ "annotations": {
3079
+ "title": "See who a project is shared with",
3080
+ "readOnlyHint": true,
3081
+ "destructiveHint": false,
3082
+ "idempotentHint": true,
3083
+ "openWorldHint": false
3084
+ },
3085
+ "method": "projects.access",
3086
+ "kind": "read"
3087
+ },
3088
+ {
3089
+ "name": "create_project",
3090
+ "title": "Make a project or folder",
3091
+ "description": "Make a project (a shareable drive for slates) or a folder in one, and return its link.\n\nCreate project. Make a project: a drive of slates you own and can share like a shared drive (your team's when you are in one). With parentId, make a folder in that project or folder instead (an editor of it may; folders go at most 3 levels deep).",
3092
+ "inputSchema": {
3093
+ "type": "object",
3094
+ "properties": {
3095
+ "name": {
3096
+ "type": "string",
3097
+ "minLength": 1,
3098
+ "maxLength": 120
3099
+ },
3100
+ "description": {
3101
+ "type": "string",
3102
+ "maxLength": 2000
3103
+ },
3104
+ "color": {
3105
+ "type": [
3106
+ "integer",
3107
+ "null"
3108
+ ],
3109
+ "minimum": 0,
3110
+ "maximum": 11,
3111
+ "description": "A palette index for the project's dot."
3112
+ },
3113
+ "parentId": {
3114
+ "type": "string",
3115
+ "minLength": 1,
3116
+ "maxLength": 64,
3117
+ "pattern": "^[A-Za-z0-9_-]+$",
3118
+ "description": "Make a folder in this project or folder."
3119
+ },
3120
+ "confirm": {
3121
+ "type": "string",
3122
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
3123
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
3124
+ },
3125
+ "idempotencyKey": {
3126
+ "type": "string",
3127
+ "pattern": "^[!-~]{1,128}$",
3128
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
3129
+ }
3130
+ },
3131
+ "required": [
3132
+ "name"
3133
+ ],
3134
+ "additionalProperties": false
3135
+ },
3136
+ "annotations": {
3137
+ "title": "Make a project or folder",
3138
+ "readOnlyHint": false,
3139
+ "destructiveHint": false,
3140
+ "idempotentHint": false,
3141
+ "openWorldHint": false
3142
+ },
3143
+ "method": "projects.create",
3144
+ "kind": "write"
3145
+ },
3146
+ {
3147
+ "name": "delete_project",
3148
+ "title": "Delete a project or folder",
3149
+ "description": "Delete a folder, or a whole project the person owns (its owner's slates are deleted; everyone else's go back to them). This cannot be undone.\n\nDelete project. Delete a folder, or a whole project. A folder that holds slates or folders moves them to moveContentsTo (its parent by default) first; a manager deletes only empty folders, the owner any. Deleting a project (its owner only) deletes the slates its owner owns in it, with their sharing and comments, and gives every other slate back to its owner. This cannot be undone. mode \"preview\" says how many slates would be deleted and given back without changing anything.",
3150
+ "inputSchema": {
3151
+ "type": "object",
3152
+ "properties": {
3153
+ "projectId": {
3154
+ "type": "string",
3155
+ "minLength": 1,
3156
+ "maxLength": 64,
3157
+ "pattern": "^[A-Za-z0-9_-]+$",
3158
+ "description": "A project (a drive) or one of its folders."
3159
+ },
3160
+ "moveContentsTo": {
3161
+ "type": "string",
3162
+ "minLength": 1,
3163
+ "maxLength": 64,
3164
+ "pattern": "^[A-Za-z0-9_-]+$",
3165
+ "description": "For a folder: where its slates and folders go (its parent by default)."
3166
+ },
3167
+ "mode": {
3168
+ "type": "string",
3169
+ "enum": [
3170
+ "save",
3171
+ "preview"
3172
+ ],
3173
+ "default": "save",
3174
+ "description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
3175
+ },
3176
+ "confirm": {
3177
+ "type": "string",
3178
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
3179
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
3180
+ },
3181
+ "idempotencyKey": {
3182
+ "type": "string",
3183
+ "pattern": "^[!-~]{1,128}$",
3184
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
3185
+ }
3186
+ },
3187
+ "required": [
3188
+ "projectId"
3189
+ ],
3190
+ "additionalProperties": false
3191
+ },
3192
+ "annotations": {
3193
+ "title": "Delete a project or folder",
3194
+ "readOnlyHint": false,
3195
+ "destructiveHint": true,
3196
+ "idempotentHint": false,
3197
+ "openWorldHint": false
3198
+ },
3199
+ "method": "projects.delete",
3200
+ "kind": "write"
3201
+ },
3202
+ {
3203
+ "name": "get_project",
3204
+ "title": "Read a project",
3205
+ "description": "Read one of the person's projects or folders: its folders, its place in the project and the person's role.\n\nGet project. Read a project or one of its folders: its name, your role, the folders directly in it, the folders above it and how many slates it holds. A drive link's key (linkKey, the part after /p/) opens a project shared by link.",
3206
+ "inputSchema": {
3207
+ "type": "object",
3208
+ "properties": {
3209
+ "projectId": {
3210
+ "type": "string",
3211
+ "minLength": 1,
3212
+ "maxLength": 64,
3213
+ "pattern": "^[A-Za-z0-9_-]+$",
3214
+ "description": "A project (a drive) or one of its folders."
3215
+ },
3216
+ "linkKey": {
3217
+ "type": "string",
3218
+ "minLength": 16,
3219
+ "maxLength": 64,
3220
+ "pattern": "^[A-Za-z0-9_-]+$",
3221
+ "description": "The key of a link to the project (/p/<key>). Not used by tokens."
3222
+ }
3223
+ },
3224
+ "required": [
3225
+ "projectId"
3226
+ ],
3227
+ "additionalProperties": false
3228
+ },
3229
+ "annotations": {
3230
+ "title": "Read a project",
3231
+ "readOnlyHint": true,
3232
+ "destructiveHint": false,
3233
+ "idempotentHint": true,
3234
+ "openWorldHint": false
3235
+ },
3236
+ "method": "projects.get",
3237
+ "kind": "read"
3238
+ },
3239
+ {
3240
+ "name": "list_projects",
3241
+ "title": "List your projects",
3242
+ "description": "List the person's projects (shared drives that hold slates and folders), owned and shared, with their role in each.\n\nList projects. List your projects (shareable drives of slates): the ones you own first, then the ones shared with you, each with your role. With parentId, list the folders in that project or folder instead.",
3243
+ "inputSchema": {
3244
+ "type": "object",
3245
+ "properties": {
3246
+ "parentId": {
3247
+ "type": "string",
3248
+ "minLength": 1,
3249
+ "maxLength": 64,
3250
+ "pattern": "^[A-Za-z0-9_-]+$",
3251
+ "description": "List the folders in this project or folder."
3252
+ }
3253
+ },
3254
+ "additionalProperties": false
3255
+ },
3256
+ "annotations": {
3257
+ "title": "List your projects",
3258
+ "readOnlyHint": true,
3259
+ "destructiveHint": false,
3260
+ "idempotentHint": true,
3261
+ "openWorldHint": false
3262
+ },
3263
+ "method": "projects.list",
3264
+ "kind": "read"
3265
+ },
3266
+ {
3267
+ "name": "move_slate_to_project",
3268
+ "title": "Move a slate into a project",
3269
+ "description": "Put one of the person's slates in a project or folder, move it between them, or take it out of its project.\n\nMove slate to project. Put a slate in a project or folder, move it to another one, or take it out of its project (projectId null), back to its owner's slates. The slate's owner may move it into any project they can edit; a manager of its project may move any slate within that project or give it back to its owner. Everyone in a project can open its slates at their role there.",
3270
+ "inputSchema": {
3271
+ "type": "object",
3272
+ "properties": {
3273
+ "shareId": {
3274
+ "type": "string",
3275
+ "minLength": 1,
3276
+ "maxLength": 80,
3277
+ "pattern": "^[A-Za-z0-9_-]+$",
3278
+ "description": "The slate ID from its address: /canvas/<shareId>."
3279
+ },
3280
+ "projectId": {
3281
+ "type": [
3282
+ "string",
3283
+ "null"
3284
+ ],
3285
+ "minLength": 1,
3286
+ "maxLength": 64,
3287
+ "pattern": "^[A-Za-z0-9_-]+$",
3288
+ "description": "The project or folder it goes in; null takes it out of its project."
3289
+ },
3290
+ "confirm": {
3291
+ "type": "string",
3292
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
3293
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
3294
+ },
3295
+ "idempotencyKey": {
3296
+ "type": "string",
3297
+ "pattern": "^[!-~]{1,128}$",
3298
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
3299
+ }
3300
+ },
3301
+ "required": [
3302
+ "shareId",
3303
+ "projectId"
3304
+ ],
3305
+ "additionalProperties": false
3306
+ },
3307
+ "annotations": {
3308
+ "title": "Move a slate into a project",
3309
+ "readOnlyHint": false,
3310
+ "destructiveHint": false,
3311
+ "idempotentHint": false,
3312
+ "openWorldHint": false
3313
+ },
3314
+ "method": "projects.moveSlate",
3315
+ "kind": "write"
3316
+ },
3317
+ {
3318
+ "name": "share_project",
3319
+ "title": "Share a project",
3320
+ "description": "Share one of the person's projects with a person, their team or anyone with the link, at a role, or take access away.\n\nShare project. Share a project, as a shared drive is shared: with one person (userId, or email, which invites an address that has no account yet), with your whole team (orgId, your own team, if you may make team slates), or with anyone who has the link (link). Roles: viewer opens every slate, commenter comments too, editor edits and adds slates and folders, manager also organizes and shares. role \"none\" (or link \"none\") takes access away; rotate makes a new link and turns the old one off. The project's owner and managers may share it.",
3321
+ "inputSchema": {
3322
+ "type": "object",
3323
+ "properties": {
3324
+ "projectId": {
3325
+ "type": "string",
3326
+ "minLength": 1,
3327
+ "maxLength": 64,
3328
+ "pattern": "^[A-Za-z0-9_-]+$",
3329
+ "description": "A project (a drive) or one of its folders."
3330
+ },
3331
+ "userId": {
3332
+ "type": "string",
3333
+ "minLength": 1,
3334
+ "maxLength": 128
3335
+ },
3336
+ "email": {
3337
+ "type": "string",
3338
+ "minLength": 3,
3339
+ "maxLength": 320,
3340
+ "format": "email"
3341
+ },
3342
+ "orgId": {
3343
+ "type": "string",
3344
+ "minLength": 1,
3345
+ "maxLength": 128,
3346
+ "description": "Your team, to share with everyone in it."
3347
+ },
3348
+ "role": {
3349
+ "type": "string",
3350
+ "enum": [
3351
+ "none",
3352
+ "viewer",
3353
+ "commenter",
3354
+ "editor",
3355
+ "manager"
3356
+ ],
3357
+ "description": "For a person or a team."
3358
+ },
3359
+ "link": {
3360
+ "type": "string",
3361
+ "enum": [
3362
+ "none",
3363
+ "viewer",
3364
+ "commenter",
3365
+ "editor"
3366
+ ],
3367
+ "description": "What anyone with the link can do."
3368
+ },
3369
+ "rotate": {
3370
+ "type": "boolean",
3371
+ "description": "With link: make a new link address; the old one stops working."
3372
+ },
3373
+ "confirm": {
3374
+ "type": "string",
3375
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
3376
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
3377
+ },
3378
+ "idempotencyKey": {
3379
+ "type": "string",
3380
+ "pattern": "^[!-~]{1,128}$",
3381
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
3382
+ }
3383
+ },
3384
+ "required": [
3385
+ "projectId"
3386
+ ],
3387
+ "additionalProperties": false
3388
+ },
3389
+ "annotations": {
3390
+ "title": "Share a project",
3391
+ "readOnlyHint": false,
3392
+ "destructiveHint": false,
3393
+ "idempotentHint": false,
3394
+ "openWorldHint": false
3395
+ },
3396
+ "method": "projects.share",
3397
+ "kind": "write"
3398
+ },
3399
+ {
3400
+ "name": "list_project_slates",
3401
+ "title": "List the slates in a project",
3402
+ "description": "List the slates in one of the person's projects or folders, newest first, with each one's link.\n\nList project slates. List the slates in a project or folder, newest first, with each one's link: the folder's own and, unless nested is false, those in its folders too. Anyone with a role in the project may, a drive link's holder too (linkKey, the part after /p/). Filter by name with q.",
3403
+ "inputSchema": {
3404
+ "type": "object",
3405
+ "properties": {
3406
+ "projectId": {
3407
+ "type": "string",
3408
+ "minLength": 1,
3409
+ "maxLength": 64,
3410
+ "pattern": "^[A-Za-z0-9_-]+$",
3411
+ "description": "A project (a drive) or one of its folders."
3412
+ },
3413
+ "nested": {
3414
+ "type": "boolean",
3415
+ "default": true,
3416
+ "description": "Include the slates in its folders."
3417
+ },
3418
+ "q": {
3419
+ "type": "string",
3420
+ "minLength": 1,
3421
+ "maxLength": 200,
3422
+ "description": "Part of the slate name."
3423
+ },
3424
+ "limit": {
3425
+ "type": "integer",
3426
+ "minimum": 1,
3427
+ "maximum": 100,
3428
+ "default": 50
3429
+ },
3430
+ "linkKey": {
3431
+ "type": "string",
3432
+ "minLength": 16,
3433
+ "maxLength": 64,
3434
+ "pattern": "^[A-Za-z0-9_-]+$",
3435
+ "description": "The key of a link to the project (/p/<key>). Not used by tokens."
3436
+ }
3437
+ },
3438
+ "required": [
3439
+ "projectId"
3440
+ ],
3441
+ "additionalProperties": false
3442
+ },
3443
+ "annotations": {
3444
+ "title": "List the slates in a project",
3445
+ "readOnlyHint": true,
3446
+ "destructiveHint": false,
3447
+ "idempotentHint": true,
3448
+ "openWorldHint": false
3449
+ },
3450
+ "method": "projects.slates",
3451
+ "kind": "read"
3452
+ },
3453
+ {
3454
+ "name": "update_project",
3455
+ "title": "Rename or reorganize a project",
3456
+ "description": "Rename a project or folder, move a folder within its project, or pause its recipes.\n\nUpdate project. Rename a project or folder, change its description or color, move a folder to another folder of the same project (parentId), or pause and resume the recipes that keep the project's slates up to date (recipesPaused, a whole project only). A project is renamed by its owner and managers; a folder by its editors; folders are moved by managers.",
3457
+ "inputSchema": {
3458
+ "type": "object",
3459
+ "properties": {
3460
+ "projectId": {
3461
+ "type": "string",
3462
+ "minLength": 1,
3463
+ "maxLength": 64,
3464
+ "pattern": "^[A-Za-z0-9_-]+$",
3465
+ "description": "A project (a drive) or one of its folders."
3466
+ },
3467
+ "name": {
3468
+ "type": "string",
3469
+ "minLength": 1,
3470
+ "maxLength": 120
3471
+ },
3472
+ "description": {
3473
+ "type": "string",
3474
+ "maxLength": 2000
3475
+ },
3476
+ "color": {
3477
+ "type": [
3478
+ "integer",
3479
+ "null"
3480
+ ],
3481
+ "minimum": 0,
3482
+ "maximum": 11,
3483
+ "description": "A palette index for the project's dot."
3484
+ },
3485
+ "parentId": {
3486
+ "type": "string",
3487
+ "minLength": 1,
3488
+ "maxLength": 64,
3489
+ "pattern": "^[A-Za-z0-9_-]+$",
3490
+ "description": "Move this folder into that folder (or the project itself)."
3491
+ },
3492
+ "recipesPaused": {
3493
+ "type": "boolean",
3494
+ "description": "Pause (true) or resume (false) every recipe in the project."
3495
+ },
3496
+ "confirm": {
3497
+ "type": "string",
3498
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
3499
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
3500
+ },
3501
+ "idempotencyKey": {
3502
+ "type": "string",
3503
+ "pattern": "^[!-~]{1,128}$",
3504
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
3505
+ }
3506
+ },
3507
+ "required": [
3508
+ "projectId"
3509
+ ],
3510
+ "additionalProperties": false
3511
+ },
3512
+ "annotations": {
3513
+ "title": "Rename or reorganize a project",
3514
+ "readOnlyHint": false,
3515
+ "destructiveHint": false,
3516
+ "idempotentHint": false,
3517
+ "openWorldHint": false
3518
+ },
3519
+ "method": "projects.update",
3520
+ "kind": "write"
3521
+ },
3522
+ {
3523
+ "name": "draw_security_slate",
3524
+ "title": "Draw a threat model or security architecture",
3525
+ "description": "Draw a threat model (data-flow diagram with STRIDE prompts), an EU Cyber Resilience Act Annex VII technical documentation slate, the FDA premarket security architecture views, a component architecture from a repository's model, or STRIDE prompts beside an existing slate's parts.\n\nDraw a security slate. Draw typed security notes and lines (real notes everyone edits). what: \"threat-model\" (a data-flow diagram with trust boundaries and a STRIDE sticky note for each part), \"cra-annex-vii\" (the EU Cyber Resilience Act's technical documentation: the system architecture for point 2(a) and a note for each point), \"fda-views\" (the FDA premarket security architecture views: global system, multi-patient harm, updateability/patchability and a security use case), \"architecture\" (the component view of a repository, from its architecture model or from its files: one boundary around what the code runs, a frame per tier, protocols from the code; data and encryption are left for people) or \"stride\" (STRIDE prompts as sticky notes beside a slate's typed parts; needs shareId). With shareId the drawing goes beside what that slate holds (edit access); without, it becomes a new private slate of yours named name. Each template cites the official text it follows. mode \"preview\" answers what would be drawn without saving.",
3526
+ "inputSchema": {
3527
+ "type": "object",
3528
+ "properties": {
3529
+ "what": {
3530
+ "type": "string",
3531
+ "enum": [
3532
+ "threat-model",
3533
+ "cra-annex-vii",
3534
+ "fda-views",
3535
+ "architecture",
3536
+ "stride"
3537
+ ]
3538
+ },
3539
+ "architecture": {
3540
+ "type": "object",
3541
+ "description": "A repository's architecture model, as the architecture extractors build it (paths and names only, never code).",
3542
+ "properties": {
3543
+ "repo": {
3544
+ "type": "string",
3545
+ "maxLength": 200,
3546
+ "description": "owner/name, for the title and links."
3547
+ },
3548
+ "sha": {
3549
+ "type": "string",
3550
+ "maxLength": 64,
3551
+ "pattern": "^[0-9a-f]{7,64}$",
3552
+ "description": "The commit it was read at."
3553
+ },
3554
+ "services": {
3555
+ "type": "array",
3556
+ "maxItems": 200,
3557
+ "items": {
3558
+ "type": "object",
3559
+ "properties": {
3560
+ "key": {
3561
+ "type": "string",
3562
+ "minLength": 1,
3563
+ "maxLength": 200
3564
+ },
3565
+ "label": {
3566
+ "type": "string",
3567
+ "maxLength": 200
3568
+ },
3569
+ "kind": {
3570
+ "type": "string",
3571
+ "enum": [
3572
+ "service",
3573
+ "function",
3574
+ "store",
3575
+ "queue",
3576
+ "ingress",
3577
+ "external"
3578
+ ]
3579
+ },
3580
+ "image": {
3581
+ "type": [
3582
+ "string",
3583
+ "null"
3584
+ ],
3585
+ "maxLength": 200
3586
+ },
3587
+ "source": {
3588
+ "type": "string",
3589
+ "maxLength": 40
3590
+ },
3591
+ "file": {
3592
+ "type": [
3593
+ "string",
3594
+ "null"
3595
+ ],
3596
+ "maxLength": 400
3597
+ }
3598
+ },
3599
+ "required": [
3600
+ "key"
3601
+ ],
3602
+ "additionalProperties": true
3603
+ }
3604
+ },
3605
+ "serviceEdges": {
3606
+ "type": "array",
3607
+ "maxItems": 600,
3608
+ "items": {
3609
+ "type": "object",
3610
+ "properties": {
3611
+ "from": {
3612
+ "type": "string",
3613
+ "maxLength": 200
3614
+ },
3615
+ "to": {
3616
+ "type": "string",
3617
+ "maxLength": 200
3618
+ },
3619
+ "protocol": {
3620
+ "type": [
3621
+ "string",
3622
+ "null"
3623
+ ],
3624
+ "maxLength": 20
3625
+ }
3626
+ },
3627
+ "required": [
3628
+ "from",
3629
+ "to"
3630
+ ],
3631
+ "additionalProperties": true
3632
+ }
3633
+ }
3634
+ },
3635
+ "required": [
3636
+ "services"
3637
+ ],
3638
+ "additionalProperties": true
3639
+ },
3640
+ "files": {
3641
+ "type": "array",
3642
+ "maxItems": 2000,
3643
+ "description": "Instead of architecture: the repository's files ({ path, text }), read by the architecture extractors (docker-compose, Kubernetes, Terraform, Helm, serverless). Only paths and names are kept, never the code.",
3644
+ "items": {
3645
+ "type": "object",
3646
+ "properties": {
3647
+ "path": {
3648
+ "type": "string",
3649
+ "minLength": 1,
3650
+ "maxLength": 400
3651
+ },
3652
+ "text": {
3653
+ "type": "string",
3654
+ "maxLength": 1048576
3655
+ }
3656
+ },
3657
+ "required": [
3658
+ "path",
3659
+ "text"
3660
+ ],
3661
+ "additionalProperties": false
3662
+ }
3663
+ },
3664
+ "repo": {
3665
+ "type": "string",
3666
+ "maxLength": 200,
3667
+ "description": "With files: owner/name, for the title and links."
3668
+ },
3669
+ "sha": {
3670
+ "type": "string",
3671
+ "maxLength": 64,
3672
+ "pattern": "^[0-9a-f]{7,64}$",
3673
+ "description": "With files: the commit they were read at."
3674
+ },
3675
+ "shareId": {
3676
+ "type": "string",
3677
+ "minLength": 1,
3678
+ "maxLength": 80,
3679
+ "pattern": "^[A-Za-z0-9_-]+$",
3680
+ "description": "Draw on this slate. Leave out to make a new private slate."
3681
+ },
3682
+ "name": {
3683
+ "type": "string",
3684
+ "minLength": 1,
3685
+ "maxLength": 200,
3686
+ "description": "The new slate's name (without shareId)."
3687
+ },
3688
+ "projectId": {
3689
+ "type": "string",
3690
+ "minLength": 1,
3691
+ "maxLength": 64,
3692
+ "pattern": "^[A-Za-z0-9_-]+$",
3693
+ "description": "Make the new slate in this project or folder (without shareId)."
3694
+ },
3695
+ "mode": {
3696
+ "type": "string",
3697
+ "enum": [
3698
+ "save",
3699
+ "preview"
3700
+ ],
3701
+ "default": "save",
3702
+ "description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
3703
+ },
3704
+ "confirm": {
3705
+ "type": "string",
3706
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
3707
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
3708
+ },
3709
+ "idempotencyKey": {
3710
+ "type": "string",
3711
+ "pattern": "^[!-~]{1,128}$",
3712
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
3713
+ }
3714
+ },
3715
+ "required": [
3716
+ "what"
3717
+ ],
3718
+ "additionalProperties": false
3719
+ },
3720
+ "annotations": {
3721
+ "title": "Draw a threat model or security architecture",
3722
+ "readOnlyHint": false,
3723
+ "destructiveHint": false,
3724
+ "idempotentHint": false,
3725
+ "openWorldHint": false
3726
+ },
3727
+ "method": "security.draw",
3728
+ "kind": "write"
3729
+ },
3730
+ {
3731
+ "name": "get_slate_security",
3732
+ "title": "Read a slate's security properties",
3733
+ "description": "Read what each note and line on a slate is in security terms (data, protocol, encryption, sign-in, trust boundaries), with plain checks, STRIDE prompts and tables for a threat model or technical documentation.\n\nRead security properties. Read the security properties of a slate you can open: what each note is (person, service, data store, queue, way in, outside system, device or trust boundary) with its data, encryption at rest and sign-in, and what each line carries (protocol, ports, data, code or commands, encryption in transit, sign-in). Also answers each note's trust boundary zone, plain checks (lines that cross a boundary unencrypted, sensitive data stored unencrypted, missing protocols), STRIDE prompts for every part and flow, and Markdown tables of the parts and connections for technical documentation (CRA Annex VII 2(a), FDA architecture views). The checks are places to look, not audit results.",
3734
+ "inputSchema": {
3735
+ "type": "object",
3736
+ "properties": {
3737
+ "shareId": {
3738
+ "type": "string",
3739
+ "minLength": 1,
3740
+ "maxLength": 80,
3741
+ "pattern": "^[A-Za-z0-9_-]+$",
3742
+ "description": "The slate ID from its address: /canvas/<shareId>."
3743
+ }
3744
+ },
3745
+ "required": [
3746
+ "shareId"
3747
+ ],
3748
+ "additionalProperties": false
3749
+ },
3750
+ "annotations": {
3751
+ "title": "Read a slate's security properties",
3752
+ "readOnlyHint": true,
3753
+ "destructiveHint": false,
3754
+ "idempotentHint": true,
3755
+ "openWorldHint": false
3756
+ },
3757
+ "method": "security.get",
3758
+ "kind": "read"
3759
+ },
3760
+ {
3761
+ "name": "set_slate_security",
3762
+ "title": "Set security properties on a slate",
3763
+ "description": "Say what notes and lines are in security terms: a service, data store or trust boundary; what data a line carries, its protocol, encryption and sign-in. Answers the checks and STRIDE prompts that follow.\n\nChange security properties. Set security properties on notes and lines of a slate you can edit. notes and lines map ids (slates.get lists them) to properties; given fields replace what is there, a field set to null is cleared, and null for an item removes its properties. Type a frame as element \"boundary\" to make it a trust boundary. labelLines also writes each changed line's properties as its label (\"HTTPS · OAuth token · Personal data\"); everyone on the slate sees it. Answers the slate's properties with their checks, as security.get does. mode \"preview\" checks without saving.",
3764
+ "inputSchema": {
3765
+ "type": "object",
3766
+ "properties": {
3767
+ "shareId": {
3768
+ "type": "string",
3769
+ "minLength": 1,
3770
+ "maxLength": 80,
3771
+ "pattern": "^[A-Za-z0-9_-]+$",
3772
+ "description": "The slate ID from its address: /canvas/<shareId>."
3773
+ },
3774
+ "notes": {
3775
+ "type": "object",
3776
+ "description": "By note id (slates.get lists them).",
3777
+ "additionalProperties": {
3778
+ "type": [
3779
+ "object",
3780
+ "null"
3781
+ ],
3782
+ "description": "A note's security properties; null removes them all. A field set to null is cleared; fields left out stay as they are.",
3783
+ "properties": {
3784
+ "element": {
3785
+ "type": [
3786
+ "string",
3787
+ "null"
3788
+ ],
3789
+ "enum": [
3790
+ "actor",
3791
+ "process",
3792
+ "datastore",
3793
+ "queue",
3794
+ "gateway",
3795
+ "external",
3796
+ "device",
3797
+ "boundary",
3798
+ null
3799
+ ],
3800
+ "description": "What the note is. boundary makes it a trust boundary: the notes whose middle is inside it are in its zone."
3801
+ },
3802
+ "data": {
3803
+ "type": [
3804
+ "array",
3805
+ "null"
3806
+ ],
3807
+ "maxItems": 7,
3808
+ "uniqueItems": true,
3809
+ "items": {
3810
+ "type": "string",
3811
+ "enum": [
3812
+ "public",
3813
+ "internal",
3814
+ "confidential",
3815
+ "personal",
3816
+ "health",
3817
+ "payment",
3818
+ "credentials"
3819
+ ]
3820
+ },
3821
+ "description": "The kinds of data it holds or handles."
3822
+ },
3823
+ "atRest": {
3824
+ "type": [
3825
+ "string",
3826
+ "null"
3827
+ ],
3828
+ "enum": [
3829
+ "none",
3830
+ "provider",
3831
+ "customer",
3832
+ "app",
3833
+ null
3834
+ ],
3835
+ "description": "How what it stores is encrypted."
3836
+ },
3837
+ "auth": {
3838
+ "type": [
3839
+ "string",
3840
+ "null"
3841
+ ],
3842
+ "enum": [
3843
+ "none",
3844
+ "session",
3845
+ "sso",
3846
+ "oauth",
3847
+ "token",
3848
+ "apikey",
3849
+ "mtls",
3850
+ "iam",
3851
+ "other",
3852
+ null
3853
+ ],
3854
+ "description": "How callers sign in to it."
3855
+ },
3856
+ "notes": {
3857
+ "type": [
3858
+ "string",
3859
+ "null"
3860
+ ],
3861
+ "maxLength": 500,
3862
+ "description": "Anything else a reviewer should know."
3863
+ }
3864
+ },
3865
+ "additionalProperties": false
3866
+ },
3867
+ "maxProperties": 500
3868
+ },
3869
+ "lines": {
3870
+ "type": "object",
3871
+ "description": "By line id (slates.get lists them).",
3872
+ "additionalProperties": {
3873
+ "type": [
3874
+ "object",
3875
+ "null"
3876
+ ],
3877
+ "description": "A line's security properties; null removes them all. A field set to null is cleared; fields left out stay as they are.",
3878
+ "properties": {
3879
+ "protocol": {
3880
+ "type": [
3881
+ "string",
3882
+ "null"
3883
+ ],
3884
+ "enum": [
3885
+ "http",
3886
+ "grpc",
3887
+ "ws",
3888
+ "sql",
3889
+ "mongo",
3890
+ "redis",
3891
+ "amqp",
3892
+ "kafka",
3893
+ "nats",
3894
+ "mqtt",
3895
+ "smtp",
3896
+ "ssh",
3897
+ "bluetooth",
3898
+ "usb",
3899
+ "serial",
3900
+ "other",
3901
+ null
3902
+ ],
3903
+ "description": "The application protocol (HTTP with TLS is HTTPS: set inTransit)."
3904
+ },
3905
+ "ports": {
3906
+ "type": [
3907
+ "string",
3908
+ "null"
3909
+ ],
3910
+ "maxLength": 60,
3911
+ "description": "Ports, channels or frequencies, as text (\"443\", \"5432\", \"2.4 GHz\")."
3912
+ },
3913
+ "data": {
3914
+ "type": [
3915
+ "array",
3916
+ "null"
3917
+ ],
3918
+ "maxItems": 7,
3919
+ "uniqueItems": true,
3920
+ "items": {
3921
+ "type": "string",
3922
+ "enum": [
3923
+ "public",
3924
+ "internal",
3925
+ "confidential",
3926
+ "personal",
3927
+ "health",
3928
+ "payment",
3929
+ "credentials"
3930
+ ]
3931
+ },
3932
+ "description": "The kinds of data it carries."
3933
+ },
3934
+ "carries": {
3935
+ "type": [
3936
+ "array",
3937
+ "null"
3938
+ ],
3939
+ "maxItems": 3,
3940
+ "uniqueItems": true,
3941
+ "items": {
3942
+ "type": "string",
3943
+ "enum": [
3944
+ "data",
3945
+ "code",
3946
+ "commands"
3947
+ ]
3948
+ },
3949
+ "description": "Whether it moves data, code (updates) or commands."
3950
+ },
3951
+ "inTransit": {
3952
+ "type": [
3953
+ "string",
3954
+ "null"
3955
+ ],
3956
+ "enum": [
3957
+ "none",
3958
+ "tls",
3959
+ "mtls",
3960
+ "vpn",
3961
+ "app",
3962
+ null
3963
+ ],
3964
+ "description": "How it is encrypted in transit."
3965
+ },
3966
+ "auth": {
3967
+ "type": [
3968
+ "string",
3969
+ "null"
3970
+ ],
3971
+ "enum": [
3972
+ "none",
3973
+ "session",
3974
+ "sso",
3975
+ "oauth",
3976
+ "token",
3977
+ "apikey",
3978
+ "mtls",
3979
+ "iam",
3980
+ "other",
3981
+ null
3982
+ ],
3983
+ "description": "How the caller signs in."
3984
+ },
3985
+ "notes": {
3986
+ "type": [
3987
+ "string",
3988
+ "null"
3989
+ ],
3990
+ "maxLength": 500,
3991
+ "description": "Anything else a reviewer should know."
3992
+ }
3993
+ },
3994
+ "additionalProperties": false
3995
+ },
3996
+ "maxProperties": 500
3997
+ },
3998
+ "labelLines": {
3999
+ "type": "boolean",
4000
+ "description": "Also label each line changed here with its properties."
4001
+ },
4002
+ "expectedRevision": {
4003
+ "type": "integer",
4004
+ "minimum": 0,
4005
+ "description": "The revision you read (security.get answers it). The change is refused with 409 security_changed if the security properties changed after it; edits to notes alone never refuse it."
4006
+ },
4007
+ "mode": {
4008
+ "type": "string",
4009
+ "enum": [
4010
+ "save",
4011
+ "preview"
4012
+ ],
4013
+ "default": "save",
4014
+ "description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
4015
+ },
4016
+ "confirm": {
4017
+ "type": "string",
4018
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
4019
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
4020
+ },
4021
+ "idempotencyKey": {
4022
+ "type": "string",
4023
+ "pattern": "^[!-~]{1,128}$",
4024
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
4025
+ }
4026
+ },
4027
+ "required": [
4028
+ "shareId"
4029
+ ],
4030
+ "additionalProperties": false
4031
+ },
4032
+ "annotations": {
4033
+ "title": "Set security properties on a slate",
4034
+ "readOnlyHint": false,
4035
+ "destructiveHint": false,
4036
+ "idempotentHint": false,
4037
+ "openWorldHint": false
4038
+ },
4039
+ "method": "security.set",
4040
+ "kind": "write"
4041
+ },
4042
+ {
4043
+ "name": "apply_shape",
4044
+ "title": "Give notes a shape",
4045
+ "description": "Give notes on a slate a built-in or custom shape, such as one from the shape library or one just drawn.\n\nShape notes. Give notes a shape: a built-in name (ellipse, star), \"lib:<id>\" or a name from shapes.list, or a candidateId from shapes.generate (saved to your library). Each note keeps its width and takes the shape's proportions. One save; mode \"preview\" saves nothing.",
4046
+ "inputSchema": {
4047
+ "type": "object",
4048
+ "properties": {
4049
+ "shareId": {
4050
+ "type": "string",
4051
+ "minLength": 1,
4052
+ "maxLength": 80,
4053
+ "pattern": "^[A-Za-z0-9_-]+$",
4054
+ "description": "The slate ID from its address: /canvas/<shareId>."
4055
+ },
4056
+ "ids": {
4057
+ "type": "array",
4058
+ "minItems": 1,
4059
+ "maxItems": 200,
4060
+ "items": {
4061
+ "type": "string",
4062
+ "minLength": 1,
4063
+ "maxLength": 128
4064
+ },
4065
+ "description": "The notes."
4066
+ },
4067
+ "shape": {
4068
+ "type": "string",
4069
+ "minLength": 1,
4070
+ "maxLength": 120
4071
+ },
4072
+ "expectedRevision": {
4073
+ "type": "integer",
4074
+ "minimum": 0,
4075
+ "description": "The revision you read; the current one when left out."
4076
+ },
4077
+ "mode": {
4078
+ "type": "string",
4079
+ "enum": [
4080
+ "save",
4081
+ "preview"
4082
+ ],
4083
+ "default": "save",
4084
+ "description": "save (the default) writes; preview returns what would change and saves nothing. The response says which happened."
4085
+ },
4086
+ "confirm": {
4087
+ "type": "string",
4088
+ "pattern": "^cf_[A-Za-z0-9]{24}$",
4089
+ "description": "The confirmation id from a confirmation_required result, once the person agreed."
4090
+ },
4091
+ "idempotencyKey": {
4092
+ "type": "string",
4093
+ "pattern": "^[!-~]{1,128}$",
4094
+ "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
4095
+ }
4096
+ },
4097
+ "required": [
4098
+ "shareId",
4099
+ "ids",
4100
+ "shape"
4101
+ ],
4102
+ "additionalProperties": false
4103
+ },
4104
+ "annotations": {
4105
+ "title": "Give notes a shape",
4106
+ "readOnlyHint": false,
4107
+ "destructiveHint": false,
4108
+ "idempotentHint": false,
4109
+ "openWorldHint": false
4110
+ },
4111
+ "method": "shapes.apply",
4112
+ "kind": "write"
4113
+ },
4114
+ {
4115
+ "name": "generate_shape",
4116
+ "title": "Draw a custom shape",
4117
+ "description": "Draw custom outlines for notes from a description, such as a rocket or a speech bubble.\n\nDraw shapes. Draw 1 to 4 outlines for notes from a description (\"a rocket\", \"a speech bubble with the tail on the left\"), using the AI feature shape (counted like other AI use). Each candidate is one checked SVG path: shapes.apply takes its candidateId (good for 30 days), and an applyOperations update_nodes or add_nodes plan takes {name, d, fillRule} as the shape. The same description again returns the same candidates at no cost unless fresh is true. At most 20 drawings per person per hour.",
4118
+ "inputSchema": {
4119
+ "type": "object",
4120
+ "properties": {
4121
+ "describe": {
4122
+ "type": "string",
4123
+ "minLength": 1,
4124
+ "maxLength": 200,
4125
+ "description": "The shape, in plain words."
4126
+ },
4127
+ "count": {
4128
+ "type": "integer",
2780
4129
  "minimum": 1,
2781
4130
  "maximum": 4,
2782
4131
  "default": 3
@@ -3085,7 +4434,7 @@
3085
4434
  {
3086
4435
  "name": "copy_slate",
3087
4436
  "title": "Copy a slate",
3088
- "description": "Make a private copy of a slate the person may edit, or of a public slate (such as a template to start from), 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).",
4437
+ "description": "Make a private copy of a slate the person may edit, or of a public slate (such as a template to start from), 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, in none of your projects unless projectId names one you can edit. 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).",
3089
4438
  "inputSchema": {
3090
4439
  "type": "object",
3091
4440
  "properties": {
@@ -3101,6 +4450,13 @@
3101
4450
  "minLength": 1,
3102
4451
  "maxLength": 200
3103
4452
  },
4453
+ "projectId": {
4454
+ "type": "string",
4455
+ "minLength": 1,
4456
+ "maxLength": 64,
4457
+ "pattern": "^[A-Za-z0-9_-]+$",
4458
+ "description": "Put the copy in this project or folder (you need to be an editor of it)."
4459
+ },
3104
4460
  "confirm": {
3105
4461
  "type": "string",
3106
4462
  "pattern": "^cf_[A-Za-z0-9]{24}$",
@@ -3130,7 +4486,7 @@
3130
4486
  {
3131
4487
  "name": "create_slate",
3132
4488
  "title": "Draw a flowchart, diagram or decision map",
3133
- "description": "Draw a flowchart, process diagram or decision map on a new private slate (a canvas the team can edit live) and return its link: steps written as \"A -> B\" (kind \"diagram\"), or a decision map from a one-line question. Mind maps and Gantt project plans are drawn from Mermaid by import_mermaid.\n\nCreate a slate. Omitting kind creates a playable decision map from a brief of up to 160 characters. kind diagram makes editable notes and connections from your own steps (up to 1200 characters, connect two steps with → or ->) or from a named source. The token owner owns the new private slate.",
4489
+ "description": "Draw a flowchart, process diagram or decision map on a new private slate (a canvas the team can edit live) and return its link: steps written as \"A -> B\" (kind \"diagram\"), or a decision map from a one-line question. Mind maps and Gantt project plans are drawn from Mermaid by import_mermaid.\n\nCreate a slate. Omitting kind creates a playable decision map from a brief of up to 160 characters. kind diagram makes editable notes and connections from your own steps (up to 1200 characters, connect two steps with → or ->) or from a named source. The token owner owns the new private slate. With projectId it is made in that project or folder, where the project's people can open it.",
3134
4490
  "inputSchema": {
3135
4491
  "type": "object",
3136
4492
  "properties": {
@@ -3151,10 +4507,16 @@
3151
4507
  "enum": [
3152
4508
  "sign-in-outage",
3153
4509
  "call-status",
3154
- "interview-notes",
3155
- "friday-launch"
4510
+ "interview-notes"
3156
4511
  ]
3157
4512
  },
4513
+ "projectId": {
4514
+ "type": "string",
4515
+ "minLength": 1,
4516
+ "maxLength": 64,
4517
+ "pattern": "^[A-Za-z0-9_-]+$",
4518
+ "description": "Make the slate in this project or folder (you need to be an editor of it)."
4519
+ },
3158
4520
  "confirm": {
3159
4521
  "type": "string",
3160
4522
  "pattern": "^cf_[A-Za-z0-9]{24}$",
@@ -3184,7 +4546,7 @@
3184
4546
  {
3185
4547
  "name": "delete_slate",
3186
4548
  "title": "Delete a slate",
3187
- "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.",
4549
+ "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, or the owner of the project it is in. This cannot be undone.",
3188
4550
  "inputSchema": {
3189
4551
  "type": "object",
3190
4552
  "properties": {
@@ -3255,6 +4617,22 @@
3255
4617
  "type": "string",
3256
4618
  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
3257
4619
  "description": "A Gantt chart's first day, YYYY-MM-DD (default today)."
4620
+ },
4621
+ "canonical": {
4622
+ "type": "boolean",
4623
+ "default": false,
4624
+ "description": "Write the canonical flowchart a repository keeps: notes, frames and lines sorted by id, note ids as names, a fixed direction, and a first-line header \"%% slatebox:<shareId> rev:<n> hash:<h>\" (the hash changes only when the diagram does, never when notes move). slates.importMermaid with sync reads it back."
4625
+ },
4626
+ "direction": {
4627
+ "type": "string",
4628
+ "enum": [
4629
+ "LR",
4630
+ "TD",
4631
+ "RL",
4632
+ "BT"
4633
+ ],
4634
+ "default": "LR",
4635
+ "description": "With canonical: the direction written."
3258
4636
  }
3259
4637
  },
3260
4638
  "required": [
@@ -3358,7 +4736,7 @@
3358
4736
  {
3359
4737
  "name": "import_mermaid",
3360
4738
  "title": "Draw a mind map, flowchart or Gantt plan",
3361
- "description": "Draw an editable mind map, brainstorm, flowchart or project plan (Gantt chart) on a shared slate, from an outline written in Mermaid (flowchart/graph, mindmap or gantt), on a new slate or beside what an existing slate holds. Returns the slate link, where the team edits it live and can present it.\n\nDraw Mermaid. Draw a Mermaid flowchart, mind map or Gantt chart as real notes and lines, laid out in the diagram's direction (subgraphs and Gantt sections become frames). With shareId the diagram is added beside what that slate holds (it needs edit access; everyone on the slate sees it drawn); without, it becomes a new private slate of yours named name (or the diagram's title). Mermaid in a Markdown ```mermaid block is read too. Another kind of diagram is refused with 422 mermaid_unsupported; a mistake with 400 mermaid_invalid naming its line; a diagram past a slate's limits (1,000 notes counting frames, 5,000 lines, frames 50 deep, or a subgraph too big for one frame) with 422 mermaid_too_large. mode \"preview\" shows what would be drawn without saving.",
4739
+ "description": "Draw an editable mind map, brainstorm, flowchart or project plan (Gantt chart) on a shared slate, from an outline written in Mermaid (flowchart/graph, mindmap or gantt), on a new slate or beside what an existing slate holds. Returns the slate link, where the team edits it live and can present it.\n\nDraw Mermaid. Draw a Mermaid flowchart, mind map or Gantt chart as real notes and lines, laid out in the diagram's direction (subgraphs and Gantt sections become frames). With shareId the diagram is added beside what that slate holds (it needs edit access; everyone on the slate sees it drawn); without, it becomes a new private slate of yours named name (or the diagram's title). Mermaid in a Markdown ```mermaid block is read too. Instead of mermaid, outline takes plain lines (one item per line, indented for children; bullets, numbers and # headings are read) and draws them as a mind map with each item's words exactly as written. Another kind of diagram is refused with 422 mermaid_unsupported; a mistake with 400 mermaid_invalid naming its line; a diagram past a slate's limits (1,000 notes counting frames, 5,000 lines, frames 50 deep, or a subgraph too big for one frame) with 422 mermaid_too_large. mode \"preview\" shows what would be drawn without saving.",
3362
4740
  "inputSchema": {
3363
4741
  "type": "object",
3364
4742
  "properties": {
@@ -3366,7 +4744,13 @@
3366
4744
  "type": "string",
3367
4745
  "minLength": 1,
3368
4746
  "maxLength": 100000,
3369
- "description": "Mermaid source (flowchart/graph, mindmap or gantt), or Markdown holding a ```mermaid block."
4747
+ "description": "Mermaid source (flowchart/graph, mindmap or gantt), or Markdown holding a ```mermaid block. Give this or outline."
4748
+ },
4749
+ "outline": {
4750
+ "type": "string",
4751
+ "minLength": 1,
4752
+ "maxLength": 100000,
4753
+ "description": "Instead of mermaid: an outline, one item per line, indented (spaces or tabs) for children; leading bullets and numbers are dropped and # headings nest by level. Drawn as a mind map (up to 20,000 characters and 1,000 items), each item's words kept exactly as written. Several items at the top go around a central idea named by name (or \"Outline\")."
3370
4754
  },
3371
4755
  "shareId": {
3372
4756
  "type": "string",
@@ -3381,6 +4765,23 @@
3381
4765
  "maxLength": 200,
3382
4766
  "description": "The new slate's name (without shareId)."
3383
4767
  },
4768
+ "projectId": {
4769
+ "type": "string",
4770
+ "minLength": 1,
4771
+ "maxLength": 64,
4772
+ "pattern": "^[A-Za-z0-9_-]+$",
4773
+ "description": "Make the new slate in this project or folder (without shareId; you need to be an editor of it)."
4774
+ },
4775
+ "sync": {
4776
+ "type": "boolean",
4777
+ "description": "With shareId: read a flowchart back onto the slate it came from (canonical export, format names = note ids) instead of drawing it beside: new names are drawn, changed text and shapes updated, lines connected, disconnected or relabeled; nothing is moved. Notes and lines named in base that the diagram drops are deleted; notes added on the slate since are never touched."
4778
+ },
4779
+ "base": {
4780
+ "type": "string",
4781
+ "minLength": 1,
4782
+ "maxLength": 100000,
4783
+ "description": "With sync: the diagram as last synced (what the slate and the file last agreed on). Only what it names may be deleted."
4784
+ },
3384
4785
  "mode": {
3385
4786
  "type": "string",
3386
4787
  "enum": [
@@ -3401,9 +4802,6 @@
3401
4802
  "description": "Send with confirm: the idempotencyKey from the confirmation_required result."
3402
4803
  }
3403
4804
  },
3404
- "required": [
3405
- "mermaid"
3406
- ],
3407
4805
  "additionalProperties": false
3408
4806
  },
3409
4807
  "annotations": {
@@ -3468,7 +4866,7 @@
3468
4866
  {
3469
4867
  "name": "list_slates",
3470
4868
  "title": "List your slates",
3471
- "description": "List the person's slates (diagrams, mind maps, plans, boards), or their team's, newest first, with each one's link. Filter by name.\n\nList slates. List your slates, newest first, as your Slates page shows them: your own (scope \"mine\"), or your team's that you may open (scope \"team\": its public slates, and its private slates shared with you, or all of them for a team admin). Filter by name with q.",
4869
+ "description": "List the person's slates (diagrams, mind maps, plans, boards), or their team's, newest first, with each one's link. Filter by name.\n\nList slates. List your slates, the latest edited first (sort \"updated\"), or the newest made first (sort \"created\"), as your Slates page shows them: your own (scope \"mine\", wherever they are), your team's that you may open (scope \"team\": its public slates, and its private slates shared with you, or all of them for a team admin), or a project's (scope \"project\" with projectId: every slate in it and its folders, whoever owns it). Filter by name with q.",
3472
4870
  "inputSchema": {
3473
4871
  "type": "object",
3474
4872
  "properties": {
@@ -3476,10 +4874,18 @@
3476
4874
  "type": "string",
3477
4875
  "enum": [
3478
4876
  "mine",
3479
- "team"
4877
+ "team",
4878
+ "project"
3480
4879
  ],
3481
4880
  "default": "mine"
3482
4881
  },
4882
+ "projectId": {
4883
+ "type": "string",
4884
+ "minLength": 1,
4885
+ "maxLength": 64,
4886
+ "pattern": "^[A-Za-z0-9_-]+$",
4887
+ "description": "With scope \"project\": the project or folder."
4888
+ },
3483
4889
  "q": {
3484
4890
  "type": "string",
3485
4891
  "minLength": 1,
@@ -3491,6 +4897,15 @@
3491
4897
  "minimum": 1,
3492
4898
  "maximum": 100,
3493
4899
  "default": 25
4900
+ },
4901
+ "sort": {
4902
+ "type": "string",
4903
+ "enum": [
4904
+ "updated",
4905
+ "created"
4906
+ ],
4907
+ "default": "updated",
4908
+ "description": "updated: the latest edited first; created: the newest slate first (slates whose creation time is not known come last)."
3494
4909
  }
3495
4910
  },
3496
4911
  "additionalProperties": false
@@ -3505,6 +4920,36 @@
3505
4920
  "method": "slates.list",
3506
4921
  "kind": "read"
3507
4922
  },
4923
+ {
4924
+ "name": "watch_slate_live",
4925
+ "title": "Watch a slate live",
4926
+ "description": "Get a read-only seat in a slate's live room (relay address, room and a short-lived token) to follow edits as people make them.\n\nWatch a slate live. A read-only seat in a slate's live room: the relay address (wsUrl), the room and a room token that lasts 15 minutes (exp, unix seconds). Join the relay with them to see edits as people make them; ask again before exp for a fresh token. The role is always read. A public slate answers without a token. 503 unavailable when this server has no live relay.",
4927
+ "inputSchema": {
4928
+ "type": "object",
4929
+ "properties": {
4930
+ "shareId": {
4931
+ "type": "string",
4932
+ "minLength": 1,
4933
+ "maxLength": 80,
4934
+ "pattern": "^[A-Za-z0-9_-]+$",
4935
+ "description": "The slate ID from its address: /canvas/<shareId>."
4936
+ }
4937
+ },
4938
+ "required": [
4939
+ "shareId"
4940
+ ],
4941
+ "additionalProperties": false
4942
+ },
4943
+ "annotations": {
4944
+ "title": "Watch a slate live",
4945
+ "readOnlyHint": true,
4946
+ "destructiveHint": false,
4947
+ "idempotentHint": true,
4948
+ "openWorldHint": false
4949
+ },
4950
+ "method": "slates.live",
4951
+ "kind": "read"
4952
+ },
3508
4953
  {
3509
4954
  "name": "redo_my_edit",
3510
4955
  "title": "Redo my last undo",
@@ -3630,6 +5075,37 @@
3630
5075
  "method": "slates.undo",
3631
5076
  "kind": "write"
3632
5077
  },
5078
+ {
5079
+ "name": "show_slate",
5080
+ "title": "Show a slate",
5081
+ "description": "Show a slate (a diagram, mind map, plan or board) to the person in the conversation, with a link that opens it in Slatebox. Use it after creating or editing a slate.\n\nShow. Show a slate you can open to the person: its name, address (url), revision, note count and whether you may edit it, the picture the view draws (picture: notes and lines), and a view token (view.token, read-only, this slate only, 15 minutes) that the view refreshes the picture with at view.url. On an MCP host that draws views, the slate appears in the conversation; the token and the picture go to the view only. Ask again for a fresh token.",
5082
+ "inputSchema": {
5083
+ "type": "object",
5084
+ "properties": {
5085
+ "shareId": {
5086
+ "type": "string",
5087
+ "minLength": 1,
5088
+ "maxLength": 80,
5089
+ "pattern": "^[A-Za-z0-9_-]+$",
5090
+ "description": "The slate ID from its address: /canvas/<shareId>."
5091
+ }
5092
+ },
5093
+ "required": [
5094
+ "shareId"
5095
+ ],
5096
+ "additionalProperties": false
5097
+ },
5098
+ "annotations": {
5099
+ "title": "Show a slate",
5100
+ "readOnlyHint": true,
5101
+ "destructiveHint": false,
5102
+ "idempotentHint": true,
5103
+ "openWorldHint": false
5104
+ },
5105
+ "ui": "ui://slatebox/slate-viewer.html",
5106
+ "method": "slates.view",
5107
+ "kind": "read"
5108
+ },
3633
5109
  {
3634
5110
  "name": "decide_suggestions",
3635
5111
  "title": "Keep, discard or undo agent work",
@@ -4076,5 +5552,14 @@
4076
5552
  "method": "slates.exportMermaid",
4077
5553
  "field": "mermaid"
4078
5554
  }
5555
+ ],
5556
+ "apps": [
5557
+ {
5558
+ "uri": "ui://slatebox/slate-viewer.html",
5559
+ "name": "slate-viewer",
5560
+ "title": "Slate viewer",
5561
+ "description": "Shows a slate inside the conversation: its notes and lines, kept up to date, with a link that opens it in Slatebox.",
5562
+ "mimeType": "text/html;profile=mcp-app"
5563
+ }
4079
5564
  ]
4080
5565
  }