get_block
Fetch a Logseq block and its full subtree by ID, optionally including embedded images, so AI agents can read note content.
Instructions
A block by id (the ‹abcd1234› shown in outlines, or a full uuid) with its subtree.
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": {
"id": "<id>"
},
"name": "get_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| include_images | No |