gmail_watch_start
Start Gmail push notifications to a Cloud Pub/Sub topic you own for real-time email updates. Renew before expiration to maintain continuous monitoring.
Instructions
Starts Gmail push notifications to a Cloud Pub/Sub topic (users.watch). Requires a topicName you own. Audited. Renew before expiration.
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": {
"topic_name": "<topic_name>"
},
"name": "gmail_watch_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label_ids | No | Labels to watch (default INBOX) | |
| topic_name | Yes | Full Pub/Sub topic, e.g. projects/PROJECT/topics/TOPIC |