create_component
Create one or more reusable components on this document. Prefer creating components first and then composing them in template.hbs. Creating a component does NOT put it on a page — the entry has to place a page layout for anything to render. Every component is created unlocked; locks are the user's to set. The whole batch is validated together, so a parent and the child it calls can be created in one call regardless of array order, and either everything commits or nothing does. Changes are saved to the catalogue and can queue a thumbnail render that fetches external assets referenced by its content.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"documentId": "<documentId>",
"components": "<components>",
"llm_model": "<llm_model>"
},
"name": "create_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| components | Yes | ||
| documentId | Yes | The catalogue's id. Call list_documents first if you do not have one. | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. | |
| expectedRevision | No | The contentRevision you last read. Always send it: it is what proves this was written against the source that is actually stored. |