Duplicate a block
duplicate_blockCopy a block with a fresh id. The copy is inserted directly after the original.
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": {
"document": "<document>",
"blockId": "<blockId>"
},
"name": "duplicate_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockId | Yes | The id of a block in the document. | |
| document | Yes | The Publisle document: an object with schemaVersion and blocks, as returned by the other tools. |