close_workbook
Free memory by closing an active Excel workbook session. Use discard_changes to close without saving.
Instructions
Close a workbook session and free its memory.
Refuses to close if there are unsaved changes, unless discard_changes=True.
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": {
"session_id": "<session_id>"
},
"name": "close_workbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| discard_changes | No |