renameTab
Renames a tab in a Google Docs document; retrieve the tab ID with listDocumentTabs first.
Instructions
Renames a tab in a Google Docs document. Use listDocumentTabs to get tab IDs first.
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>",
"tabId": "<tabId>",
"newTitle": "<newTitle>"
},
"name": "renameTab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | The ID of the tab to rename. Use listDocumentTabs to get tab IDs. | |
| newTitle | Yes | The new title for the tab. | |
| documentId | Yes | The document ID — the long string between /d/ and /edit in a Google Docs URL. | |
| readHandle | No | Capability returned by a previous readDocument call for this document (and tab). Required over HTTP on the 2026-07-28 runtime: it authorizes the write and pins it to the revision that read saw. Omit it on stdio to use that connection's most recent read. |