stdin: {"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"toolwitness","version":"s772-v0"},"protocolVersion":"2025-11-25"}} {"jsonrpc":"2.0","method":"notifications/initialized"} {"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}} stdout: {"result":{"protocolVersion":"2025-11-25","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"casama","version":"0.2.3"}},"jsonrpc":"2.0","id":1} {"result":{"tools":[{"name":"search_docs","title":"Search the Casama docs","description":"Keyword search over docs.casama.ai (guides, self-hosting, the API, CLI, SDKs, plugins, webhooks, A2A, bot templates, contributing). Returns the best-matching sections with their address; read a whole page with read_doc.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"query":{"type":"string","minLength":2,"maxLength":500},"limit":{"type":"integer","minimum":1,"maximum":10}},"required":["query"]},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"read_doc","title":"Read a docs page","description":"One docs page as markdown, by path or address: \"/develop/plugins\", \"develop/api.md\" or \"https://docs.casama.ai/guide/skills\". Pass section to get one ## section only.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"page":{"type":"string","minLength":1,"maxLength":500},"section":{"description":"A ## heading on the page, e.g. \"Secrets\"","type":"string","maxLength":200}},"required":["page"]},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_doc_pages","title":"List docs pages","description":"Every page on docs.casama.ai with its title and address.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"get_api_operation","title":"Look up the Casama API","description":"Find operations in the Casama HTTP API (OpenAPI 3.1) and show their parameters, request body and responses as types. Query by operationId (\"createBot\"), \"METHOD /path\" (\"POST /v1/conversations/{id}/messages\", concrete ids work too) or keywords (\"cancel run\").","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"query":{"type":"string","minLength":2,"maxLength":300},"limit":{"type":"integer","minimum":1,"maximum":10}},"required":["query"]},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"check_plugin","title":"Check a plugin","description":"Check an Agent Plugins 1.0 folder (plugin.json, mcp.json, skills/) on this computer the way Casama checks it at install: errors (refused), warnings (skipped or ignored) and tips.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"path":{"type":"string","minLength":1,"description":"The plugin folder, absolute or relative to where the server runs"}},"required":["path"]},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"gallery_search","title":"Search the Casama gallery","description":"Search the Casama gallery (gallery.casama.ai) for ready-made skills, apps, routines, bots, plugins, starter sets and looks before writing a new one. Returns the best matches with what each can access, what it needs and its page. Add one in Casama from its page, or start from it with `casama init --from-gallery bot/` or `plugin/`.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"types":{"maxItems":9,"type":"array","items":{"type":"string","enum":["skill","app","routine","bot","plugin","set","theme","scheme","wallpaper"]}},"limit":{"type":"integer","minimum":1,"maximum":10}},"required":["query"]},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_workspaces","title":"List workspaces","description":"Casama workspaces you belong to, with your role.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_bots","title":"List bots","description":"Bots in a workspace (default: your first workspace), with their current status.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"workspace":{"description":"Workspace slug, name or id","type":"string"}}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"ask_bot","title":"Ask a bot","description":"Send a message to a Casama bot and wait for its reply. The bot can use its own computer and tools; risky actions may wait for the person's approval (see what_needs_me and list_approvals). Pass conversation_id to continue a thread. Assistants that can't wait long should pass wait_seconds: if the bot is still working when it runs out, the answer says so with a run_id (follow up with get_run), and the person gets a notification when it's done.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"bot":{"type":"string","description":"Bot name or id"},"message":{"type":"string","minLength":1,"maxLength":20000},"conversation_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace":{"type":"string"},"wait_seconds":{"description":"How long to wait for the reply, 5–120 seconds (default: up to 10 minutes)","type":"integer","minimum":5,"maximum":120}},"required":["bot","message"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"react_to_message","title":"React to a message","description":"React to a message in a conversation with one emoji (D-331), or take your reaction back. Without message_id it reacts to the bot's latest reply. One reaction per person per message: another emoji replaces yours. The bot sees it the next time it works in that chat; a 👍 or 👎 tells it whether the reply worked.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"bot":{"type":"string","description":"Bot name or id"},"conversation_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"emoji":{"type":"string","minLength":1,"maxLength":64,"description":"Exactly one emoji, e.g. 👍"},"message_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"remove":{"description":"Take your reaction back instead","type":"boolean"},"workspace":{"type":"string"}},"required":["bot","conversation_id","emoji"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"get_run","title":"Get a run","description":"A run's status, cost and its recent events (tool calls, outputs, errors).","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"run_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["run_id"]},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_approvals","title":"List approvals","description":"Actions waiting for a person's approval in a workspace.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"workspace":{"type":"string"}}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"decide_approval","title":"Approve or deny","description":"Approve or deny a pending action. The bot continues (or skips the step) right away.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"approval_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"decision":{"type":"string","enum":["approve","deny"]}},"required":["approval_id","decision"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"what_needs_me","title":"What needs me","description":"What is waiting for the person in Casama: approvals (a bot wants an OK before a risky step), take-overs (a bot needs the person to do something on its computer) and suggestions. Each comes with a link that opens it in Casama. Approvals are reviewed there.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"workspace":{"type":"string"}}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_routines","title":"List routines","description":"The person's routines: things a bot does on a schedule or a trigger (a morning brief, a weekly report). Optionally only one bot's.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"bot":{"description":"Only this bot's routines (name or id)","type":"string"},"workspace":{"type":"string"}}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"run_routine","title":"Run a routine","description":"Start one of the person's routines now, by name or id. It runs like a scheduled run; the result arrives in Casama and as a notification. Pass request_id so a retry within a minute doesn't start it twice.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"routine":{"type":"string","minLength":1,"description":"Routine name or id"},"bot":{"description":"The routine's bot, when names repeat","type":"string"},"request_id":{"type":"string","minLength":1,"maxLength":100},"workspace":{"type":"string"}},"required":["routine"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"list_sites","title":"List sites","description":"Pages published on the web at their own address in a workspace, with their hosts and states.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"workspace":{"type":"string"}}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_domains","title":"List domains","description":"Connected and bought domains in a workspace: the site each shows and its state (live, waiting_dns, waiting_cert, paused, needs_attention).","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"workspace":{"type":"string"}}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"get_domain","title":"Get a domain","description":"A domain's hosts and states, the DNS records to add with what DNS shows now, renewal details and history.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"domain":{"type":"string","description":"Domain id or name"},"workspace":{"type":"string"}},"required":["domain"]},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"check_domain","title":"Check a domain's DNS now","description":"Check a domain's DNS and certificate now instead of waiting for the next check (admins; at most once every 10 seconds).","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"domain":{"type":"string"},"workspace":{"type":"string"}},"required":["domain"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"connect_domain","title":"Connect a domain","description":"Connect a domain the workspace already owns (bakery.com, www.bakery.com or shop.bakery.com), optionally showing a published site. Answers the DNS records to add at the domain's DNS company (admins).","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"name":{"type":"string","minLength":3,"maxLength":253},"page_id":{"description":"A published site's page id","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace":{"type":"string"}},"required":["name"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"search_domains","title":"Search domains to buy","description":"Domain names for a few words or a name, with availability, the first year's price and the renewal price (before tax). Only a person can buy one, in the Casama app.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":100},"workspace":{"type":"string"}},"required":["query"]},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"list_packs","title":"List installed packs","description":"Packs installed in a workspace: plugins that brought bots, skills, routines, apps and looks.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"workspace":{"type":"string"}}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"preview_pack","title":"Preview a pack","description":"What a pack from a GitHub link (or a reviewed pack from the directory, by id) would add: bots, skills, routines, apps, looks, tools, the questions it asks, what it can reach and the commit to install.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"url":{"description":"A GitHub repository or folder","type":"string"},"gallery_id":{"description":"A pack from the plugin directory","type":"string"},"workspace":{"type":"string"}}},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"install_pack","title":"Install a pack","description":"Install a pack in a workspace, pinned to the commit preview_pack showed. Show the person the preview first. Secrets aren't taken here: the person adds them in the app. Packs that aren't reviewed start their routines switched off; the workspace's gallery rules apply.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"url":{"type":"string"},"commit":{"type":"string","pattern":"^[0-9a-f]{40}$"},"gallery_id":{"type":"string"},"inputs":{"description":"Answers to its questions","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"skip":{"description":"Items to leave out","type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"workspace":{"type":"string"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}}]},"jsonrpc":"2.0","id":2}