list_columns
Retrieves column names from a worksheet by reading first-row headers for a given workbook ID and sheet name or index, helping you inspect spreadsheet structure before reading or transforming data.
Instructions
List columns with headers from the first row of a 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": {
"workbookId": "<workbookId>",
"sheet": "<sheet>"
},
"name": "list_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | Sheet name or index (1-based) | |
| workbookId | Yes | The workbook ID |