files_table_sort
Sorts a data table by one or more of its columns. cell: any cell inside the table (e.g. its anchor 'A1'). sort: an array of { column, direction } applied in order, where column is the 0-based column index within the table and direction is 'asc' or 'desc'. Pass an empty array to clear the sort and restore the original row order. Requires edit permission. Signature: files_table_sort(file_uuid, cell, sort, sheet?).
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": {
"file_uuid": "<file_uuid>",
"cell": "<cell>",
"sort": "<sort>"
},
"name": "files_table_sort"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | Yes | Any cell inside the table (e.g. its top-left anchor 'A1'). | |
| sort | Yes | Sort keys in priority order; empty clears the sort. | |
| sheet | No | Sheet name (defaults to the first sheet). | |
| file_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_uuid | Yes | ||
| sequence_number | Yes |