update_preset
Preview or apply changes to an existing user preset only when its content revision matches, saving an exact backup before any real update.
Instructions
Preview/update an existing user preset with a matching content revision. Actual updates first save an exact backup.
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": {
"target": "<target>",
"kind": "<kind>",
"name": "<name>",
"changes": "<changes>",
"expected_revision": "<expected_revision>"
},
"name": "update_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| target | Yes | ||
| changes | Yes | ||
| dry_run | No | ||
| expected_revision | Yes |