roam_move_block
Move a Roam block to a new location under a specific parent or position. Provide block UID and parent UID to reorganize your graph efficiently.
Instructions
Move a block to a new location (different parent or position). This is a convenience wrapper around roam_process_batch_actions for single block moves.
IMPORTANT: call roam_get_guidelines for this graph once per session before using this tool, reads included — conventions change how results are read, not just written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | No | Target graph key from ROAM_GRAPHS config. Defaults to ROAM_DEFAULT_GRAPH. Only needed in multi-graph mode. | |
| order | No | Position under the new parent. Can be a number (0-based index) or "first"/"last". Defaults to "last". | last |
| block_uid | Yes | The UID of the block to move | |
| write_key | No | Write confirmation key. Required for write operations on non-default graphs when write_key is configured. | |
| parent_uid | Yes | The UID of the new parent block or page |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | ||
| success | Yes | ||
| block_uid | Yes | ||
| new_parent_uid | Yes |