listTabs
Lists all tabs in a Google Docs document with their IDs and hierarchy, enabling precise targeting of a specific tab via tabId.
Instructions
Lists all tabs in a document with their IDs and hierarchy. Use the returned tab IDs with other tools' tabId parameter to target a specific tab.
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": {
"documentId": "<documentId>"
},
"name": "listTabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | The document ID — the long string between /d/ and /edit in a Google Docs URL. | |
| includeContent | No | Whether to include a content summary for each tab (character count). |