refresh_pivot_table
Refresh an Excel pivot table by re-running its stored definition. Provide the workbook path and output sheet to update the pivot data, with optional source file and sheet overrides.
Instructions
Refresh a previously created pivot table by re-running its stored definition.
Args: file_path: Workbook path containing stored pivot definitions. output_sheet: Name of the pivot output sheet to refresh. source_file_path, source_sheet: Optional explicit sources to override stored sources.
Returns: dict: Summary of refresh results.
Notes: - Mutates the workbook by overwriting the pivot output area.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| output_sheet | Yes | ||
| source_sheet | No | ||
| source_file_path | No |