How AI reads and changes a sheet
Your AI never downloads a whole sheet. It reads the outline, asks for the rows it needs, and changes cells by what’s in them. The outline of a tracker is about 190 tokens, whether it has 2,000 rows or 100,000.
| Step | MCP | CLI |
|---|---|---|
| The outline: each sheet’s columns, what’s in them, charts and colour rules by number, and the version | get | dockito get <sheet> |
| Rows, filtered and sorted, or a range | read | dockito read <sheet> |
| Totals by group | read with group and totals | --group Owner --totals "count,sum Hours" |
| A chart’s points | read with chart | --chart 2 |
Rows are found by what’s in them, by header, not by row number:
dockito read <sheet> --where "Status = Blocked" --select ID,Owner,Duedockito read <sheet> --group Area --totals "count,sum Hours"dockito read <sheet> "Costs!A1:F20" --formulasA read gives 200 rows unless it asks for more, 1,000 at most, and says how to page on.
Change
Section titled “Change”edit_sheet over MCP, or dockito apply <sheet> changes.json --base N. N is the version the AI read. Changes name rows by what’s in them:
[ { "update": { "sheet": "Tasks", "where": "ID = T-104", "set": { "Status": "Done" } } }, { "append": { "sheet": "Tasks", "rows": [{ "ID": "T-214", "Item": "Update the FAQ", "Status": "Open" }] } }, { "format": { "range": "Tasks!1:1", "bold": true, "fill": "#fff2cc" } }]- All or none. Every change applies, or none does.
- Safe with people editing. Addresses and rows mean what they meant at the version read, wherever they’ve moved since. A cell someone changed since is refused, naming who, so the AI reads again instead of writing over them.
- Anything people can do. Values and formulas, rows and columns, formats, merges, sheets, names, tables, dropdowns, colour rules, charts, find and replace. The reference lists every change.
- Receipts. The answer shows each cell old → new and the new version.
- Undo. The AI can take back its own change as one change. People see it in the sheet, named, with a note when the AI gives one.
- Try first.
dryRun(or--dry-run) works it out and saves nothing.
check (MCP and CLI) finds formula errors, a formula that breaks its column’s pattern, a value typed over a column’s formulas or a cell left empty among them, numbers or dates typed as text, and totals that stop before their column does.
What changed
Section titled “What changed”changes with a version or a time lists each change since, oldest first: who, when, through what, and each cell old → new, named where it is now. Your AI uses it to catch up on what people did.
dockito changes <sheet> --since 412dockito changes <sheet> --since "2026-11-03 09:00"Who can do what
Section titled “Who can do what”A View token reads a sheet; changing one needs Publish or Everything, and Edit on the sheet. See Tokens and access.