# rename_drive_file (https://sellersheetai.com/docs/mcp-api/tools/rename_drive_file)

> Rename a file.

Access: **WRITE** · toolset google_workspace · family null

## Call it

MCP tool call:

```json
{
  "name": "rename_drive_file",
  "arguments": {
    "fileId": "<fileId>",
    "newName": "<newName>"
  }
}
```

Tool API (early access — contact us):

```bash
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>"}'
```

## Arguments

| Name | Type | Required | Description |
|---|---|---|---|
| `fileId` | string | yes | the Drive file ID. |
| `newName` | string | yes | New file name. |

## Result

- `success` — Boolean indicating successful rename.

## Example

- rename_drive_file(fileId="1XYZ...", newName="Updated Report 2026")