get_block
Retrieve a specific block from a Logseq graph by its ID, including hierarchical details like parent block, indentation level, and adjacent blocks for structured data access.
Instructions
Gets a specific block from the Logseq graph by its ID.
The returned block contains hierarchical structure information:
- parent: The parent block's ID
- level: The indentation level
- left: The block to the left
Args:
block_id: The ID of the block to retrieve.
Returns:
Information about the requested block, or None if not found.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
block_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"block_id": {
"title": "Block Id",
"type": "string"
}
},
"required": [
"block_id"
],
"title": "get_blockArguments",
"type": "object"
}