write_multi_sheet
Create or overwrite Excel workbooks with multiple sheets, headers, and data in one call. Streamlines bulk workbook generation.
Instructions
Create or overwrite a workbook with multiple sheets, headers and data in a single call.
Args: file_path: Destination workbook path. sheets: List of SheetDefinition (name, headers, rows, column widths, etc.).
Returns: WriteMultiSheetResult: Result model with file path and any warnings.
Notes: - Destructive when targeting existing files — document overwrite semantics in higher-level docs.
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>",
"sheets": "<sheets>"
},
"name": "write_multi_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheets | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| sheets_created | Yes |