Released 2026-06-20. The data-sheet SDK now works in more places — read and write your sheets directly from stream code and workflow Code tasks.
Added
ctx.sheetsin stream & workflow code. Stream Code functions and workflow Code tasks get the same data-sheet SDK that playground server code has. Callctx.sheets(databaseId).insertRow(slug, cells),.updateRow(slug, id, cells),.query(slug, { where }),.deleteRow(slug, id), and more — naming the database per call. Every call is ownership-checked against your team, and the usual cell validation and row caps apply.- Agents already could. Give an agent a data-sheet tool in read-write mode and it can insert and update rows — no change needed there.
Notes
- Pass the database id into your code (e.g. as a workflow input) rather than hard-coding it. Playground server code is unchanged — it stays scoped to its linked database.