Put a workbook in your shell
checkout_workbookWrites the workbook into your shell session's /tmp so you can work on it with bash. A workbook's tabs, and the spreadsheet they were derived from, live in this account's object store — the shell mounts providers, not that store, so this is the only way to open them from bash.
It goes into THIS connection's shell — the one the bash tool runs in — unless session names another: a shell's id is what session id prints inside it. /tmp belongs to one session, so a checkout made in one shell is not visible in another.
Answers with the directory, the file to EDIT, and a file per tab. For a workbook made from a spreadsheet the file to edit is current.xlsx and the tab markdown beside it is derived — editing that changes nothing. Read README.txt in the directory: it says which, with the xlsx commands for it — xlsx FILE get, set, insert-rows and the rest, every formula recalculated on save. Then commit_workbook with the same session. A workbook linked to a Drive or Dropbox file is checked out as the file stands now, and committing writes it back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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: another shell's id, what `session id` prints inside it. Omit for this connection's shell. | |
| 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. |