Most areas are consolidated into a single manage_* tool that takes an action argument (for example manage_schema with action: "apply"). The hosted platform adds manage_substrate, manage_organizations and manage_office when their cloud overlays are installed.
manage_office has 44 actions, all requiring an explicit org_id. It forwards the current platform credential; no app ID is required. Enable, pause, resume and approval return a browser confirmation receipt for the initiating owner. Ask is bounded and returns exact conversation/turn IDs for observation; it never silently submits again to poll. The contract also covers curated agent memories, routines, governed rule changes, cadence settings and bounded record pages.
Use status with confirmation_id to inspect a receipt, or get_conversation with conversation_id and turn_id to inspect a running question. The Office client reference lists every action and its CLI/SDK equivalent, native memory payloads, access rules and retry behavior. This facade is excluded from the Office agent’s own model catalog and cannot authorize its protected controls.
These tools are available when connected via MCP. See MCP Setup for connection instructions.
Kill-switch — pause/resume all data-plane traffic. While paused, the app’s owners keep management and data access (functions, KV and realtime are blocked for everyone, owners included); every other caller gets 503 (APP_PAUSED) on every app-scoped API.
resume
Resume a paused app. Equivalent to pause with paused: false. An automatic idle pause on a free plan returns 402 (APP_RESUME_REQUIRES_UPGRADE); upgrading the plan resumes it. Pause/resume can return retryable 409 (APP_STATE_BUSY) during a concurrent state change or region cutover.
Publish versioned releases of a template app and let forks check for and pull updates.
get_env
Read the app-level environment variable key names (values are never returned). Returns { keys: string[], updated_at }. See Environment variables.
update_env
Merge app-level env vars in one call. Pass env: { KEY: "value" } to set/upsert, or env: { KEY: null } to delete. Values live for every function in the app via ctx.env.<KEY>. Response reports updated_keys plus the list of functions whose cache was invalidated. Keys matching /^BUTTERBASE_/i are rejected as reserved.
Push, pull, inspect, or wipe your app’s repo (content-addressed code snapshots). MCP pushes are capped at ~1 MB; for larger snapshots shell out to butterbase repo push.
Update function-level environment variables (overrides app-level values on collision). For env vars shared across every function in the app, use manage_app action update_env instead. See Environment variables.
update_settings
Update function settings such as allow_service_key_impersonation.
Poll a video job’s status. Pass job_id. Returns the current job state including content_urls (absolute) and charged_credits_usd when status === 'completed'.
configure_meetings_webhook
Configure where Butterbase forwards meeting-bot events for this app. Pass forward_url and optionally rotate_secret: true to mint a fresh signing-secret identifier (returned once). The stored hash is used in the x-bb-key-id header so your handler can detect post-rotation staleness.
List recent meeting-bot usage rows for this app — actor_id, dimension (recording or transcription), seconds, usd_charged, created_at. Last 100 rows ordered by time desc.
For the full HTTP request/response shapes and end-to-end video example, see the AI API reference.
List all users with connected accounts for an app.
list_tools
List executable tools for a connected toolkit.
execute_action
Execute a tool on behalf of a user. Pass the tool as tool_name; the alias tool_slug is still accepted (precedence: tool_name). execute_read is Office-only.
Search for people and companies using structured filters or natural-language queries, enrich profiles by LinkedIn URL (with 30-day cache), and queue async work-email lookups. All metered against the user’s Butterbase credits at platform pricing. See People API for HTTP shapes, response payloads, and pricing details.
Each action is routed to one of two configurable backends (primary or secondary); routing is operator-controlled at deploy time and not visible to MCP callers.
All actions take { app_id, action, ... } where action selects the operation.
Action
Description
search_person
Search for people using structured filters, a free-form query, or both. When query is set it takes priority; otherwise structured filters are used. Structured filters: current_role_title, past_role_title, current_company_name, current_company_industry, country, region, city, education_school_name, education_degree_name, education_field_of_study, plus page_size, next_token. Boolean operators in structured fields are honored as ranking hints. Empty searches are free.
search_company
Search for companies using structured filters, a free-form query, or both. Filters: industry, country, employee_count_max, plus page_size, next_token.
get_profile
Fetch a full profile by LinkedIn URL with cache. Pass linkedin_profile_url. Optional live_fetch: "force" skips cache. 2 credits on a cache miss, 0 on a hit (cache TTL: 30d for hits, 7d for not-found, 1h for failed).
queue_email_lookup
Queue an async work-email lookup. Pass linkedin_profile_url. Returns lookup_id and status: "pending". Poll with get_email_lookup. Charged ~3 credits at queue time and 1 more when the webhook resolves.
set_byok_key / clear_byok_key
Store or remove your own provider key (bring your own key).
get_email_lookup
Poll an email lookup by id. Returns { status, email, credits_consumed }.
Costs vary by which provider the operator routes the action to. Numbers below are typical defaults; actual cost is always reported in the x-people-* response headers and the usage body. See People API for the full table.
Caching saves real money. Repeated get_profile calls against the same normalized LinkedIn URL within 30 days cost $0. Treat the cache as durable and feel free to re-fetch on render.
Searches return 0 credits when there are 0 results — use a page_size: 1 probe to preview cost (look at data.totalResultCount) before paginating.
Async email is genuinely async. The queue call returns immediately; the email lands minutes later via webhook. Plan your UI for a pending state.
Expose a key pattern with read/write role access control
unexpose
Remove an exposure rule by pattern
stats
Get KV usage stats (key count, memory, etc.)
scan
Scan keys by prefix (cursor-based pagination)
flush
Delete all keys in the KV store (requires confirm: true)
get
Get the value of a key
set
Set a key to a value with optional TTL or ephemeral flag
del
Delete one key
incr
Increment a key’s integer value
decr
Decrement a key’s integer value
setnx
Set a key only if it does not already exist
setex
Set a key with an explicit TTL in seconds
cas
Compare-and-swap: atomically set next only if current value matches expected
exists
Check if a key exists
ttl
Get remaining TTL of a key in seconds
expire
Set a TTL on an existing key
mget
Get values of multiple keys at once. Results are returned per key ({ key, value } or { key, error }), in the order requested
mset
Set multiple key-value pairs at once
get and mget accept raw: true to return the stored JSON text without decoding it. Writes (set, setnx, setex, mset) reject raw: true with raw_unsupported_for_write.
Hosted platform only (butterbase.ai). manage_substrate ships with the managed service and is not one of the 38 tools in the open-source MCP server.
All substrate operations are routed through the single manage_substrate MCP tool. Pass { action, ... } where action selects the operation. The agent’s calling user is implicit — there is no app_id and no substrate_user_id; every call operates on the substrate that belongs to the caller.
Tool
Description
manage_substrate
Read/write the caller’s substrate: propose/approve/reject actions, browse the ledger, look up entities and source artifacts, search memory, manage outbox and attention rules, read snapshots, toggle yolo. See manage_substrate actions below.
Writes — every substrate write (decisions, commitments, learnings, entities, source artifacts, side-effects) goes through propose with the appropriate capability.
Reject a pending action. Pass action_id, optional reason.
Action ledger.
Action
Description
list_actions
List ledger rows. Optional status (proposed | approved | rejected | executing | executed | failed | reverted), capability, source_app_id, source_rule_id, limit (API clamps to 1–100, default 25), before (ISO timestamp).
get_action
Fetch one action by action_id.
For ledger reads, pending is accepted as an alias for proposed. An empty or unknown status is an argument-validation error, rather than an empty result. This alias does not change action writes or the separate outbox status vocabulary.
Entities.
Action
Description
find_entities
List/search entities. Optional type (person | company | fund | workspace | team | project | event | agent | self), q (display-name search), limit (1–200, default 50).
get_entity
Fetch one entity by entity_id.
Source artifacts — durable source material (meeting transcripts, email threads, call recordings, documents) that decisions, commitments, and learnings can link back to.
Action
Description
list_source_artifacts
List/search artifacts. Optional kind, q (FTS over title+summary+content), limit, count (true to include total).
get_source_artifact
Fetch one artifact by artifact_id, including its full content.
Memory.
Action
Description
search_memory
Full-text search across long-form memory. Pass q; optional kinds (any subset of decisions, commitments, learnings, source_artifacts — defaults to all of them), limit.
Outbox.
Action
Description
list_outbox
List outbox deliveries. Optional status, limit.
retry_outbox
Retry a failed delivery by outbox_id.
cancel_outbox
Cancel a pending delivery by outbox_id.
Attention rules.
Action
Description
list_rules
List rules. Optional enabled filter.
get_rule
Fetch one rule by rule_id.
create_rule
Create a rule. Pass rule (see Substrate API for the body shape).
update_rule
Update a rule. Pass rule_id and rule.
delete_rule
Delete a rule by rule_id.
enable_rule
Enable a rule by rule_id.
disable_rule
Disable a rule by rule_id.
list_rule_firings
List firings for a rule. Pass rule_id; optional status, limit, before.
Snapshots & settings.
Action
Description
snapshots
List daily substrate snapshots. Optional days (default 7).
These tools are listed whenever any hackathon’s submission window is open. Multiple hackathons can be open simultaneously; tools that target one require an explicit hackathon_slug. See Hackathon.
Tool
Description
prep_and_submit_hackathon_entry
Two-step flow. action: "prep" resolves the hackathon from your submission_code and returns its field_schema plus a next_call template — a fully-formed example submit invocation with a placeholder per field. action: "submit" sends the confirmed data (use matched.slug from prep as hackathon_slug). First submission also needs submission_code. Pass app_id (from manage_applist) so automated scoring can award feature points and judges can verify your app.