Branch off a smart component
branch_library_componentBranch a library component or start an empty builder slate to customize and grow it before saving or submitting.
Instructions
Start your own smart component on a new slate: a copy of one from the library to change, or an empty one (itemId "new").
Branch off a component. Start building a smart component on a new private slate (a builder slate): a copy of a library component to change (itemId), or an empty one (itemId "new"). Grow it by chat and with the controls on the board, then library.saveDraft and library.submit. A branch keeps its parent's category.
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": {
"itemId": "<itemId>"
},
"name": "branch_library_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | The component to branch off, or "new" for an empty builder slate. | |
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| version | No | A version number (item.publishedVersion by default). | |
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. |