list_attachments_with_safety
List attachments from a Gmail message and assess each file against safety policies to flag risky ones.
Instructions
List attachments for a message and provide policy-based safety assessment for each 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": {
"messageId": "<messageId>"
},
"name": "list_attachments_with_safety"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | The Gmail message ID containing attachments |