auto_fit_columns
Adjust column widths to fit the longest value in each column, within 8-80 range. Specify columns (e.g., 'A:F') or omit to fit all used columns.
Instructions
Approximate Excel's auto-fit: size each column to its longest value.
columns like 'A:F'; omit to fit every used column. Widths are clamped to the 8-80 range.
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": {
"session_id": "<session_id>"
},
"name": "auto_fit_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | ||
| columns | No | ||
| session_id | Yes |