move_block
Re-parent and/or reorder a block WITHOUT changing its id. parent is {'type': 'block_id', 'block_id': ''} to nest it under another block, or {'type': 'card_id', 'card_id': ''} to put it back at the card's top level. after names the sibling to land behind; omit it (or pass null) to become the FIRST child. Note that this is the OPPOSITE of after on append_blocks, where omitting it appends at the end. The target parent must be in the same card, and a block cannot move under its own descendant, nor under a parent that sits inside an archived subtree (that would hide the content from every reader). Descendants ride along. Use this instead of delete_block + append_blocks when restructuring a body: the block keeps its id and audit history, and the change reads as one block.updated. Mirrors POST /v1/blocks/{block_id}:move.
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": {
"block_id": "<block_id>",
"parent": "<parent>"
},
"name": "move_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| parent | Yes | ||
| block_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||