files_insert
Inserts blank rows or columns into a sheet, shifting existing content down/right. axis: 'rows' or 'columns'. at: the reference line — a column letter (e.g. 'C') for columns, or a row number (e.g. '5') for rows. side: 'before' (default) inserts on the low side (left of the column / above the row), so content at 'at' shifts; 'after' inserts on the high side (right/below). Either way the new line inherits the formatting of the 'at' line. count: how many to insert (default 1). Tables and formulas adjust automatically (recomputed on the collaboration server). Requires edit permission. Signature: files_insert(file_uuid, axis, at, count?, side?, 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>",
"axis": "<axis>",
"at": "<at>"
},
"name": "files_insert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | Reference line: column letter ('C') for columns, or row number ('5') for rows. | |
| axis | Yes | ||
| side | No | Insert before (left/above, default) or after (right/below) the 'at' line. | |
| count | No | How many to insert (default 1). | |
| sheet | No | Sheet name (defaults to the first sheet). | |
| file_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | Yes | ||
| inserted | Yes | ||
| file_uuid | Yes | ||
| sequence_number | Yes |