rename_doc
Rename a Google Doc via the Drive API.
writeGoogle Sheets, Docs & Drive
Call it
In an AI client (MCP)
{
"name": "rename_doc",
"arguments": {
"documentId": "<documentId>",
"newTitle": "<newTitle>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/rename_doc \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"documentId":"<documentId>","newTitle":"<newTitle>"}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
documentIdrequired | string | the Google Docs document ID. |
newTitlerequired | string | New title. |
Result
Every tool answers {notification, data, human_action}; data carries:
- { documentId, title }