Add a data table column
folio_table_add_columnAdds a new column to a Folio data table, including its type and select/status options, so you can extend table structure with a write-scoped token.
Instructions
Adds a new column to a data table, with its type and (for select/status) its options. The column id is derived from name unless columnId is given. Requires a write-scoped token.
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": {
"id": "<id>",
"name": "<name>",
"type": "<type>"
},
"name": "folio_table_add_column"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Table page id | |
| name | Yes | Column title | |
| time | No | date columns: also store the time of day | |
| type | Yes | Column type | |
| align | No | Cell text alignment | |
| width | No | Column width in pixels (60-1200) | |
| default | No | Value a new row gets when it omits this column | |
| options | No | select and status columns: the allowed values, each { value, color?, description? } | |
| columnId | No | Explicit column id ([a-z0-9_]{1,32}); auto-derived from `name` when omitted | |
| multiple | No | select or user columns: allow several values per cell | |
| precision | No | number columns: digits after the decimal point (0-6) | |
| allowCreate | No | select columns: allow a value that is not among the options | |
| description | No | Hint shown in the column header |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Column id — what the folio_table_* tools take as a key | |
| name | Yes | Column title | |
| type | Yes | Column type (text, number, select, status, date, checkbox, ...) | |
| options | No | Allowed values of a select or status column | |
| description | No | Hint shown in the column header |