append_rows
Append rows to a table. rows is a list of objects keyed by column_id (from describe_table); or pass columns (ids, in order) once and send each row as an array in that order: same result, fewer bytes. Values are coerced to the column's type; a value that does NOT fit is REFUSED and nothing is written (the column is never retyped).
VALUES: JSON scalars; null leaves a cell empty. list_string takes an array of strings. Timestamps and dates take ISO 8601 strings. categorical takes an option LABEL or an array of labels, never an id; an unknown label is refused (add it with update_categories). An attachment column cannot be written or cleared: leave it out.
Max 1000 rows and 1 MiB of values per call. Pass a stable idempotency_key: without it a retry after a dropped response can insert the rows twice.
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": {
"model_id": "<model_id>",
"table_id": "<table_id>",
"rows": "<rows>"
},
"name": "append_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Keyed objects (`column_id` → value) or positional arrays in `columns` order; one encoding per call. | |
| columns | No | Column ids for positional rows: required when rows are arrays, refused with keyed rows. Each row carries exactly this many values; a short or long row refuses the call. | |
| model_id | Yes | Model that owns the table. | |
| table_id | Yes | Target table id. | |
| idempotency_key | No | Stable unique string that makes a retry safe. Strongly recommended. | |
| expected_version | No | Optional optimistic-concurrency guard (see edit_rows). |