list_tabs
Discover the tab structure of a Google Doc by listing its tab IDs, titles, nesting, and index. Use this first to obtain the required tab_id before reading or editing any document.
Instructions
List the tabs in a Google Doc.
Use this tool first when you need to read or edit a document but do not yet know its tab structure. Returns tab IDs, titles, nesting level, and index. Required before calling read_document or find_sections because every tool in this server requires an explicit tab_id.
For documents created before Google's tabbed-docs feature, returns a single synthetic tab with id "_body" that covers the whole document.
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": {
"doc_id": "<doc_id>"
},
"name": "list_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||