Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get agents conversations sentiment
KEIKI_MCP_GET_AGENTS_CONVERSATIONS_SENTIMENTOne conversation’s mood per user turn, oldest first (0 angry to 4 delighted; unclassified turns have no score), with drop/recovery shifts, the reply that caused each shift and why, and the signals on each turn. GET /agents/:id/conversations/:phone/sentiment → { status, ok, data, error }
Get agents edit
KEIKI_MCP_GET_AGENTS_EDITThe agent form payload: the full editable config (name, model, systemPrompt, features, escalationRoutes, skillIds, sandboxScriptIds, sandboxEnvSecrets, execPolicy, userSecrets, responseSchemaOverlay, updatedAt) plus the org’s lines. Always read it before updating. When `passthroughPrompt` is set, or the gateway is passthrough with it empty, the caller’s instructions lead each turn and `systemPrompt` is only an amendment to them; `responseSchemaOverlay` likewise only reorders and re-describes fields the caller’s response_format already declares. `responseSchemaLint` quotes prompt rules about field order the schema does not satisfy, and `responseSchemaLint.suggested` is the overlay to save as `responseSchemaOverlay` instead of rewording the prompt. GET /agents/:id/edit → { status, ok, data, error }
Get agents evals channel preview
KEIKI_MCP_GET_AGENTS_EVALS_CHANNEL_PREVIEWPreview a real-channel eval run per hosted driver (imessage, email, x): whether it is available and why not, the handle it would message, and the eligible and excluded cases — plus any active run and the last run. Needs a paid plan. GET /agents/:id/evals/channel/preview → { status, ok, data, error }
Get agents fine tune
KEIKI_MCP_GET_AGENTS_FINE_TUNERead fine-tune readiness for the agent’s current version: graded conversation counts, progress toward the kickoff threshold, whether the caller may start one, and any request already on file. GET /agents/:id/fine-tune → { status, ok, data, error }
Get agents harness status
KEIKI_MCP_GET_AGENTS_HARNESS_STATUSReport what runs the agent and whether it is connected: the platform harness, a self-hosted Hermes relay or dispatch URL (with why it is waiting), or a Maritime Keiki VM and its state. GET /agents/:id/harness-status → { status, ok, data, error }
Get agents loops
KEIKI_MCP_GET_AGENTS_LOOPSList the scheduled loops attached to an agent with their schedule and state. GET /agents/:id/loops → { status, ok, data, error }
Get agents loops runs
KEIKI_MCP_GET_AGENTS_LOOPS_RUNSRead a loop’s recent runs, newest first, from a bounded retention window: status (the platform’s turn and tool-health view), timings, error, trace id and detail. A blocked_auth detail names the connection unavailable when the run started, not proof that it still is. GET /agents/:id/loops/:loopId/runs → { status, ok, data, error }
Get agents mcp presets tools
KEIKI_MCP_GET_AGENTS_MCP_PRESETS_TOOLSThe tools a connected MCP exposes, read live from the daemon, each with the permission (allow/ask/deny) in force, plus the default permission and every stored per-tool choice. GET /agents/:id/mcp-presets/:presetId/tools → { status, ok, data, error }
Get agents note
KEIKI_MCP_GET_AGENTS_NOTERead the agent’s working note — the durable scratchpad it rewrites while it works — with its revision. GET /agents/:id/note → { status, ok, data, error }
Get agents note versions
KEIKI_MCP_GET_AGENTS_NOTE_VERSIONSList the working note’s version history, newest first, with the sha of each version. GET /agents/:id/note/versions → { status, ok, data, error }
Get agents note versions by sha
KEIKI_MCP_GET_AGENTS_NOTE_VERSIONS_BY_SHARead the working note body as it was at one version sha from the history. GET /agents/:id/note/versions/:sha → { status, ok, data, error }
Get agents public profile
KEIKI_MCP_GET_AGENTS_PUBLIC_PROFILEWhether the agent’s public profile page is published, its URL slug and tagline, and whether the caller may change it. GET /agents/:id/public-profile → { status, ok, data, error }
Get agents quality
KEIKI_MCP_GET_AGENTS_QUALITYTurn-quality review for one agent: review stats, its review settings, and the prompt or model fixes the reviewer drafted (state, summary, rationale, proposed prompt/model, score before and after). GET /agents/:id/quality → { status, ok, data, error }
Get agents rollouts
KEIKI_MCP_GET_AGENTS_ROLLOUTSRead the agent’s open staged rollout (mode, percent of conversations on the staged config, the staged config itself) and its recent ended rollouts. GET /agents/:id/rollouts → { status, ok, data, error }
Get agents sandbox script runs
KEIKI_MCP_GET_AGENTS_SANDBOX_SCRIPT_RUNSThe latest 50 runs of the agent’s sandbox scripts, newest first — status, exit code and output tails. Script failures degrade silently, so this is where a broken script shows up. GET /agents/:id/sandbox-script-runs → { status, ok, data, error }
Get agents shared line
KEIKI_MCP_GET_AGENTS_SHARED_LINEThe shared iMessage number and join code contacts text to reach this agent. join is null when Keiki has no shared number, or without a plan (planRequired) unless ?test=1: onboarding's test, which keeps a plan-less agent answering on it for 15 minutes, capped like Live Test. GET /agents/:id/shared-line → { status, ok, data, error }
Get agents signals
KEIKI_MCP_GET_AGENTS_SIGNALSBuilt-in quality signals for one agent over a date range: each signal’s events, share of classified users and change against the previous period of the same length, plus average mood (0 angry to 4 delighted) and the biggest mood drops with the judge’s reason. GET /agents/:id/signals → { status, ok, data, error }
Get agents signals events
KEIKI_MCP_GET_AGENTS_SIGNALS_EVENTSThe turns one signal (`key`, as returned by the signals summary) fired on, newest first: phone, trace id, source, mood and shift. Pass `nextCursor` from a page as `cursor` to read the next one. GET /agents/:id/signals/:key/events → { status, ok, data, error }
Get agents user connections
KEIKI_MCP_GET_AGENTS_USER_CONNECTIONSList the personal provider definitions declared on the agent — services each conversation user authorizes with their own account. No credentials are returned. Read this before replacing them. GET /agents/:id/user-connections → { status, ok, data, error }
Get agents versions
KEIKI_MCP_GET_AGENTS_VERSIONSList the agent configuration’s version history, with the sha of each version. GET /agents/:id/versions → { status, ok, data, error }