list_sheets
Retrieve the names of all sheets in a Google Spreadsheet by providing the spreadsheet ID.
Instructions
List all sheets in a Google Spreadsheet.
Args: spreadsheet_id: The ID of the spreadsheet (found in the URL)
Returns: List of sheet names
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": {
"spreadsheet_id": "<spreadsheet_id>"
},
"name": "list_sheets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |