drive_watch_changes
Subscribe to Google Drive changes and receive push notifications to a specified URL. Use a unique channel ID and page token to track file modifications.
Instructions
Subscribe to changes in Google Drive via push notifications
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": {
"pageToken": "<pageToken>",
"channelId": "<channelId>",
"channelAddress": "<channelAddress>"
},
"name": "drive_watch_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channelId | Yes | A unique string ID for the channel | |
| pageToken | Yes | The token for starting the watch from getStartPageToken | |
| 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 |