WarmHub exposes a full MCP tool catalog for organizations, repositories, shapes, things, assertions, commits, workspaces, subscriptions, and actions. In repo-scoped mode, orgName/repoName are omitted from all tool schemas. In global mode, they’re required on repo-level tools.
Auth awareness in tool descriptions
All read-only tools include an auth awareness note in their runtime description, instructing agents to suggest authentication when expected data is missing. This note is appended automatically and does not appear in the static descriptions below.
These tools are only available in global mode.
Tool Description warmhub_org_listList organizations (archived hidden by default). warmhub_org_getGet an organization by name. warmhub_org_set_descriptionSet or clear an organization description. warmhub_org_archiveArchive an organization. warmhub_org_unarchiveUnarchive an organization.
Param Type Required Description includeArchivedboolean no Include archived organizations in results
Param Type Required Description orgNamestring yes Organization name
Param Type Required Description orgNamestring yes Organization name descriptionstring no New org description. Trimmed; empty strings clear the value; max 2000 characters.
Param Type Required Description orgNamestring yes Organization name
Archived organizations block new repo creation and member additions.
Param Type Required Description orgNamestring yes Organization name
Tool Description warmhub_repo_createCreate a new repository in an organization. (global only) warmhub_repo_listList repositories in an organization with per-repo totalItems count (archived hidden by default). (global only) warmhub_repo_getGet repository metadata by org/repo. warmhub_repo_describeDescribe repository schema, shape descriptions, field types, and summary stats for agent bootstrapping. warmhub_repo_set_descriptionSet or clear a repository description. warmhub_repo_archiveArchive a repository. warmhub_repo_unarchiveUnarchive a repository.
Param Type Required Description orgNamestring yes Organization name repoNamestring yes Repository name descriptionstring no Repository description visibilitystring no "public" or "private". Defaults to "private".
Returns the created repo object (same shape as warmhub_repo_get). Only available on the global MCP endpoint.
Param Type Required Description orgNamestring yes Organization name includeArchivedboolean no Include archived repositories in results
Param Type Required Description orgNamestring yes Organization name repoNamestring yes Repository name descriptionstring no New repo description. Trimmed; empty strings clear the value; max 2000 characters.
Param Type Required Description orgNamestring yes Organization name repoNamestring yes Repository name
Archived repositories reject new commits.
Param Type Required Description orgNamestring yes Organization name repoNamestring yes Repository name
The most important tool for agent bootstrapping. Returns:
Repository metadata
Shape definitions with field types and optional shape-level description
Per-field descriptions inlined into each field entry. Fields without descriptions appear as bare type strings (e.g. "string"); fields with descriptions appear as { "type": "number", "description": "Horizontal position" }. Descriptions are extracted from typed field objects .
Summary counts (shapeCount, subscriptionCount, totalCount)
lastCommit — the most recent commit (author, message, operation count, timestamp), or null for empty repos
Counts by kind and by shape
Sample wrefs from the repo
Wref syntax reference
Commit contract (add/revise variants, inline collection syntax, rules, about semantics)
Write examples generated from actual repo shapes
Call this first when connecting to a repo.
Tool Description warmhub_thing_headGet active HEAD snapshot for broad repo orientation. warmhub_thing_getGet a thing by wref and optional version. warmhub_thing_get_manyFetch many things by wref in one call. warmhub_thing_historyGet thing history by wref or by shape/about filters. warmhub_thing_aboutGet assertions about a thing. warmhub_thing_queryGeneral targeted query by shape/about/kind filters. warmhub_thing_searchSearch for things by text, vector, or hybrid search. warmhub_thing_refsGet backlinks (inbound) or cross-references (outbound) for a thing. warmhub_wref_resolveResolve a wref to its canonical thing identity.
Workspace support
The tools marked with ws in the parameter tables below accept an optional workspaceName parameter. When set, queries and writes include the workspace overlay — the agent sees baseline + workspace edits. For warmhub_thing_head and warmhub_thing_query, this applies to normal result mode; count: true currently rejects workspaceName with VALIDATION_ERROR because workspace-scoped counts are not yet supported. See Workspaces for details.
Param Type Required Description shapestring no Filter by shape name kindstring no Filter by kind matchstring no Glob pattern to filter wrefs (* = one segment, ** = zero or more) countboolean no Return count of matching items instead of the full result list limitinteger no Max items (minimum 1) cursorstring no Pagination cursor from previous response workspaceNamestring no ws — Scope query to a workspace overlay
Param Type Required Description wrefstring yes WarmHub reference versioninteger no Specific version number workspaceNamestring no ws — Scope query to a workspace overlay
Param Type Required Description wrefsstring[] yes Array of wrefs (non-empty) versioninteger no Pin all lookups to this version
Missing wrefs are returned in a missing array.
Param Type Required Description wrefstring no Thing wref shapestring no Filter by shape aboutstring no Filter by about target resolveCollectionsboolean no When about is set, also include assertions about collections containing the target includeInactiveboolean no Allow resolving deactivated shape or about targets (does not filter results) limitinteger no Max versions to return cursorstring no Pagination cursor from previous response workspaceNamestring no ws — Scope query to a workspace overlay
At least one of wref, shape, or about is required.
Param Type Required Description wrefstring yes Target thing wref shapestring no Filter assertions by shape matchstring no Glob pattern to filter assertion wrefs resolveCollectionsboolean no Include assertions about collections containing the target thing includeInactiveboolean no Include deactivated assertions depthinteger no Recursive assertion depth limitinteger no Max assertions to return cursorstring no Pagination cursor from previous response workspaceNamestring no ws — Scope query to a workspace overlay
Param Type Required Description shapestring no Filter by shape aboutstring no Filter by about target kindstring no Filter by kind matchstring no Glob pattern to filter wrefs countboolean no Return count of matching items instead of the full result list resolveCollectionsboolean no When about is set, also include assertions about collections containing the target includeInactiveboolean no Include deactivated entities limitinteger no Max results cursorstring no Pagination cursor from previous response workspaceNamestring no ws — Scope query to a workspace overlay
Param Type Required Description querystring yes Search query text shapestring no Filter by shape name kindstring no Filter by kind aboutstring no Filter by about target (not supported with vector mode) resolveCollectionsboolean no When about is set, also include assertions about collections containing the target (text mode only) modestring no "text" (default), "vector", or "hybrid"includeInactiveboolean no Include deactivated entities limitinteger no Max results cursorstring no Pagination cursor from previous response (text mode only — vector and hybrid reject cursor). When about or resolveCollections is set, pages may be sparse — paginate until nextCursor is absent. workspaceNamestring no ws — Scope query to a workspace overlay
Param Type Required Description wrefstring yes WarmHub reference directionstring no "inbound" (default) or "outbound"fieldPathstring no Filter by field path (inbound only) limitinteger no Max results cursorstring no Pagination cursor from previous response workspaceNamestring no ws — Scope query to a workspace overlay
Direction "inbound" returns things that reference the target wref. Direction "outbound" returns things the target wref references.
Param Type Required Description wrefstring yes WarmHub reference to resolve
Tool Description warmhub_commit_applyExecute a write commit with operations. warmhub_commit_logGet commit log for a repository.
Param Type Required Description authorstring yes Commit author tag messagestring no Commit message operationsarray yes Operations array (non-empty) workspaceNamestring no ws — Target workspace. When set, the commit is written to the workspace instead of baseline.
Operation variants:
ADD shape: { operation: "add", kind: "shape", name, data }
ADD thing: { operation: "add", kind: "thing", name, data }
ADD assertion: { operation: "add", kind: "assertion", name, about, data }
ADD collection: { operation: "add", kind: "collection", type, members, name? }
REVISE shape/thing/assertion: { operation: "revise", kind, name, data, active? }
REVISE collection: { operation: "revise", kind: "collection", name, active? }
Token rules: $N allocates in the last segment of add-operation names. #N references prior allocations in the same commit. Write path rejects @ALL.
Param Type Required Description limitinteger no Max commits to return cursorstring no Pagination cursor from previous response authorstring no Filter by author sincestring/number no ISO datetime or unix timestamp untilstring/number no ISO datetime or unix timestamp
Tool Description warmhub_shape_listList shapes in a repository. warmhub_shape_getGet a shape by name.
Param Type Required Description shapeNamestring yes Shape name
These tools manage the workspace lifecycle — create isolated workspaces, make changes, then publish as changesets for review and acceptance.
Tool Description warmhub_workspace_createCreate a new workspace in a repository. warmhub_workspace_listList workspaces in a repository. warmhub_workspace_getGet workspace details by name. warmhub_workspace_deleteDelete (abandon) a workspace. warmhub_workspace_statusGet workspace status including diff summary and conflict detection. warmhub_workspace_validateValidate a workspace — check for conflicts with the baseline. warmhub_workspace_rebaseRebase a workspace onto the latest baseline. warmhub_workspace_revertRevert workspace changes to a baseline thing. warmhub_workspace_discardDiscard a workspace-added thing. warmhub_workspace_publishPublish a workspace as a changeset for review. warmhub_workspace_acceptAccept a workspace changeset, merging into baseline. warmhub_workspace_rejectReject a workspace changeset. warmhub_workspace_withdrawWithdraw a workspace changeset, reopening the workspace. warmhub_workspace_reviewGet operation-by-operation review of a workspace changeset.
Param Type Required Description namestring yes Workspace name (lowercase alphanumeric with hyphens, max 64 chars) descriptionstring no Workspace description
Param Type Required Description statusstring no Filter: "open", "published", "abandoned", or "permanent" includeDefaultboolean no Include the default workspace in results
Param Type Required Description workspaceNamestring yes Workspace name
Param Type Required Description workspaceNamestring yes Workspace name
Param Type Required Description workspaceNamestring yes Workspace name
Returns workspace metadata, change summary (added/revised/deactivated things), conflict status, and changeset number if published.
Param Type Required Description workspaceNamestring yes Workspace name
For open workspaces, validates against the baseline. For published workspaces, validates the changeset against current HEAD.
Param Type Required Description workspaceNamestring yes Workspace name
Advances the workspace’s baseline to current repo HEAD and re-runs conflict detection.
Param Type Required Description workspaceNamestring yes Workspace name wrefstring yes The wref to revert (restores baseline state)
Param Type Required Description workspaceNamestring yes Workspace name wrefstring yes The wref to discard (removes workspace-added thing)
Param Type Required Description workspaceNamestring yes Workspace name messagestring yes Changeset message describing the proposed changes rationalestring no Rationale for the changeset
Publishing validates the workspace, computes the diff, creates a numbered changeset, and locks the workspace.
Param Type Required Description workspaceNamestring yes Workspace name
Resolves the workspace to its open changeset, re-validates, then replays operations into baseline.
Param Type Required Description workspaceNamestring yes Workspace name reasonstring no Reason for rejecting
Rejects the changeset and reopens the workspace for further iteration.
Param Type Required Description workspaceNamestring yes Workspace name
Author-only. Withdraws the changeset and reopens the workspace.
Param Type Required Description workspaceNamestring yes Workspace name
Returns the changeset details with operation-by-operation breakdown: verb (ADD/REVISE/DELETE), name, shape, kind, data, and deactivation status.
See Subscriptions for concepts and Creating Subscriptions for setup guides with filter and credential examples.
Tool Description warmhub_subscription_listList subscriptions in a repository. warmhub_subscription_getGet subscription metadata by name. Includes actionContainer, actionContainerConfig, and tokenScopes for subscriptions executed by sprite when present. warmhub_subscription_createCreate a subscription that triggers actions on matching commits. warmhub_subscription_updateUpdate an existing subscription’s trigger or executor config. warmhub_subscription_pausePause an active subscription. warmhub_subscription_resumeResume a paused subscription. warmhub_subscription_deleteDelete a subscription.
Param Type Required Description namestring yes Subscription name
For subscriptions executed by sprite, the response includes:
Response Field Type Description actionContainerstring? Derived action container name actionContainerConfigobject? Action container configuration (command, githubRepo, ref, inputMode) tokenScopesobject[]? Configured token scopes for sprite-minted WarmHub tokens, when present
Param Type Required Description namestring yes Subscription name kindstring yes "webhook", "sprite", or "cron"shapeNamestring no Shape to subscribe to (required for webhook/sprite, not needed for cron) filterJsonobject no Filter object for matching commit operations (required for webhook/sprite, not needed for cron) webhookUrlstring no Webhook endpoint URL (required when kind is "webhook") spriteConfigobject no Sprite executor configuration (required when kind is "sprite"). Supports tokenTtlMinutes (number, 5-60) to configure WarmHub token TTL; defaults to 10 minutes. cronConfigobject no Cron configuration with cronspec and optional timezone (required when kind is "cron") executorKindstring no Executor type for cron subscriptions: "webhook" or "sprite" tokenScopesobject[] no Optional token scopes for WarmHub tokens minted by sprite executors. Must be a non-empty array when provided. Each entry includes permissions: string[] and optional allowedMatches: string[], and a permission may appear in only one entry across the full array. Ignored for webhook subscriptions; honored for cron subscriptions when executorKind is "sprite".
Param Type Required Description namestring yes Existing subscription name shapeNamestring no Replacement shape for webhook/sprite subscriptions filterJsonobject no Replacement filter object webhookUrlstring no Replacement webhook URL spriteConfigobject no Sprite config patch; provided keys merge into the existing config cronConfigobject no Cron config patch; provided keys merge into the existing config executorKindstring no Replacement cron executor kind ("webhook" or "sprite") allowTraceReentryboolean no Replacement reentry policy for commit-triggered subscriptions workspacePolicystring no Replacement workspace commit policy ("ignore" or "include")
Param Type Required Description namestring yes Subscription name
Tool Description warmhub_action_livefeedGet delivery feed for a subscription. Includes run status, attempt count, error details, and action container name. warmhub_action_runsList action runs in a repository. warmhub_action_attemptsGet attempt history for a specific action run. warmhub_action_notificationsList action failure notifications (terminal delivery-failure records).
Param Type Required Description subscriptionNamestring yes Subscription name cursorstring no Pagination cursor from previous response limitinteger no Max items
Each item in the response includes delivery fields plus optional run diagnostics:
Response Field Type Description runStatusstring? Run outcome: succeeded, failed_terminal, dead_letter, etc. attemptCountnumber? Current attempt number maxAttemptsnumber? Maximum attempts allowed (5) lastErrorCodestring? Error classification code (e.g. SPRITE_EXIT_NONZERO) lastErrorMessagestring? Human-readable error description actionContainerstring? Derived action container name (for sprite subscriptions)
Param Type Required Description statusstring no Filter by status: pending, running, retry_wait, succeeded, failed_terminal, dead_letter sincestring no ISO datetime or unix timestamp limitinteger no Max results
Param Type Required Description subscriptionNamestring yes Subscription name commitIdstring yes Commit identifier (16-char hex string)
Param Type Required Description sincestring no ISO datetime or unix timestamp limitinteger no Max results
Returns repo-scoped terminal failure notification records for action deliveries. This is distinct from the web app’s cross-repo user notification feed.