autocad_set_block_attribute
Set one attribute value on a block reference by providing its handle, tag, and new text. Update block data directly in AutoCAD drawings.
Instructions
Set the value of one attribute on a block reference.
Args: params (SetBlockAttributeInput): - handle (str): handle of a block reference (INSERT entity). - tag (str): attribute tag name. - value (str): new text value.
Returns: str: JSON {"status": "updated", "handle", "tag", "value"}.
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": {
"params": "<params>"
},
"name": "autocad_set_block_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |