commitments.snooze

Live

Defer a commitment to a later time.

CategoryCommitments
JSON-RPCtools/call
EndpointPOST /mcp
Sourcepackages/commitments/src/tools/commitments-snooze.ts

Description

Transitions to snoozed state with snoozed_until set. Auto-transitions back to open when the time arrives. Per ADR-0021 §read-API Family C.

Input schema

FieldTypeRequiredDescription
commitment_idstringyesThe commitment id.
untilstring (ISO-8601)yesWhen the commitment should resurface.
reasonstringnoOptional snooze reason.

Output shape

typescript
{ ok: true }

Example call

JSON-RPC tools/call request body (omit the JSON-RPC envelope when using an SDK; the SDK adds it for you):

jsontools/call params
{ "name": "commitments.snooze", "arguments": { "commitment_id": "cmt_01H...", "until": "2026-06-15T09:00:00Z" } }

Example response

Tool results are always wrapped as content[0].text with a stringified JSON body. The shape below is what you get back from JSON.parse(result.content[0].text):

jsonparsed result body
{ "ok": true }

Errors this tool can return

CodeMeaning
invalid_argumentsTool input failed Zod validation.
unauthorizedMissing or invalid bearer token.
quota_exceededPer-minute, daily call, or daily inference budget exceeded.
not_foundThe requested resource (action_id, decision_id, counterparty_id, etc.) was not found.

See the full error catalog for resolution steps on each code, plus the standard transport-layer responses (401, 429).