excel_create_pivot_table
Create a pivot table in an Excel workbook by summarizing a source worksheet range into a target worksheet and cell using specified row, column, and value fields.
Instructions
Create pivot table
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": {
"filename": "<filename>",
"sourceWorksheet": "<sourceWorksheet>",
"sourceStartCell": "<sourceStartCell>",
"sourceEndCell": "<sourceEndCell>",
"targetWorksheet": "<targetWorksheet>",
"targetCell": "<targetCell>"
},
"name": "excel_create_pivot_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Workbook name | |
| rowFields | No | Row fields | |
| targetCell | Yes | Placement cell | |
| valueFields | No | Value fields | |
| columnFields | No | Column fields | |
| sourceEndCell | Yes | Source end | |
| sourceStartCell | Yes | Source start | |
| sourceWorksheet | Yes | Source worksheet | |
| targetWorksheet | Yes | Target worksheet |