update_block
Modify and enhance Logseq graph blocks by updating content, adding links with [[Page Name]], and optionally adjusting properties using block ID and new data.
Instructions
Updates an existing block in the Logseq graph.
Use [[Page Name]] to create links to other pages.
Args:
block_id: The ID of the block to update.
content: The new content for the block.
properties: Optional properties to update on the block.
Returns:
Information about the updated block.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
block_id | Yes | ||
content | Yes | ||
properties | No |
Input Schema (JSON Schema)
{
"properties": {
"block_id": {
"title": "Block Id",
"type": "string"
},
"content": {
"title": "Content",
"type": "string"
},
"properties": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Properties"
}
},
"required": [
"block_id",
"content"
],
"title": "update_blockArguments",
"type": "object"
}