Create or change a data table view
folio_table_save_viewCreates or updates a table view tab, setting its filter, sort, hidden columns and column order. Call folio_table_schema first to confirm real column ids.
Instructions
Creates a view (a tab of a data table: its own filter, sort, hidden columns and column order) or changes one, like the view tabs in the web app. Without viewId a new view is added (name required); with it only the fields you give change. filter and sort use the same shapes as folio_table_query. Call folio_table_schema first to learn this table's REAL column ids, types and option values — never guess them from a title or prior knowledge of a similar table. 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": "folio_table_save_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Table page id | |
| name | No | Tab name; required to create | |
| sort | No | Sort order: [{ column, dir }] | |
| filter | No | Rows the view shows: { op: "and"|"or", rules: [{ column, operator, value? }] } | |
| frozen | No | Columns frozen at the left (0-4) | |
| viewId | No | View to change (from folio_table_schema); omit to create a view | |
| rowHeight | No | Row height | |
| columnOrder | No | Column ids in the order the view shows them | |
| hiddenColumns | No | Column ids the view hides |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | The view after the call: filter, sort, columns (hidden, order), frozen, rowHeight | |
| created | Yes | True when a new view was added |