Slatebox
v0.5.3Free, open-source whiteboard for your team and agents: diagrams, mind maps, smart boards, slides.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
exec Create or edit slates with a script
Create and edit slates (mind maps, flowcharts, diagrams, project plans, slides, 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…
| Parameter | Type | Description |
|---|---|---|
code * | string | JavaScript or TypeScript function body. Top-level await and return. |
intent * | string | One sentence a person can approve: what this script does. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Reuse to retry or confirm the same script; its saved calls replay instead of repeating. |
mode | string | preview runs every write in the script as a preview and saves nothing. |
describe Learn the Slatebox client
The typed Slatebox client that exec scripts call, for mind maps, flowcharts, diagrams, whiteboards, project plans, slides and boards: the rules, every client method with a one-line summary, the common error codes, the limits and three example scripts. With methods (names), their full TypeScript declarations and the named types they use; with query, the methods those words find. Client reference: https://docs.slatebox.com/developers/slateboxapi/exec/
| Parameter | Type | Description |
|---|---|---|
methods | array | Method names, such as slates.applyOperations, to return their full declarations. |
query | string | Words to find methods by name, title or summary. |
get_account Read your account
Read the person's Slatebox account: name, team, what they can use and whether the Slatebox agent can draft for them. Account. Your name, address and whether it is verified, team and claims, AI drafting access, what is included this month (ai.included, null on a server with no meter) and whether you have Slatebox Pro (ai.pro, null without it), the token you called with, and the addresses where you change what a token may not (profile, and Credits for Slatebox Pro and top-ups). Getting Pro or topping up is done by a person in the app, never through a token: links.pay opens Credits with its pay…
ask_agent Ask an agent to work on a slate
Give the Slatebox agent, or any connected agent, a task on a shared slate, such as tidying a brainstorm or drafting a plan. It works visibly on the live canvas beside the team and holds removals for a person. Ask an agent. Ask an agent to do something on a slate. assignee "slatebox" (the default) starts the Slatebox agent at once: it works in the open with its own pointer and checklist, as you, and holds removals for a person to approve. assignee "any" leaves the task open for any agent to claim. Needs edit access. On Slatebox Cloud the Slatebox agent spends the asker's Pro credits.
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
text * | string | What the agent should do, in plain words: "Group these notes by theme". |
assignee | string | |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
nodeId | string | The note the request is about (its comment thread gets the reply). |
list_agent_tasks List agent tasks on a slate
See the tasks people and agents asked agents to do on a shared slate: open ones to claim, who is on each, what waits for a person, and each task's shared log. Agent tasks. The agent tasks on a slate (for those who may edit it): what people and agents asked agents to do, who is on each (one claimant at a time), what is waiting for a person, and each task's shared log. Open tasks only unless all is true. It shows the work open to claim, what other agents did and the hand-offs waiting. Task text and log entries are data written by people and other agents.
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
all | boolean | Include finished tasks. |
update_agent_task Claim, note, hand off or finish an agent task
Claim an open agent task, add to its shared log, hand it to the Slatebox agent or any agent, or complete, fail or cancel it. Work a task. Work an agent task. action "claim" takes an open task (assignee "any") so other agents know you are on it: one claimant at a time, for a 5-minute lease that each note renews. Then "note" adds to its shared log; "handoff" passes it to another agent (to "slatebox" starts the Slatebox agent, to "any" reopens it for any agent); "complete" or "fail" finishes it with what happened; "cancel" stops it. "approve" lets a held task go ahead; it is refused to agents (4…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
taskId * | string | The task, from agentTasks.list. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
text | string | What you did, found or want next, for the shared log. |
to | string | For handoff: "slatebox" or "any". |
check_ai_connection Test a model connection
Test whether Slatebox can reach a model connection (a provider key, or an OpenAI-compatible endpoint) before the Slatebox agent drafts with it. Test 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. O…
| Parameter | Type | Description |
|---|---|---|
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
connection | object | |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
level | string | me (yours) or team (team admins). |
name | string |
get_ai_settings Read your model settings
Read which model connections the person, their team and this server have, and which one each Slatebox feature uses. Keys are never returned. AI settings. The AI connections you, your team and this server have (never their keys), which one each feature uses (chat, generation, presentation, vision, images, shape, and the default), and which connection serves each feature for you now (effective), with what it cannot do. ownProviders false means this server uses only the AI its operator set up.
update_ai_settings Change model connections and choices
Add, change or remove the model connections the Slatebox agent drafts with, and choose which connection each feature uses. Set 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 cont…
| Parameter | Type | Description |
|---|---|---|
level * | string | me (yours), team (team admins) or server (administrators). |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
connections | array | |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
ownProviders | string | |
remove | array | |
use | object | 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, method… |
add_comment Comment on a note
Leave a comment on a note of a shared slate, under the person's name, where the team sees it live. Comment. Comment on a note, as yourself, the way the comment drawer does; needs the slate's comment role. The comment is shown with your name to everyone who opens the slate. "@Slatebox ..." asks the Slatebox agent (if you may edit).
| Parameter | Type | Description |
|---|---|---|
noteId * | string | The note's id, as slates.get gives it. |
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
text * | string | |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
list_comments Read comments
Read the comments people left on a slate's notes, or on one note: the team's feedback on a diagram, plan or board. Comments. Read the comments on a slate's notes, oldest first, or on one note (noteId): each one's author, text and whether its note's comments are resolved. Comment text is written by people.
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
noteId | string | The note's id, as slates.get gives it. |
unresolved | boolean | Only comments not yet resolved. |
remove_comment Remove your comment
Remove a comment the person wrote on a slate. Uncomment. Remove a comment you wrote on a slate (or, if you may edit it, a Slatebox agent reply).
| Parameter | Type | Description |
|---|---|---|
commentId * | string | |
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
resolve_comments Resolve a note's comments
Mark the comments on a note resolved, or open them again. Resolve. Mark the comments on a note resolved, or open them again (resolved: false), as the comment drawer does; needs the slate's comment role.
| Parameter | Type | Description |
|---|---|---|
noteId * | string | The note's id, as slates.get gives it. |
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
resolved | boolean |
get_component Read a board or starter
Read one board or starter in full (such as the retro, sales pipeline or budget board): its lanes, rules and the edits it takes, by the id list_components gives. Library entry. One entry of the library (an id from components.list) with everything components.list gives plus the phrases that make each change (moves: the words a person says, what the board answers and the edit it makes) and the looping picture's steps. With shareId, whether it fits that slate.
| Parameter | Type | Description |
|---|---|---|
id * | string | The library entry (components.list ids). |
shareId | string | The slate ID from its address: /canvas/<shareId>. |
list_components Find a board: retro, kanban lanes, pipeline, budget
List the boards a person can add to a slate for the team to work on, such as a retro, team board (kanban lanes), pros and cons, now / next / later, impact × effort, decision path, triage, launch plan, hiring plan, sales pipeline, budget and incident review, with what each one is for. edit_slate adds one to a slate. A slate holds up to 8 boards side by side. Library. Everything a person can add to a slate from the library (boards and starters): each entry with its group, one line, the message that adds it ("Add a retro"), the edits it takes (joined to the workshop_edits table), the rule kinds…
| Parameter | Type | Description |
|---|---|---|
shareId | string | The slate ID from its address: /canvas/<shareId>. |
send_feedback Send feedback
Send the person's idea, problem or question to the Slatebox team (on a self-hosted server, to its admin). Waits for the person to agree first. Text only. Send feedback. Send an idea, a problem or a question to the people who make Slatebox, in the person's own words. On Slatebox Cloud it goes to the Slatebox team. On a self-hosted server an agent sends it to that server's admin (to: "admin", the default there); only the person, in the app, can send it to the Slatebox team from there. It waits for the person to agree before it is sent. contactOk: true only if the person said the team may reply…
| Parameter | Type | Description |
|---|---|---|
text * | string | What the person wants to say, in their words. |
browser | string | The app only: the browser's name, major version and system, such as "Chrome 131 on macOS". |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
contactOk | boolean | true only if the person agreed to be contacted about it by email. |
email | string | Where to reply, when contactOk; else their account's address. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
kind | string | null | idea, problem or question; leave out when unsure. |
page | string | Where in the app it was sent from. |
screenshot | object | The app only: a picture of the slate the person attached (a JPEG of at most 1 MB, base64). Never from an agent. |
to | string | slatebox: the Slatebox team (from a self-hosted server, the app only, never an agent). admin: this self-hosted server's admin (not on Slatebox Cloud). |
via | string | The app only: the dialog (app) or Ask Slatebox (chat). |
describe_instance Describe this instance
Describe the Slatebox server these tools talk to: its name, version, what it can do and where its API is. Server. What this Slatebox instance is and can do. Without a token: its id, name, contract version and where to sign in. With a token: also the build, capability flags, limits, the canvas and workshop vocabularies, the routes it serves and your account.
branch_library_component Branch off a smart component
Start your own smart component on a new slate: a copy of one from the library to change, or an empty one (itemId "new"). Branch off a component. Start building a smart component on a new private slate (a builder slate): a copy of a library component to change (itemId), or an empty one (itemId "new"). Grow it by chat and with the controls on the board, then library.saveDraft and library.submit. A branch keeps its parent's category.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The component to branch off, or "new" for an empty builder slate. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
version | integer | A version number (item.publishedVersion by default). |
comment_on_library_item Write in a library thread
Write to the reviewer (or, as a reviewer, to the author) in a library item's thread. Write in the thread. Write in a library item's review thread: its author and the reviewers read it.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
message * | string | |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
discard_library_draft Discard a library draft
Delete one of your own draft library items. Discard a draft. Delete your own draft library item (never submitted, or withdrawn). Its builder slate stays.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
export_library Export the library
Read every published item of the shared library with its content, 50 per page. Library export. Every published library item with its published version's content, 50 per page, oldest first: what the public gallery is built from.
| Parameter | Type | Description |
|---|---|---|
cursor | string | The next value the previous page gave. |
kind | string | One kind only. Integrations are exported only when asked for by name. |
use_library_item Use a library item
Copy a slate or presentation from the shared library into a new private slate, add a smart component (a board with rules, such as a retro) to a slate, or add a recipe to one of your projects to pick and turn on. Use a library item. Use a library item: a slate or presentation becomes a new private slate of yours (a presentation with its deck), a smart component goes onto a new slate, or beside the boards of a slate you can edit (targetShareId; a slate holds up to 8 boards, past that 409 component_opens_new_slate; an agent gets 423 agents_paused while people there paused agents), and a recipe i…
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
expectedRevision | integer | With targetShareId: the slate revision you read; a slate changed since is refused with 409 slate_changed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
name | string | The new slate's name (the item's title by default). |
projectId | string | A recipe only: the project it keeps up to date (one you edit). |
targetShareId | string | A smart component only: the slate to add it to (one you can edit). |
topic | string | A smart component only: what it is about, which names its board. |
version | integer | A version number (item.publishedVersion by default). |
get_library_item Read a library item
Read one item of the shared library in full: a smart component's board and rules, or a slate or presentation. Library item. One library item by id or slug, with a version's content: a smart component's board (workshop, with its rules), or a slate's notes (and a presentation's deck). Anyone reads published items; an item's author and reviewers also read its drafts, every version and its review thread.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
version | integer | A version number (item.publishedVersion by default). |
list_library Browse the library of boards, slates, decks and recipes
Browse the shared Slatebox library: smart components (boards with rules, such as retro, planning and pipeline boards), slates and presentations anyone can copy, recipes that keep slates up to date, and what your team shared, by kind, category or words. Library. 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, and recipes (agents that keep a project's slates up to date: kind recipe, where recipes run), plus the items your team shared with you (audience team).…
| Parameter | Type | Description |
|---|---|---|
audience | string | public: the published library only; team: only what your team shared with you. |
category | string | One of the categories plan, decide, meetings, track, map, make. An integration takes work, workspace, dev, design, business, research or web. |
cursor | string | The next value the previous page gave. |
kind | string | |
limit | integer | |
origin | string | |
q | string | |
sort | string |
list_my_library List my library items
List the smart components, slates and presentations you saved or submitted to the shared library, with where each stands in review. My library. Your own library items, newest first: drafts, submissions waiting for review, items that need changes, published and not accepted ones, each with its status, the version waiting, the last message and the last 20 events of its thread.
| Parameter | Type | Description |
|---|---|---|
status | string |
approve_library_item Approve a library submission
For administrators: publish a library submission in review, as its review copy stands. The person agrees first. Approve and publish. For administrators: publish an item in review as its review copy stands now (your refinements included), as the version its author sent. Anyone can then find, use and change it. The author is told. The person agrees first.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
message | string | |
selfReview | boolean | Review your own submission. Allowed only on a server with one administrator; the thread records it. |
open_library_review Open a library submission
For administrators: open a library submission for review as a private copy you can change on the canvas. Open 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.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
selfReview | boolean | Review your own submission. Allowed only on a server with one administrator; the thread records it. |
list_library_queue List library submissions
For administrators: list the library submissions waiting for review, oldest first. Review queue. For administrators: library items to review, oldest first: waiting (submitted and changes requested, the default), in_review, changes_requested, rejected, published or all. Each with its author, kind, the version waiting, whether it updates a published item, how long it has waited and the last message. source migration lists the slates moved from Community slates.
| Parameter | Type | Description |
|---|---|---|
cursor | string | The next value the previous page gave. |
kind | string | |
source | string | |
status | string |
refine_library_item Refine a library submission
For administrators: change a library submission in review by asking in plain words; preview the change, then keep it. Refine by chat. For administrators: ask for a change to an item in review in plain words ("rename it to Weekly retro", "put it in Meetings", "Write a clearer one-line summary", "What should I check?"). Preview answers the proposal (metadata from and to, rule lines for a component's board, things to check) and its previewId; save with that previewId keeps exactly it, on the item and on the review copy. Simple renames, categories and summaries are read without AI.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
message * | string | |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
history | array | |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
previewId | string | Save: the previewId a preview answered. Keeps exactly that proposal (no second AI answer). |
selfReview | boolean | Review your own submission. Allowed only on a server with one administrator; the thread records it. |
reject_library_item Reject
For administrators: turn down a library submission, with a message the author reads. Reject. For administrators: turn down a submission, with a message saying why. A published item's rejected update leaves the published version as it is.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
message * | string | Why: the author reads it. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
request_library_changes Request changes
For administrators: send a library submission back for changes, with a message the author reads. Request changes. For administrators: send an item in review back to its author for changes, with a message saying what to change.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
message * | string | Why: the author reads it. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
unpublish_library_item Unpublish
For administrators: take a published item out of the library, with a message the author reads. Unpublish. For administrators: take a published item out of the library, with a message saying why. Copies people already made stay theirs.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
message * | string | Why: the author reads it. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
update_library_item Edit a library item's details
For administrators: change a library item's title, summary, description, category or search words. Edit details. For administrators: change a library item's title, summary, description, category or search words directly. A branch's category stays its parent's.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
category | string | One of the categories plan, decide, meetings, track, map, make. An integration takes work, workspace, dev, design, business, research or web. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
description | string | Plain text, up to 2,000 characters. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
selfReview | boolean | Review your own submission. Allowed only on a server with one administrator; the thread records it. |
summary | string | One line, up to 160 characters. |
synonyms | array | Smart components only: words people might search for. |
title | string | Plain text, up to 80 characters. |
save_library_draft Save to the library
Save your smart component, or one of your recipes, to the library: private to you, shared with your team, or sent for review to share with everyone. Save a component. Save to the library: the board of your builder slate (library.branch) as your own smart component, or (kind recipe) one of your recipes (instanceId) or a spec from recipes.draft, its spec only: never its picks, permissions, webhooks or secrets. It stays private to you: share it with library.setAudience (your team at once, or everyone after review). The first save makes the item; later saves update it (itemId, or the builder slat…
| Parameter | Type | Description |
|---|---|---|
boardId | string | The board on the builder slate (main by default). |
category | string | One of the categories plan, decide, meetings, track, map, make. An integration takes work, workspace, dev, design, business, research or web. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
description | string | Plain text, up to 2,000 characters. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
instanceId | string | kind recipe: one of your recipes (recipes.list instanceId) to save; nothing personal of it is kept. |
itemId | string | The item: its id or its slug (library.list items[].id or .slug). |
kind | string | component (by default): a builder slate's board; recipe: a recipe or its spec. |
shareId | string | kind component: the builder slate. |
spec | object | kind recipe: a spec (recipes.draft) to save instead. |
summary | string | One line, up to 160 characters. |
synonyms | array | Smart components only: words people might search for. |
title | string | Plain text, up to 80 characters. |
library_set_audience Choose who sees a library item
Keep a library item to yourself, share it with your team, or send it for review to share it with everyone. The person agrees first. Choose who sees a library item. Who sees one of your library items: private (only you), team (everyone in your team, at once and without review: the same trust as sharing a project; it needs a team, and the team's admins can take it back), or public (sent for review as library.submit; once approved anyone can find, use and change it, under CC BY 4.0). Any kind but integration. A team admin may set private on an item shared with their team.
| Parameter | Type | Description |
|---|---|---|
audience * | string | Who sees it: private (only you), team (your team, at once, no review), or public (sent for review; everyone once approved). |
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
note | string | public only: a note for the reviewer. |
get_library_stats Count the library
Count the published smart components, slates and presentations in the shared library, and the items in each category. Library counts. How many published items the shared library holds: smart components (built in and from the community, and the total), slates, presentations, and items per category. Open to anyone.
submit_to_library Submit to the library
Send your smart component, recipe, slate or presentation for review, to be published in the shared library for anyone to use. The person agrees first. Submit to the library. Send something of yours for review, to be published in the shared library: a smart component or a recipe you saved (itemId; recipes: 3 a day), 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 approv…
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
auth | string | kind integration: how it signs people in: none, oauth or key. |
category | string | One of the categories plan, decide, meetings, track, map, make. An integration takes work, workspace, dev, design, business, research or web. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
consent | boolean | kind integration: the person agrees its address, name and description become public if approved. |
description | string | Plain text, up to 2,000 characters. |
homepage | string | kind integration: its homepage or docs (https). |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
integrationId | string | kind integration: the connected integration to submit (integrations.list). |
itemId | string | The item: its id or its slug (library.list items[].id or .slug). |
note | string | A note for the reviewer: the first message of the item's thread. |
shareId | string | The slate ID from its address: /canvas/<shareId>. |
summary | string | One line, up to 160 characters. |
synonyms | array | Smart components only: words people might search for. |
title | string | Plain text, up to 80 characters. |
withdraw_library_item Withdraw a library item
Take back your library submission before review, or take your published item out of the library. Withdraw. Take back your submission before it is reviewed (it is a draft again), or take your published item out of the library (copies people made stay theirs).
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The item: its id or its slug (library.list items[].id or .slug). |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
lookup_media Look up a video
Read a YouTube, Vimeo or Loom link: its title, author and a stored poster, ready for a video note. Video info. Read a YouTube, Vimeo or Loom address: the video's host, id, canonical address, start time, title and author, and its poster picture stored in this app (so people's browsers reach the video host only when they press play). Pass the answer as media in an add_nodes operation (count 1), or call slates.addMedia to look up and add in one step. When the host shares no title or picture the video still comes back, with a notice. Any other address is refused with 400 not_a_video. At most 60 n…
| Parameter | Type | Description |
|---|---|---|
url * | string | The video's address: a YouTube, Vimeo or Loom link. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
build_idea_for_you Build an idea made for the person
Build one idea made for the person: drafted from their words, saved as their private library draft, opened on a new private slate. Build 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.
| Parameter | Type | Description |
|---|---|---|
ideaId * | string | The idea, as personal.ideas.list gives it (ideas[].id). |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
dismiss_idea_for_you Turn down an idea made for the person
Turn down one idea made for the person, so it is not suggested again. Not for me. Turns down one idea: it goes, and the agent is not asked for it again.
| Parameter | Type | Description |
|---|---|---|
ideaId * | string | The idea, as personal.ideas.list gives it (ideas[].id). |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
list_ideas_for_you Read the ideas made for the person
Read the smart components and printable pages Slatebox suggested for the person's work, each with why it fits. Ideas 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.
refresh_ideas_for_you Get new ideas made for the person
Ask Slatebox for new smart components and printable pages made for the person's work, from their About you and connected tools. Get 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.
| Parameter | Type | Description |
|---|---|---|
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
show_plan Show your plan to people on the slate
Show the people on a shared slate a short checklist (1 to 8 steps) of what you are about to do, beside your name on the live canvas. Show a plan. Show the people on a slate what this run will do: 1 to 8 short steps, as a checklist beside your named pointer. The first step is under way; presence.step ticks the steps. Saves move the pointer to what they change. At most 3 plans per run. A preview run shows nothing.
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
steps * | array | What the run will do, in order, in plain words: "Read the interview notes", "Draft a brief". |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
tick_plan_step Tick a step of your plan
Mark a step of the plan shown with show_plan as doing, done or skipped. Tick step. Mark a step of the plan set with presence.plan as doing, done or skipped. When a step is done and none is under way, the next one starts; a step under way is done when another starts or the run ends. At most 40 per run. A preview run changes nothing.
| Parameter | Type | Description |
|---|---|---|
index * | integer | The step, from 0. |
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
status * | string | |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
create_presentation Create a presentation
Make a presentation (slides) from a slate: the Slatebox agent composes a styled deck (its steps, layouts and captions) that flies across the canvas. For slides about a topic, draw the points on a slate first (import_mermaid). Returns the steps and a link that plays it. Present. Create a presentation of a slate with the planner the Present button uses: the AI (feature presentation, counted like other AI use) groups the notes into steps and chooses each step's layout, kicker and caption, played on the live canvas with camera moves. Optional: a style (voyage, stage, editorial, neon, sketch, blue…
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
brief | string | What the presentation should focus on or bring out, in plain words. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
palette | array | Your own colors, with a style: the first three lead, the background stays the style's. |
style | string | The style to play it in. Left out, the AI chooses. |
get_presentation Read a presentation
Read a slate's presentation (its slides): its style and each step's layout and caption. Deck. 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.
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
style_presentation Restyle a presentation
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. Restyle. 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 sty…
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
style * | string | |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
palette | array | Your own colors: the first three lead, the background stays the style's. |
add_profile_fact Remember something about the person
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. Add 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.
| Parameter | Type | Description |
|---|---|---|
kind * | string | What the fact is about: role, team, work, goal, project, tool, topic, style, routine, other. |
text * | string | The fact in a few plain words, up to 280 characters ("Product manager", "Uses Linear"). |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
clear_profile_facts Delete what Slatebox knows about the person
Remove every About you fact, or those from one kind of source. Delete 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.
| Parameter | Type | Description |
|---|---|---|
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
source | string | Only facts from this kind of source. |
hide_profile_fact Hide or show a fact about the person
Hide one About you fact so it is never used (hidden false shows it again). Hide 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.
| Parameter | Type | Description |
|---|---|---|
factId * | string | The fact, as profile.facts.list gives it (facts[].id). The fact read from the first slate is "first-slate". |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
hidden | boolean | false shows the fact again. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
list_profile_facts Read what Slatebox knows about you
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. About 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.
| Parameter | Type | Description |
|---|---|---|
kind | string | Only facts of this kind. |
remove_profile_fact Remove a fact about the person
Remove one About you fact. Remove a fact about you. Removes one fact from About you.
| Parameter | Type | Description |
|---|---|---|
factId * | string | The fact, as profile.facts.list gives it (facts[].id). The fact read from the first slate is "first-slate". |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
update_profile_fact Change a fact about the person
Change the words or the kind of one About you fact. Change 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.
| Parameter | Type | Description |
|---|---|---|
factId * | string | The fact, as profile.facts.list gives it (facts[].id). The fact read from the first slate is "first-slate". |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
kind | string | What the fact is about: role, team, work, goal, project, tool, topic, style, routine, other. |
text | string | The fact in a few plain words, up to 280 characters ("Product manager", "Uses Linear"). |
get_profile_settings Read personalization settings
Read whether personalization is on for the person, and which sources may add to About you. Personalization settings. Whether personalization is on, and each source's switch. A connected tool or an upload is off until you switch it on.
get_project_sharing See who a project is shared with
See who can open one of the person's projects, with each person's and team's role and the link's. Get 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.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | A project (a drive) or one of its folders. |
create_project Make a project or folder
Make a project (a shareable drive for slates) or a folder in one, and return its link. Create 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).
| Parameter | Type | Description |
|---|---|---|
name * | string | |
color | integer | null | A palette index for the project's dot. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
description | string | |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
parentId | string | Make a folder in this project or folder. |
delete_project Delete a project or folder
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. Delete 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 witho…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | A project (a drive) or one of its folders. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
moveContentsTo | string | For a folder: where its slates and folders go (its parent by default). |
get_project Read a project
Read one of the person's projects or folders: its folders, its place in the project and the person's role. Get 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.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | A project (a drive) or one of its folders. |
linkKey | string | The key of a link to the project (/p/<key>). Not used by tokens. |
list_projects List your projects
List the person's projects (shared drives that hold slates and folders), owned and shared, with their role in each. List 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.
| Parameter | Type | Description |
|---|---|---|
parentId | string | List the folders in this project or folder. |
move_slate_to_project Move a slate into a project
Put one of the person's slates in a project or folder, move it between them, or take it out of its project. Move 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.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | null | The project or folder it goes in; null takes it out of its project. |
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
list_project_slates List the slates in a project
List the slates in one of the person's projects or folders, newest first, with each one's link. List 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.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | A project (a drive) or one of its folders. |
limit | integer | |
linkKey | string | The key of a link to the project (/p/<key>). Not used by tokens. |
nested | boolean | Include the slates in its folders. |
q | string | Part of the slate name. |
update_project Rename or reorganize a project
Rename a project or folder, move a folder within its project, or pause its recipes. Update 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.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | A project (a drive) or one of its folders. |
color | integer | null | A palette index for the project's dot. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
description | string | |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
name | string | |
parentId | string | Move this folder into that folder (or the project itself). |
recipesPaused | boolean | Pause (true) or resume (false) every recipe in the project. |
draw_security_slate Draw a threat model or security architecture
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. Draw 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…
| Parameter | Type | Description |
|---|---|---|
what * | string | |
architecture | object | A repository's architecture model, as the architecture extractors build it (paths and names only, never code). |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
files | array | 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 th… |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
name | string | The new slate's name (without shareId). |
projectId | string | Make the new slate in this project or folder (without shareId). |
repo | string | With files: owner/name, for the title and links. |
sha | string | With files: the commit they were read at. |
shareId | string | Draw on this slate. Leave out to make a new private slate. |
get_slate_security Read a slate's security properties
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. Read 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 che…
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
set_slate_security Set security properties on a slate
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. Change 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 it…
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
expectedRevision | integer | 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. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
labelLines | boolean | Also label each line changed here with its properties. |
lines | object | By line id (slates.get lists them). |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
notes | object | By note id (slates.get lists them). |
apply_shape Give notes a shape
Give notes on a slate a built-in or custom shape, such as one from the shape library or one just drawn. Shape 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.
| Parameter | Type | Description |
|---|---|---|
ids * | array | The notes. |
shape * | string | |
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
expectedRevision | integer | The revision you read; the current one when left out. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
generate_shape Draw a custom shape
Draw custom outlines for notes from a description, such as a rocket or a speech bubble. Draw 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.
| Parameter | Type | Description |
|---|---|---|
describe * | string | The shape, in plain words. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
count | integer | |
fresh | boolean | Draw new ones instead of returning the last ones for this description. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
list_shapes List custom shapes
List the custom note shapes saved by the person and their team. List shapes. The shapes in your library and your team's (newest used first): id, name, proportions, visibility, and the outline when 24 or fewer come back. shapes.apply takes one as shape "lib:<id>".
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
q | string | Words in the shape name. |
scope | string |
search_icons Search icons
Search The Noun Project for icons to use as note shapes, each with the credit to show. Icons. Search The Noun Project's icons by words. Each result is one checked outline in a 0..100 box (icons that cannot be one outline are left out) with credit: the text and link The Noun Project asks to show with the icon. An applyOperations update_nodes or add_nodes plan takes {name, d, fillRule} as the shape. Not counted as AI use. Answers 503 icons_not_set_up on a server without a Noun Project key.
| Parameter | Type | Description |
|---|---|---|
q * | string | Words for the icon, such as songbird. |
limit | integer |
add_media_note Add a video note
Add a YouTube, Vimeo or Loom video to a slate as a note that shows its poster and plays in place when pressed. Add video. Add a video note to a slate from a YouTube, Vimeo or Loom address: the poster (stored in this app), a play button, and the title and host. It plays where it sits when someone presses play, never on its own, and plays inline in presentations. x and y place its top-left corner (320 by 180); without them it goes beside the slate's notes. One save, like slates.applyOperations; mode "preview" stores nothing. Added by an agent, the note is a live suggestion (202, outcome "sugges…
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
url * | string | The video's address: a YouTube, Vimeo or Loom link. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
x | number | The note's left edge, in canvas units. Send with y. |
y | number | The note's top edge, in canvas units. Send with x. |
edit_slate Edit a diagram, mind map or whiteboard
Edit a slate (a diagram, mind map, whiteboard or board): add, change, connect, lay out or remove notes and lines, add boards such as a retro, and edit boards (cards, lanes, rules, plan weeks, budgets, presentation order; name the board on a slate with several). One call saves atomically; mode "preview" shows the result without saving. Your canvas edits appear live as suggestions people on the slate keep or discard. The full reference is in describe, methods ["slates.applyOperations"].
| Parameter | Type | Description |
|---|---|---|
plan * | object | Its full type is long and is in describe, methods ["slates.applyOperations"]. |
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
expectedRevision | integer | Required with a canvas plan: the slate revision you read (slates.get, GET /slates/{shareId}). The edit is refused with 409 slate_changed only if a note or setting it changes was changed after that rev… |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
userMessage | string | What the person asked for, in their words. |
check_board_move Check a move on a board
Check whether a card may move to a lane on a slate's board (retro, pipeline, budget, hiring plan and others), without moving it, and why not. On a slate with several boards, name the board. Check move. Whether a card may move to a lane on one of the slate's boards (boardId; required on a slate of several boards, 400 board_required lists them), without moving it: the same verdict a drag gets. On a nested board (piles, a tree) the move names the card it goes under instead (under), or the area it goes to (lane). Answers {ok: true, warnings} or {refused: {sentence, ruleId, nearest, set, overridab…
| Parameter | Type | Description |
|---|---|---|
card * | string | An id, or what a person calls it. |
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
boardId | string | The board (slates.get boards[].id; main is the first). Required when the slate holds several boards. |
lane | string | An id, or what a person calls it. |
under | string | Nested board: the card it goes under (an id, or what a person calls it). |
copy_slate Copy a slate
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. Copy 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).
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
name | string | |
projectId | string | Put the copy in this project or folder (you need to be an editor of it). |
create_slate Draw a flowchart, diagram or decision map
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. Create 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 projec…
| Parameter | Type | Description |
|---|---|---|
brief * | string | |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
kind | string | |
projectId | string | Make the slate in this project or folder (you need to be an editor of it). |
source | string |
delete_slate Delete a slate
Delete one of the person's own slates. This cannot be undone. Delete 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.
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
export_mermaid Read a slate as Mermaid
Read a slate as Mermaid text, to put a diagram in docs or code: a mind map as mindmap, a project plan as a Gantt chart, anything else as a flowchart. To Mermaid. Write a slate you can open as Mermaid text: notes and lines as a flowchart (direction from the layout; shapes, labels, arrow ends and dashed, thick or hidden lines kept; a note drawn behind notes it holds becomes a subgraph of them; a workshop's lanes become subgraphs of cards), a mind map as a mindmap, a launch plan as a Gantt chart (format gantt, start is its first day). Returns the text, the same as a Markdown code block, and for…
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
canonical | boolean | 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… |
direction | string | With canonical: the direction written. |
format | string | auto: a mind map that is one tree as mindmap, anything else as flowchart. |
start | string | A Gantt chart's first day, YYYY-MM-DD (default today). |
styles | boolean | Also write each note's colors (style lines). |
get_slate Read a slate
Read a slate (a diagram, mind map, plan or board): its notes, lines, boards, comments and revision. An edit names the revision it was made on (expectedRevision). Read a slate. Read a slate you can open: every note with every key a write sets, its connectors, what you may do here (access), its address, comments, conversation starters and, on a workshop or map, the workshop with its own revision (the one workshop and map edits use) and what it takes in plain words (workshop.can). revision is the slate's save count: send it as expectedRevision with an edit, and the edit is refused only if a note…
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
cursor | string | nextCursor from the page before. |
fields | string | Comma-separated note keys to return (id always comes): any key a write sets, and image and comments. |
groupId | string | Only the notes of this group. |
ids | string | Comma-separated note IDs: only these notes. |
include | string | |
limit | integer | Notes per page (default 100). A page also stops at a size ceiling. |
match | string | With q: contains searches inside the text. |
q | string | Notes whose whole text is this, ignoring case and extra spaces: the notes a write naming this text would change. |
within | string | x,y,width,height: only notes lying wholly inside this rectangle. |
import_diagram Import a draw.io, Visio, Lucid, Excalidraw, PlantUML or other diagram
Turn a diagram file from another tool (draw.io, Visio, Lucidchart, Excalidraw, tldraw, Graphviz, PlantUML, Mermaid, XMind, FreeMind, OPML, Markdown outline) into editable notes, lines and frames on a slate, keeping where its shapes were drawn, its pictures as photo notes. Returns the slate link. The full reference is in describe, methods ["slates.importDiagram"].
| Parameter | Type | Description |
|---|---|---|
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
data | string | The file, base64 (at most 5 MB). Give this or text. |
fileName | string | The file's name; its extension names the format when format is left out. Without either, the format comes from what the file holds. |
format | string | The format, when the file name does not say it. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
name | string | The new slate's name (without shareId). |
projectId | string | Make the new slate in this project or folder (without shareId; you need to be an editor of it). |
shareId | string | Draw beside what this slate holds. Leave out to make a new private slate. |
text | string | A text format (Graphviz, PlantUML, Mermaid, an outline, draw.io XML, OPML ...) as plain text, instead of data. |
import_mermaid Draw a mind map, flowchart or Gantt plan
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. Draw 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); withou…
| Parameter | Type | Description |
|---|---|---|
base | string | With sync: the diagram as last synced (what the slate and the file last agreed on). Only what it names may be deleted. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
mermaid | string | Mermaid source (flowchart/graph, mindmap or gantt), or Markdown holding a ```mermaid block. Give this or outline. |
mode | string | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. |
name | string | The new slate's name (without shareId). |
outline | string | 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 chara… |
projectId | string | Make the new slate in this project or folder (without shareId; you need to be an editor of it). |
shareId | string | Add to this slate. Leave out to make a new private slate. |
sync | boolean | 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 co… |
create_slate_invite Invite people to a slate by link
Turn on an unlisted invitation link to a slate so teammates can join and collaborate live, or change the role it gives. Anyone holding the link gets that role. Invite. The registered owner turns on an unlisted invitation link. Changing its role keeps the address. Public slates are changed in the Share dialog. Anyone holding the address gets the role.
| Parameter | Type | Description |
|---|---|---|
role * | string | |
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
list_slates List your slates
List the person's slates (diagrams, mind maps, plans, boards), or their team's, newest first, with each one's link. Filter by name. List 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
projectId | string | With scope "project": the project or folder. |
q | string | Part of the slate name. |
scope | string | |
sort | string | updated: the latest edited first; created: the newest slate first (slates whose creation time is not known come last). |
watch_slate_live Watch a slate live
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. Watch 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.
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
redo_my_edit Redo my last undo
Make again the canvas edit you last undid on a slate, if you have made no edit there since. Redo. Makes again the edit this caller last took back with slates.undo, if the caller has saved no edit on this slate since (a new edit clears what can be redone). Each part goes back to how the edit left it, unless someone else changed it since: that part stays as they left it and is listed in left[]. Saved as an edit, and refused for an agent, as slates.undo is. 409 nothing_to_redo when there is nothing of the caller's to redo.
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
revoke_slate_invite Withdraw a slate's invitation link
Withdraw a slate's unlisted invitation link and make the slate private again. Unshare. Withdraws exactly this invitation. Named team grants stay. Repeating the request confirms the same withdrawal; a newer invitation is never withdrawn by an old command.
| Parameter | Type | Description |
|---|---|---|
inviteId * | string | |
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
undo_my_edit Undo my last edit
Take back your own newest canvas edit on a slate (never anyone else's); what someone changed since stays and is listed. Undo. Takes back the newest canvas edit this caller saved on the slate with slates.applyOperations (notes, connections, slate settings) that is not undone yet: the same account and the same token, so it never takes back a person's or another agent's edit. Each note, connection and setting the edit changed goes back to how it was, unless someone else changed it since: that part stays as they left it and is listed in left[]. The undo is saved as an edit (the revision goes up,…
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
show_slate Show a slate
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. Show. Show a slate you can open to the person: its name, address (url), revision, note count and whether you may edit it, and the picture the view draws (picture: notes and lines). On an MCP host that draws views, the slate appears in the conversation and keeps itself up to date.
| Parameter | Type | Description |
|---|---|---|
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
decide_suggestions Keep, discard or undo agent work
Keep (save) or discard what an agent suggested on a shared slate (one action or some of its items), or undo one agent action that was kept or saved directly. Keep/discard/undo. Decide what an agent's work on a slate becomes, as the canvas does. keep or discard: what it suggested, as Keep and Discard on each ghost: name the action (actionId, from your edit or slates.get include=suggestions), optionally some of its items (itemIds); Keep all on an agent's chip decides each of its actions. Keeping saves them as one change (a line brings the new notes at its ends); an item whose note is gone is re…
| Parameter | Type | Description |
|---|---|---|
actionId * | string | The action, as list_suggestions gives it (actions[].actionId). |
decision * | string | |
shareId * | string | The slate ID from its address: /canvas/<shareId>. |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
itemIds | array | Only these items of the action. |
export_team Export your team
For a team admin: get a one-time download address (15 minutes) for everything the team owns as one archive (slates, boards, comments, presentations, files, people and roles; never keys or token secrets), to move the team to another Slatebox server or keep a copy. The person agrees first. Export team. For a team admin: a one-time address (15 minutes) to download everything the team owns as one archive, in the open team export format: slates with their boards and smart components, recent versions and events, comments, presentations, files, people and roles, published-link settings, AI connectio…
| Parameter | Type | Description |
|---|---|---|
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
confirm_team_import Make an imported team live
For an administrator of this server: make a pending imported team live, and optionally email its people to claim their accounts. The person agrees first. Confirm import. For an administrator of this server: makes a pending import's team live. Its slates and presentations get back the visibility they had (public, unlisted or private). With invite true, each person whose address the source had verified, and no account here uses in any letter case, gets an email to claim their placeholder; the answer lists addresses that already have an account (they must agree to move) and addresses the source…
| Parameter | Type | Description |
|---|---|---|
importId * | string | |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
invite | boolean |
discard_team_import Discard a team import
For an administrator of this server: delete a pending imported team and everything the import wrote. Discard import. For an administrator of this server: deletes a pending import's hidden team and everything the import wrote (slates, files, people, settings).
| Parameter | Type | Description |
|---|---|---|
importId * | string | |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
get_team_import Read a team import
For an administrator of this server: read one team import and its report. Import. For an administrator of this server: one import, with its report while it is pending or confirmed.
| Parameter | Type | Description |
|---|---|---|
importId * | string |
invite_team_import_person Invite one imported person
For an administrator of this server: email one person from a confirmed team import whose address you have checked, so they can claim their account. The person agrees first. Invite person. For an administrator of this server: after you have checked an address that a confirmed import listed as unverified (the source had not verified it), sends that person the email to claim their placeholder. An address any account here already uses, in any letter case, is not invited: that person must agree to move.
| Parameter | Type | Description |
|---|---|---|
email * | string | |
importId * | string | |
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |
list_team_imports List team imports
For an administrator of this server: list recent team imports, pending ones first. Imports. For an administrator of this server: recent team imports, pending ones first to confirm or discard.
start_team_import Import a team
For an administrator of this server: get a one-time address (1 hour) to upload a team export to. The upload becomes a hidden team to check, which confirm_team_import makes live or discard_team_import deletes. Start import. For an administrator of this server: a one-time address (1 hour) to upload a team export to. uploadUrl takes the archive as a POST of application/octet-stream, with its passphrase when it is encrypted: in the Slatebox-Export-Passphrase-Base64 header as base64url of its UTF-8 bytes (any passphrase), or in the Slatebox-Export-Passphrase header when it is plain ASCII. The uplo…
| Parameter | Type | Description |
|---|---|---|
confirm | string | The confirmation id from a confirmation_required result, once the person agreed. |
idempotencyKey | string | Send with confirm: the idempotencyKey from the confirmation_required result. |