modx_update_resource_tvs
Updates template-variable values for a specific MODX resource by ID, enabling targeted content changes without rewriting the entire resource.
Instructions
Update a resource's template-variable (TV) values.
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": {
"resource_id": "<resource_id>",
"tvs": "<tvs>"
},
"name": "modx_update_resource_tvs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tvs | Yes | ||
| resource_id | Yes | ||
| _runtime_preconditions | No | Internal Site Agent CAS preconditions; never author manually. |