insert_block
Insert a new block under or near an existing block in Logseq. Specify content and optional positioning for precise placement.
Instructions
Insert a block under or near an existing block.
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": {
"target_block_uuid": "<target_block_uuid>",
"content": "<content>"
},
"name": "insert_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_block_uuid | Yes | ||
| content | Yes | ||
| sibling | No | ||
| before | No | ||
| start | No | ||
| end | No | ||
| custom_uuid | No | ||
| properties | No |