drive_watch_file
Subscribe to push notifications for changes to a specific Google Drive file and receive real-time updates at a provided webhook URL.
Instructions
Subscribe to push notifications for changes to a specific Google Drive file
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": {
"fileId": "<fileId>",
"channelId": "<channelId>",
"channelAddress": "<channelAddress>"
},
"name": "drive_watch_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The ID of the file to watch | |
| channelId | Yes | A unique string ID for the channel | |
| channelType | No | The type of delivery mechanism (default: 'web_hook') | |
| channelAddress | Yes | The URL that receives notifications | |
| channelExpiration | No | Channel expiration time as Unix timestamp in milliseconds |