doc_properties
Retrieve workbook properties or set calculation mode to control formula recalculation in Excel files, with options for auto, manual, or autoNoTable.
Instructions
Read document properties or set calculation mode.
Args: action: "get" or "set_calc_mode". file_path: Workbook path. calc_mode: "auto", "manual", or "autoNoTable" for setting calculation mode.
Returns: dict or str: Properties dict for "get"; status message for "set_calc_mode".
Notes: - Changing calc mode changes workbook behaviour for formula recalc; mention effect in 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": {
"action": "<action>",
"file_path": "<file_path>"
},
"name": "doc_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| calc_mode | No | auto | |
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |