Tools
tools/list shows the tools your sign-in permits. An unrestricted owner sign-in shows the tools from all enabled blocks.
Paired keys
A paired key can use these tools within the access the owner grants it.
| Use | Tools and limits |
|---|---|
| Messages | Use send and targets. Use agent_send when legacy names are enabled. Use inbox, wait, reply, status, result, cancel and get_message within your key's conversation access |
| Memory and projects | Use context_pack and project_list within the access your key allows. Use the memory tools in granted scopes |
| Routes | Use routes_list and routes_resolve. For routes_set and routes_remove, set agent to your own agent name. Use a project within your key's scopes |
| Setup | Use switchboard_status and modes_status to check status. Use connect for client instructions. Use the owner's sign-in for block setup and to issue pairing codes |
| Blocks | Use block tools within your granted access and the actions that the channel mode allows |
The owner's unrestricted sign-in is required for login_link, connect_code, connect_list, connect_revoke, visibility_list and visibility_set. Use it for project_create, project_update, project_sync and space_mode. It also grants memory_promote, routine_register, routine_add, routine_remove, discord_provision and telegram_provision.
The owner can limit tools with auth.key_tools and send targets with auth.key_targets. The auth.key_scopes setting limits routing, messages and conversations. Memory tools use the grants SwB saves for each paired key.
Messages
| Tool | Use |
|---|---|
send | Put the work or message in task. Set to to choose a target. Leave to empty to use a route when the key allows it |
agent_send | Deprecated tool. Pass the agent name in to, for example to="codex". blocks.mcp.legacy_aliases enables it by default. For new calls, use send with to="agent:codex" |
wait | Wait for new messages or replies |
inbox | Read your inbox and return at once |
reply | Pass the handle from a send or inbox item in conversation. Put the reply in text |
status | Show the state of one conversation. For Capy, use messages for the number of recent messages. Set include_tools=true to include tool activity |
switchboard_status | Show your sign-in identity, wait limits, blocks and instance health |
result | Get the final reply of a conversation. Use tail to set the number of recent replies or messages where supported |
cancel | Stop following a conversation |
targets | List available target addresses. Your key and the target's rules control where you can send |
get_message | Read a stored message with the message_id from your inbox or an MCP event |
Inbox cursor
A cursor marks a position in the inbox. The inbox and wait tools save a new position when they return items. Filters can advance a separate position. A later wait reads from the saved position. Pass since_cursor=0 to inbox to read from the start. Pass a returned cursor as since_cursor to continue from that position.
Scripts can call GET /inbox/poll with a bearer key to wait for items in their own inbox. Pass the returned cursor as after to resume. The default starts at the current end of the inbox. The call returns when items arrive or the wait time ends. It leaves the MCP cursor unchanged. Use the inbox event stream to receive messages as they arrive. Use inbox to read context items and Watch digests your sign-in can see.
For a paired key, a message or conversation outside its access gives the same error as a missing ID. See Keys with limits.
Send options
| Option | Use |
|---|---|
wait_s | Set the time in seconds to wait for the first reply from a block. SwB applies the agent's wait limit. Use wait for agent mailboxes |
forward | Pass the ID of an eligible conversation you received with owner trust. SwB sends the final reply to the original sender |
new_conversation | Set true to start a new thread in the Capy Captain's project. Set false to send to the Capy Captain's thread |
files | Attach files to a Capy task. Give each file a name and either text or base64 content. Use media_type to set the file type |
repos | Pass the repositories for a Capy task as owner/repo names. Use repositories linked to the SwB project |
in_reply_to | To answer a message, use reply with conversation in place of this option |
Memory and projects
Use the owner's sign-in or a credential with a grant for the memory scope. To update, move or delete an entry as an agent, use the credential that last wrote it. The owner can manage any entry. Changes to an existing entry in general require owner access.
| Tool | Use |
|---|---|
context_pack | Read a project briefing. It includes general only when the credential grants access. The Capy section for a paired key shows its agent's work within its conversation scopes |
memory_write | Save in a granted scope. Pass scope, namespace, title and body. A namespace groups entries within a scope. Use up to three lowercase levels, such as notes/meetings. For project memory, pass the same project in project and scope. To write to general, ask the owner to confirm. Then set confirm_general=true |
memory_search | Search with query. Pass project for that project and any granted general memory. Set include_general=false for that project alone. Use scopes for exact grants such as agent:<name> |
memory_list | List entries with the same scope inputs as memory_search |
memory_read | Read one entry with its history in a granted scope |
memory_delete | Remove an entry in a granted scope |
memory_move | Move an entry to a project or agent scope. You need grants for both scopes |
memory_promote | Move an entry to general. Use the owner's sign-in |
project_list | List projects and their links |
project_create | Make a project |
project_update | Rename, link, archive or make a project private |
project_sync | Link projects to their matches again |
Use links in project_update to set these values. SwB offers the project link keys for the configured agents and blocks.
| Key | Value |
|---|---|
repos | List of repository names in owner/repo form |
claude_project | Claude project name or ID |
chatgpt_project | ChatGPT project name or ID |
capy_project | Capy project name or ID |
A private project requires a grant that names that project or owner access. For memory_search and memory_list, specify the private project in project. Use scopes for any additional public projects you have access to.
Setup
| Tool | Use |
|---|---|
connect | Get the next setup step for a platform |
connect_code | Make a pairing code for a new agent |
connect_list | List agent keys |
connect_revoke | Remove an agent key |
login_link | Make a one-time sign-in link for the owner |
modes_status | Show the modes, targets and setup problems for channels and repositories you can access |
space_mode | Set the mode, project and allowed actions as the owner. Use inherit to clear the setting |
visibility_list | Show the default access rules and the rules for individual resources. Use the owner sign-in |
visibility_set | Set a resource to private or shared as the owner. Tools stay private |
Companion tools
Use these tools as the owner.
| Tool | Title | Use |
|---|---|---|
companion_code | Pair a companion | Create a pairing code for a device |
companion_list | List companions | View paired devices, their status and their actions |
companion_invoke | Run a companion action | Run an action on a connected device. Get the device ID and action details from companion_list |
companion_revoke | Disconnect a companion | Revoke the device key and close its connection |
Routes
A route picks a target for send. Use a block that accepts routes, such as capy, claude-routine or grok-routine. Use to="agent:<name>" to reach an agent's mailbox directly. Use to="agent:muse" to send to the Muse mailbox. Use to="muse:gadget:muse" to wake Muse.
| Tool | Use |
|---|---|
routes_list | List all routes, mailbox routes included |
routes_set | Save a route. Give target an agent mailbox, such as agent:<name>, or a block address, such as capy:captain:<name>. Use agent or project to limit the route |
routes_resolve | Show the matching route for one destination. Pass block, such as grok-routine or agent |
routes_remove | Remove the route for the exact agent and project on the chosen block |
Use block to check or remove a route for one destination. By default, routes_resolve checks the agent and project together, then the project, then the agent, then the global route. At each level, it checks blocks in order and then checks agent. By default, routes_remove checks that same destination order for the exact agent and project.
Block tools
Capy
The older Capy tool names appear when blocks.mcp.legacy_aliases is on.
| Tool | Use |
|---|---|
capy_captains | List the Capy Captains your Capy connection can access |
capy_captain_digest | Read a Capy Captain's summary and see which crew threads are working or need the owner's attention. Use the owner's sign-in |
capy_list | List work sent through SwB or threads in a Capy Captain's crew or linked Capy project. A paired key sees only its agent's work within its scopes |
capy_delegate | Send work to Capy. Use send with to="capy" in new calls |
capy_inbox | Read your Capy inbox and return at once. Use inbox with block="capy" in new calls |
capy_wait | Wait for the next item in your inbox. Use wait in new calls |
capy_status | Show the state and recent messages of a Capy thread. Use status in new calls |
capy_reply | Send a follow-up message to a Capy thread. Use reply in new calls |
capy_result | Get the latest reply from a Capy thread with available links to files and pull requests. Use result in new calls |
capy_cancel | Stop following work sent to Capy. The Capy thread can continue. Use cancel in new calls |
Claude Code routines
These tools appear when the claude-routine block is on. A routine is a Claude Code task that SwB can start.
| Tool | Use |
|---|---|
routine_register | Register a routine and get a claim link for the owner to enter its token |
routine_list | List the routines SwB can start |
routine_pickup | Pick up the message when a routine starts with an empty prompt |
routine_add | Add a routine with its token as the owner |
routine_remove | Remove a routine saved through SwB as the owner |
Slack
| Tool | Use |
|---|---|
slack_workspaces | List the Slack workspaces you can use, the accounts available in each and their posting rules |
slack_channels | List channels visible to the selected Slack account. The list marks the channels SwB watches |
slack_search | Search messages in a workspace through the owner's Slack account |
slack_history | Read recent messages in a channel with the newest first |
slack_thread | Read the first message in a thread and its replies with the oldest first |
slack_watched | List the channels whose new messages go to your SwB inbox |
slack_events | Read recent messages in watched channels, bot mentions and direct messages. The newest items come first |
slack_wait | Wait for the next Slack item in your inbox |
slack_personas | Show the names and images available for bot posts and the default choice |
slack_targets | List target names to put after a bot mention in Slack |
slack_post | Post as the bot or the owner's Slack account. Use thread_ts to post a reply in a thread. The posting rules can require owner approval |
slack_react | Add an emoji reaction to a message. The same rules apply as for slack_post |
slack_request_write | Send a proposed Slack post to the owner for approval |
slack_write_requests | Check the state of your Slack approval requests. Use request_id to read one request |
Discord
| Tool | Use |
|---|---|
discord_status | Show the Discord connection, spaces and remaining setup |
discord_provision | Get the setup links and a one-time bot token entry link as the owner |
discord_post | Post as the bot to a channel or thread with a grant from the owner |
Telegram
| Tool | Use |
|---|---|
telegram_status | Show the Telegram connection, spaces and remaining setup |
telegram_provision | Get the setup links and a one-time bot token entry link as the owner |
telegram_post | Post as the bot to a chat or thread with a grant from the owner |
GitHub
For GitHub conversation actions, pass the SwB conversation ID in conversation or handle. Use text with github_reply and github_notify_owner.
| Tool | Use |
|---|---|
github_status | Check the webhook, repository modes and GitHub App permissions |
github_label | Add existing labels to an issue or pull request |
github_comment | Comment on an issue or pull request |
github_open_issue | Open an issue in a repository |
github_link_duplicate | Link an issue to its original in the same repository. SwB adds duplicate and closes the duplicate as not_planned |
github_notify_owner | Send the owner an inbox note with a link to the issue or pull request that started the conversation |
github_reply | Reply in the GitHub thread that started the SwB conversation |
Webhooks
| Tool | Use |
|---|---|
webhook_create | Create a named inbound or outbound webhook |
webhook_list | List webhooks with their addresses, counts and secret status |
webhook_rotate | Get a claim link for a new secret and set an optional grace period |
webhook_revoke | Stop a webhook and delete its saved secrets |
webhook_test | Send a sample inbound event or outbound message |
For outbound webhooks, webhook_create and webhook_rotate accept allow_private and senders. Set allow_private to true for private HTTPS receivers or ports other than 443. List connected agents in senders to let them send. By default, only the owner can send. Omit both fields in webhook_rotate to keep their current values.