component_insert
Insert a native editable component from the document's pinned system into a page, with optional variant and text/image slot overrides. Use system IDs to place reusable elements.
Instructions
Insert a native editable component from the document's pinned system, with optional variant and text/image slot overrides. Read the system to discover component and slot IDs.
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>",
"operationId": "<operationId>",
"actor": "<actor>",
"expectedRevision": "<expectedRevision>",
"componentId": "<componentId>",
"pageId": "<pageId>"
},
"name": "component_insert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| actor | Yes | ||
| slots | No | ||
| pageId | Yes | ||
| variant | No | ||
| parentId | No | ||
| documentId | Yes | ||
| componentId | Yes | ||
| operationId | Yes | ||
| expectedRevision | Yes |