create_filter
Create Gmail filters automatically from a declarative spec object: define criteria and actions (e.g., add labels), and the tool validates and submits the filter. Forwarding filters are not supported.
Instructions
Create a Gmail filter from a declarative spec object.
spec is {criteria: {...}, action: {...}} (snake_case keys, e.g.
add_label_ids). Validated before submission. forward actions are
rejected over MCP -- create forwarding filters with the CLI instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||