xlsx_healer_intent
Heal .xlsx workbooks by declaring a goal—make-it-work, make-standalone, or migrate—so the tool plans and applies the needed repair operations.
Instructions
Use this when you need goal-driven healing: declare an intent (make-it-work / make-standalone / migrate) and let the healer plan + apply the operation sequence.
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": {
"file_path": "<file_path>",
"intent": "<intent>"
},
"name": "xlsx_healer_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | as_copy (default) writes a new file alongside the source; in_place overwrites it. | |
| intent | Yes | The healing goal. make-it-work: smallest surgery to clear errors. make-standalone: fully dereference all externals. migrate: rewrite against a from/to prefix pair (requires intent_params.from + intent_params.to). | |
| confirm | No | Required as true when mode=in_place. Prevents accidental in-place overwrites; explicit confirmation is the safety gate. | |
| out_path | No | Optional: write the cured workbook to this absolute path. Defaults to <name>-healed.xlsx next to the source when mode=as_copy. | |
| file_path | Yes | Absolute path to the .xlsx file to heal. | |
| intent_params | No | Intent-specific parameters. Required keys depend on the intent (migrate needs from + to). |