update_doc_tab
Rename a tab in a Google Doc by providing the document ID, tab ID, and new title. Organize document structure with a direct API call.
Instructions
Renames a tab in a Google Doc.
Args: user_google_email: User's Google email address document_id: ID of the document to update tab_id: ID of the tab to rename (use inspect_doc_structure to find tab IDs) title: New title for the tab
Returns: str: Confirmation message with document link
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": {
"user_google_email": "<user_google_email>",
"document_id": "<document_id>",
"tab_id": "<tab_id>",
"title": "<title>"
},
"name": "update_doc_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| tab_id | Yes | ||
| document_id | Yes | ||
| user_google_email | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |