Save what you changed in your shell
commit_workbookReads back the checkout in your shell session and writes it as a new version. Send the version the checkout reported as base_version, and the same session if the checkout named one.
A workbook made from a spreadsheet commits from current.xlsx: its tabs are derived from the file again, and the edited file becomes what the workbook is made of, so the formulas, formats and charts around your change survive. A markdown workbook commits from tabs/*.md — a file left alone keeps its tab, and a file deleted removes it.
Refused if the workbook has moved past base_version, if a run is writing it, or if nothing in the checkout changed. The version before is kept either way.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | One line on what changed, e.g. 'Rent raised to 2,400'. | |
| context | No | Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution." | |
| session | No | Optional: the shell the checkout was put in, if it named one. | |
| workbook | Yes | The workbook id. | |
| llm_model | No | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| base_version | Yes | The version the checkout reported. |