Set Block Attributes
block_set_attributesUpdate attribute values for a block reference using its handle and tag-value pairs. Writes strings and numbers, ignores unknown tags, and preserves multi-line formatting.
Instructions
Update attribute values in a block reference.
Same value rule as block_insert: strings and numbers are written,
null / booleans / lists / objects are refused naming the tag before
anything changes. updated_tags lists the tags that exist on the
reference and were written; unknown tags are ignored.
A multi-line attribute takes Line1\PLine2 and keeps every line; the
value written is the one block_get_attributes reads back and
block_explode bursts, on both engines.
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": {
"handle": "<handle>",
"attributes": "<attributes>"
},
"name": "block_set_attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | Block reference (INSERT) entity handle | |
| attributes | Yes | Attribute values to update: {TAG: new_value} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||