Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Post agents mcp presets status
KEIKI_MCP_POST_AGENTS_MCP_PRESETS_STATUSRe-check an MCP preset’s connection on the daemon without restarting OAuth — poll it after the user authorizes. Returns the preset with its current status. POST /agents/:id/mcp-presets/:presetId/status → { status, ok, data, error }
Post agents notice
KEIKI_MCP_POST_AGENTS_NOTICETell the agent something in its own conversations and let it decide whether the people in them hear about it — how you notify everyone using an agent (an outage, a capability going away, a migration). The text is never delivered: the agent reads it as a platform notice and decides, in each contact’s history and tone, whether and how to say anything, so write it for the agent and never draft the message itself. With `phone` it runs one conversation and returns its outcome (ran, queued for its next turn, or unavailable); without it it fans out over every conversation (newest first, bounded) and answers 202 with how many it started — report that as started, not delivered. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /agents/:id/notice → { status, ok, data, error }
Post agents quality apply
KEIKI_MCP_POST_AGENTS_QUALITY_APPLYApply a drafted fix to the agent’s live configuration (a new agent version). Only a draft that passed its evaluation gate can be applied. A model-change draft needs the model chosen in the body; a prompt draft takes no body. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /agents/:id/quality/:proposalId/apply → { status, ok, data, error }
Post agents quality dismiss
KEIKI_MCP_POST_AGENTS_QUALITY_DISMISSDismiss a drafted fix, together with the failure cluster it came from so the same symptom is not suggested again. POST /agents/:id/quality/:proposalId/dismiss → { status, ok, data, error }
Post agents quality settings
KEIKI_MCP_POST_AGENTS_QUALITY_SETTINGSChange the agent’s turn-review settings. Patches only the fields sent; a threshold outside its bounds is refused. POST /agents/:id/quality/settings → { status, ok, data, error }
Post agents rollouts percent
KEIKI_MCP_POST_AGENTS_ROLLOUTS_PERCENTSet the share of conversations an open rollout serves its staged config to, and resume it when paused. Returns the updated rollout; promote it to reach 100. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /agents/:id/rollouts/:rolloutId/percent → { status, ok, data, error }
Post agents rollouts promote
KEIKI_MCP_POST_AGENTS_ROLLOUTS_PROMOTEMake the rollout’s staged config live for every conversation, recorded as a new version, and end the rollout. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /agents/:id/rollouts/:rolloutId/promote → { status, ok, data, error }
Post agents rollouts rollback
KEIKI_MCP_POST_AGENTS_ROLLOUTS_ROLLBACKEnd the rollout and send every conversation back to the live config. The live config is not changed. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /agents/:id/rollouts/:rolloutId/rollback → { status, ok, data, error }
Post agents template import
KEIKI_MCP_POST_AGENTS_TEMPLATE_IMPORTRe-apply the agent’s own template, at the template’s current version, onto its configuration (e.g. when GET /agents/:id reports the template as outdated). Fails when the agent was not made from a template. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /agents/:id/template/import → { status, ok, data, error }
Post agents tools
KEIKI_MCP_POST_AGENTS_TOOLSSave a new authored code tool as a disabled draft (saving under the name of an existing authored tool rewrites that draft). Test it, then enable it to publish. Returns the saved tool. POST /agents/:id/tools → { status, ok, data, error }
Post agents tools enable
KEIKI_MCP_POST_AGENTS_TOOLS_ENABLEPublish an authored tool to the agent so it can call it, or unpublish it with enabled false. Returns the tool. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /agents/:id/tools/:toolId/enable → { status, ok, data, error }
Post agents versions restore
KEIKI_MCP_POST_AGENTS_VERSIONS_RESTORERoll the agent back to the configuration saved at a version sha, recorded as a new version whose sha is returned. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /agents/:id/versions/:sha/restore → { status, ok, data, error }
Post billing credits purchase
KEIKI_MCP_POST_BILLING_CREDITS_PURCHASEBuy usage credits for the organization; owners and admins only. Charges the saved payment method, or returns a checkoutUrl to share with the user when none is saved; a null URL means the credits were added. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /billing/credits/purchase → { status, ok, data, error }
Post billing plans attach
KEIKI_MCP_POST_BILLING_PLANS_ATTACHAttach the selected plan to the organization; owners and admins only. Read available plans first and choose one with selfServe: true; other plans are operator-assigned and attach rejects them. Share any returned checkoutUrl with the user; a null URL means no checkout is needed. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /billing/plans/attach → { status, ok, data, error }
Post billing release line
KEIKI_MCP_POST_BILLING_RELEASE_LINERelease an active phone line owned by the organization and unassign it from agents; owners and admins only. For the last dedicated Photon line, also stop its subscription; returns ok, billingStopped and numberReturned to distinguish billing cancellation from number return. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /billing/release-line → { status, ok, data, error }
Post channel access requests
KEIKI_MCP_POST_CHANNEL_ACCESS_REQUESTSSubmit { channel, purpose, expectedVolume }; returns { request }. Configurers only. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /channel-access-requests → { status, ok, data, error }
Post conversations block
KEIKI_MCP_POST_CONVERSATIONS_BLOCKBlock one identity for this conversation’s agent, so its messages no longer trigger agent replies. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /conversations/:phone/block → { status, ok, data, error }
Post conversations end
KEIKI_MCP_POST_CONVERSATIONS_ENDEnd an inter-agent (agent:) thread: settle its pending asks and refuse new ones until the identity is unblocked. Returns how many asks were settled. 409 for a customer conversation. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /conversations/:phone/end → { status, ok, data, error }
Post conversations messages
KEIKI_MCP_POST_CONVERSATIONS_MESSAGESSend a message the contact reads as the agent’s, over the conversation’s own channel, and renew the takeover. Only while the conversation is taken over (409 otherwise, or on a channel with no outbound send). Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /conversations/:phone/messages → { status, ok, data, error }
Post conversations steer
KEIKI_MCP_POST_CONVERSATIONS_STEERRun a turn on this conversation as if the contact had written the text, and return what the agent would answer with its trace id. Nothing reaches the contact: delivery tools are refused and the answer is kept in the dashboard, marked as never sent. Works during a takeover as a draft; refused (409) while the agent is mid-turn. Destructive — deleting, spending money, or changing who has access. Show the user what it will do and get their confirmation first. POST /conversations/:phone/steer → { status, ok, data, error }