Import an existing workbook
import_workbookScans an existing .xlsx into a reviewable plan with per-sheet tabs and confidence-rated detected blocks, then opens the layout canvas so users can correct mislabelled areas before rebuilding.
Instructions
Scan an existing .xlsx into a plan: one tab per sheet, blocks detected from borders, bold headers, formula density and chart anchors, each with a confidence. Opens the layout canvas with Detected badges so the user can fix mislabelled blocks before anything is rebuilt. Tabs are marked approved (the sheets already exist); layouts are not.
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>"
},
"name": "import_workbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Project name; default: the file name | |
| path | Yes | Absolute path to the .xlsx | |
| brief | No | What the user wants to do with it (restyle, extend, rebuild) | |
| formatting | No | plain |