rename_drive_file
Rename a file.
writeGoogle Sheets, Docs & Drive
Call it
In an AI client (MCP)
{
"name": "rename_drive_file",
"arguments": {
"fileId": "<fileId>",
"newName": "<newName>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/rename_drive_file \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"fileId":"<fileId>","newName":"<newName>"}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
fileIdrequired | string | the Drive file ID. |
newNamerequired | string | New file name. |
Result
Every tool answers {notification, data, human_action}; data carries:
success— Boolean indicating successful rename.
Example
rename_drive_file(fileId="1XYZ...", newName="Updated Report 2026")