manageGmailSettings
Manage Gmail account settings for IMAP, POP, vacation replies, language, forwarding, delegates, and send-as by selecting a resource and action, with optional payload details.
Instructions
Manage Gmail account settings via a resource/action dispatch. Provide resource, action, and (where the action needs a body or identifier) a payload.
Valid resource → actions:
imap: get, update (payload: { enabled, expungeBehavior?, maxFolderSize? })
pop: get, update (payload: { accessWindow, disposition })
vacation: get, update (payload: { enableAutoReply, responseSubject?, responseBodyPlainText, restrictToContacts?, restrictToDomain?, startTime?, endTime? })
language: get, update (payload: { displayLanguage })
autoForwarding: get, update (payload: { enabled, emailAddress, disposition })
forwardingAddress: list, get/delete (payload: { forwardingEmail }), create (payload: { forwardingEmail })
delegate: list, get/create/delete (payload: { delegateEmail })
sendAs: list, get/delete/verify (payload: { sendAsEmail }), create/patch/update (payload: { sendAsEmail, displayName?, replyToAddress?, signature?, isPrimary?, treatAsAlias? })
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": {
"resource": "<resource>",
"action": "<action>"
},
"name": "manageGmailSettings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The operation to perform (must be valid for the chosen resource) | |
| payload | No | Resource/action-specific fields (request body or identifier). See the description for valid keys per resource. | |
| resource | Yes | The settings resource to operate on |