Register a new tool
Inserts a new tool row. Platform-admin only. Idempotency-Key is required. The composer sets content_hash + version=1; subsequent PATCH calls bump version only when content_hash changes.
Authorizations
Supabase JWT token in Authorization: Bearer header
Headers
Per-mutation idempotency key (RFC draft-ietf-httpapi-idempotency-key-header).
1 - 255Body
Globally unique tool name. Convention: <connector>_<verb>_<noun> (e.g. campfire_create_chart_account). Org-scoped tools use the reserved org:<id>: prefix.
^([a-z][a-z0-9_]{1,127}|org:[a-z0-9-]{3,64}:[a-z][a-z0-9_]{1,127})$8-entry action class taxonomy per mnemom-contracts/tool-manifest/v1.yaml. V7 gateway hooks bind on this for class-scoped enforcement.
read, internal_write, consequential_internal_write, consequential_external_write, comms_internal, comms_external, engineering_attestation, governance_write 9-entry domain taxonomy. Used by domain-scoped value declarations like policy_attentiveness(domain: financial).
financial, engineering, intelligence, growth, operations, governance, comms, identity, security OpenAPI fragment / JSON Schema for the tool parameters. Populated when the tool is imported via OpenAPI spec.
Response
Tool registered.
Globally unique tool name. Convention: <connector>_<verb>_<noun> (e.g. campfire_create_chart_account). Org-scoped tools use the reserved org:<id>: prefix.
^([a-z][a-z0-9_]{1,127}|org:[a-z0-9-]{3,64}:[a-z][a-z0-9_]{1,127})$8-entry action class taxonomy per mnemom-contracts/tool-manifest/v1.yaml. V7 gateway hooks bind on this for class-scoped enforcement.
read, internal_write, consequential_internal_write, consequential_external_write, comms_internal, comms_external, engineering_attestation, governance_write 9-entry domain taxonomy. Used by domain-scoped value declarations like policy_attentiveness(domain: financial).
financial, engineering, intelligence, growth, operations, governance, comms, identity, security x >= 1OpenAPI fragment / JSON Schema for the tool parameters. Populated when the tool is imported via OpenAPI spec.
^sha256:[a-f0-9]{64}$