create_workbook
Create a new .xlsx workbook at a chosen path, with an optional bold, frozen header row and custom sheet name. Use it to start spreadsheets programmatically without Microsoft Office.
Instructions
Create a new .xlsx workbook, optionally with a header row.
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": "create_workbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Where to create the .xlsx file | |
| headers | No | Optional header row (bold, frozen) | |
| overwrite | No | Replace the file if it already exists | |
| sheet_name | No | Sheet1 |