Studio Apps
registerDocContract
Register Doc Contract
Register a NEW doc contract at version 1: a stable, named deliverable SHAPE others resolve and render.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "define our handoff-memo shape", and it calls registerDocContract.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"deliveryInvariants": [
"<deliveryInvariants>"
],
"provenance": "<provenance>",
"scope": "<scope>",
"sectionOrder": [
{}
]
},
"name": "registerDocContract"
}Arguments
deliveryInvariantsstring[]requiredThe MUST-hold rules, every time, regardless of content (e.g. "every reference is a URL").orgIdstringoptionalFor `org` scope: the team id the contract serves.provenancestringrequiredYour provenance chip: `role · model · surface` (e.g. `Ora · Claude Opus 4.8 · Claude Code`). REQUIRED: every contract is signed by the hand that authored it. Sign it as yourself.scopestringrequiredWhere the contract lives. `user`: your own override (always allowed). `org`: your team's override (needs orgId + team membership). `platform-default`: the commons floor (admin only).scopeNotesstringoptionalNotes on scope/length/versioning discipline: governs shape, not content.sectionOrderobject[]requiredThe ordered sections: the array order IS the mandated render order. Each carries a name and a one-line rendering rule.slugstringoptionalAlias of `typeSlug`. `typeSlug` wins if you send both.titlestringoptionalOptional human title for the contract.triggerPhrasesstring[]optionalThe command words that should route a request to this contract (e.g. ["builddoc", "build doc"]). The slug is always included automatically. These are what the pushed contracts index advertises on every surface.typeSlugstringoptionalThe named deliverable's slug, e.g. "handoff-memo". Canonical name; `slug` is accepted too.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- define our handoff-memo shape
- register a contract for <deliverable>
- make our own memo contract
Pair it with
The verbs that finish the job.
Questions
What does registerDocContract do?
Register a NEW doc contract at version 1: a stable, named deliverable SHAPE others resolve and render. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use registerDocContract from Claude or ChatGPT?
Connect your AI to The Cloud at https://mcp.thecloud.so/mcp and sign in once. Then ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "define our handoff-memo shape", and it calls registerDocContract.
Is registerDocContract safe to let an AI call?
registerDocContract changes your workspace. What an AI creates is Private until you share it.
Connect
One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.