Update Items
item.update_manyUpdate a LISTED set of rows (by id) in one sheet in ONE call — use it instead of repeated item.update_humanized whenever you change more than one row. Each row is { itemId, fields }; only the given fields change and values are HUMAN VALUES resolved as in item.update_humanized. Text fields take markdown: bold, italic, strikethrough, code, links (http, https and mailto only) and - or 1. lists; put a backslash before a * _ ~ [ ] meant literally. Date fields take an ISO 8601 date or datetime, or a range as [start, end] or an ISO interval start/end (e.g. 2026-12-01/2026-12-05); times are UTC unless they carry an offset, and an end before the start is refused. Up to 200 rows per call. Rows that are not in the sheet, archived, read-only or have an unresolvable value are skipped with a reason and never changed; the rest are updated. Workflows on the sheet run for every updated row, as for an edit by hand. The whole call is one batch:item.undo_batchwith the returnedbatchIdandsheetIdrestores the previous values. Returns{ batchId, updated, skipped, skippedCount, url }— tell the user the counts and the skip reasons. When the agent this app signs in as has Ask first on for this, the call waits for its manager's approval and returnsstatus: "pending_approval"; nothing changes until they approve. Pass reason(andtargetNotes` per target) so the approver sees why.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sheetId": "<sheetId>",
"rows": "<rows>"
},
"name": "item.update_many"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | The rows to change, 1–200, each by id with only the fields that change | |
| reason | No | Why you are doing this, in one sentence the approver reads if Ask first holds the call | |
| sheetId | Yes | ||
| targetNotes | No | A short note per target, keyed by the id or Index you pass |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Panel link to the sheet | |
| status | No | The call waits for a person's approval; nothing has changed | |
| batchId | No | Id of the batch; pass it with sheetId to item.undo_batch to undo the whole batch. Null when nothing was written | |
| created | No | Rows created | |
| message | No | ||
| sheetId | No | Sheet the rows are in | |
| skipped | No | Rows left unchanged and why; at most 20 are listed | |
| spaceId | No | Space of that sheet; null for a sheet outside a space | |
| stopped | No | Set when a row failed unexpectedly: rows after it were not attempted; the rest stay written | |
| updated | No | Rows updated | |
| approver | No | Who decides it | |
| approvalId | No | The approval the call waits on | |
| skippedCount | No | All rows skipped, including ones not listed |