tidy_apply
Apply a validated plan by its hash to make changes, automatically refusing expired or stale plans and recording a decision entry.
Instructions
Execute a plan produced by tidy_plan, identified by its hash. This is the only tool in tidy-core that changes anything. It refuses plans it did not generate, plans that have expired, and plans whose targets have changed since the plan was built. On success it writes a decision entry recording what changed and why.
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": {
"planHash": "<planHash>",
"confirm": "<confirm>"
},
"name": "tidy_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why this was applied. Goes into the decision record verbatim. | |
| confirm | Yes | Must be true. Present so that applying is always a deliberate second step. | |
| planHash | Yes | The planHash returned by tidy_plan. | |
| figmaFile | No | Run against a specific connected file. |