Batch Update Blocks
batch_update_blocksUpdate multiple blocks simultaneously in Mnemosyne knowledge graphs to modify attributes or XML content with a single transaction, improving efficiency over individual updates.
Instructions
Update multiple blocks in a single transaction. More efficient than individual update_block calls. Each update can specify attributes to change and/or new XML content. Returns results for each update.
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": {
"graph_id": "<graph_id>",
"document_id": "<document_id>",
"updates": "<updates>"
},
"name": "batch_update_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_id | Yes | ||
| document_id | Yes | ||
| updates | Yes |