get_auto_forwarding
Retrieve auto-forwarding configuration from Gmail to view or verify email forwarding rules and settings.
Instructions
Gets auto-forwarding settings
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:817-826 (handler)The handler and registration for the 'get_auto_forwarding' tool. It calls the Gmail API to get auto-forwarding settings and formats the response.server.tool("get_auto_forwarding", "Gets auto-forwarding settings", {}, async () => { return handleTool(config, async (gmail: gmail_v1.Gmail) => { const { data } = await gmail.users.settings.getAutoForwarding({ userId: 'me' }) return formatResponse(data) }) } )