mtgx_update_entity
Update an entity's value, properties, notes, bookmark, position, or weight in a .mtgx archive by specifying its entity ID and archive path.
Instructions
Update an entity's value, properties, notes, bookmark, position, or weight in a .mtgx archive.
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": {
"path": "<path>",
"entity_id": "<entity_id>"
},
"name": "mtgx_update_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to .mtgx archive | |
| notes | No | Updated notes string, or null to clear | |
| value | No | New primary entity value | |
| weight | No | New entity weight, or null to clear | |
| bookmark | No | Updated bookmark index (>= 0), or null to clear | |
| position | No | New node coordinates { x, y } | |
| entity_id | Yes | ID of the entity to update | |
| properties | No | Properties to merge/upsert (or replace when replace_properties=true) | |
| replace_properties | No | Replace existing properties instead of merging by name (default false) |