commitments.delegate

Phase 0 stub

Delegate commitment ownership to a Trusted Delegate. (Preview — V2.)

CategoryCommitments
JSON-RPCtools/call
EndpointPOST /mcp

Description

Stub-ships at MVP; depends on Trusted Delegate scaffolding per FR159–FR163. Per ADR-0021 §read-API Family C.

Input schema

FieldTypeRequiredDescription
commitment_idstringyesThe commitment id.
delegate_tostringyesThe Trusted Delegate id.

Output shape

typescript
{ ok: false; error: "feature_not_available"; details: { adr: "ADR-0021"; section: "Family C — Commitments"; shipping: "V2" } }

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.delegate", "arguments": { "commitment_id": "cmt_01H...", "delegate_to": "delegate_01H..." } }

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": false, "error": "feature_not_available", "details": { "adr": "ADR-0021", "section": "Family C — Commitments", "shipping": "V2" } }

Errors this tool can return

CodeMeaning
invalid_argumentsTool input failed Zod validation.
unauthorizedMissing or invalid bearer token.
feature_not_availableThe tool is registered but the underlying capability is not wired in this build.

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

Notes