Start a new workbook
create_workbookMakes a new workbook from EXACTLY ONE of: instruction — one sentence the way a person would say it ('find 30 US importers of loose leaf tea and the buyer at each'), which starts a run that researches and writes it, uses the account's balance and takes minutes; document — markdown you have written, which becomes version 1 at once; or sheets — tabs, each {name, markdown}, which become version 1 at once. Writing content yourself runs nothing and uses none of the balance. Nothing that already exists is changed. Or file_name — a file you upload to the link it answers with, then make the first version with write_workbook from_file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_workbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | What this workbook's runs are, from now on. `harnessroom` (a new workbook's default): the instruction is a request, and a harness researches and writes the document. `latticeroom`: the instruction is a draft someone already wrote, whole — markdown, its links kept — which comes back exactly as written, with the run's inference beside it (read_workbook's `inference`: each claim cited, self-reported, secondary only, contradicted or with no source, and its sources); each entry under its References or Bibliography heading is looked up in Crossref and on the web and marked found, found with other authors or year, or not found, and a sentence citing it — [3], (Smith et al., 2020) — is read against the work found; attach data files (.json, .csv, .tsv) to settle the draft's own figures. `graphroom`: the document is the graph, one ```mermaid flowchart, edited with write_workbook like any document (each edit a version; one that cannot run is refused); a run performs the current version and is kept in the workbook's `graph_runs` with what each box held, changing no version. Runs refuse until a graph is drawn. `flashroom`, for a workbook made from a spreadsheet or a Word document: the instruction is an edit to its sheet, or to the document's table it is about, planned in seconds and kept in `messages` — each cell's before and after, the rows added and removed — and nothing is written until the next instruction is `yes`, which makes it as a new version. `askroom`: the workbook is asked and never changed — every instruction is a question of the document as it stands, answered in seconds and kept in `messages`; no run writes a version. A mirror's read-only copy is always an askroom. Omit to keep the workbook's current mode. | |
| name | No | Its name. A name another workbook has is told apart by this one's id. | |
| size | No | With `file_name`: the file's size in bytes, when known. | |
| work | No | true when the instruction is work to do, not a question. The run then starts without first checking whether the instruction is a question. | |
| model | No | The model its runs think with, as configure_workbook names them — set before the first run. | |
| title | No | What it is shown by, e.g. 'Comps', where the name has to say more. Need not be unique: the name stays its address. | |
| folder | No | A folder to put it in, e.g. 'Outreach'. Made if missing. Omit for the root. | |
| sealed | No | true seals a harnessroom's runs: each sees the web, the programs and its own /tmp, and nothing an earlier run left — no drive, no attachments, no other workbook. For a measurement that must not be handed earlier research. | |
| sheets | No | The first version as tabs, in order. | |
| document | No | The first version as markdown, written by you. | |
| file_name | No | Make it from a file you have (a .glb, .pptx, .pdf, .xlsx, .docx …): its name. Answers with an upload link on this server; PUT the file there, then write_workbook from_file makes it the first version. Never pass a file's bytes through the conversation. | |
| attachments | No | Files to attach to the workbook — before its run starts, when one does, so it reads and cites them — each {name, content_base64, content_type?}, 32 MB at most. They stay attached for every later run; list_attachments shows them. | |
| instruction | No | What the workbook should be, in one sentence. A run writes it, using the account's balance. | |
| sources_folder | No | The drive folder you keep this workbook's subject in — e.g. `/dropbox/Market research`. What the run cites is filed there once it delivers, instead of a folder named after the document's title. | |
| time_limit_seconds | No | How long its first run may take, for a run a person waits on: stopped there, it delivers the draft it has. Set before the run starts, so one call makes and starts it. |