{
  "service": "agent_mail",
  "displayName": "AgentMail",
  "categories": [
    "Communication",
    "Productivity"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "am_...",
      "description": "AgentMail API key used with the Authorization Bearer header. Create it in the AgentMail Console API Keys section."
    }
  ],
  "homepageUrl": "https://agentmail.to",
  "actions": [
    {
      "id": "agent_mail.batch_get_messages",
      "service": "agent_mail",
      "name": "batch_get_messages",
      "description": "Fetch multiple messages from a specific AgentMail inbox by message ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "message_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The AgentMail message identifier."
            },
            "description": "Message IDs to fetch.",
            "minItems": 1,
            "maxItems": 500
          }
        },
        "additionalProperties": false,
        "description": "Request payload for fetching multiple AgentMail messages."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when batch-fetching AgentMail messages."
      }
    },
    {
      "id": "agent_mail.create_api_key",
      "service": "agent_mail",
      "name": "create_api_key",
      "description": "Create an AgentMail API key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the API key."
          },
          "permissions": {
            "type": "object",
            "properties": {
              "inbox_read": {
                "type": "boolean",
                "description": "Read inbox details."
              },
              "inbox_create": {
                "type": "boolean",
                "description": "Create new inboxes."
              },
              "inbox_update": {
                "type": "boolean",
                "description": "Update inbox settings."
              },
              "inbox_delete": {
                "type": "boolean",
                "description": "Delete inboxes."
              },
              "thread_read": {
                "type": "boolean",
                "description": "Read threads."
              },
              "thread_delete": {
                "type": "boolean",
                "description": "Delete threads."
              },
              "message_read": {
                "type": "boolean",
                "description": "Read messages."
              },
              "message_send": {
                "type": "boolean",
                "description": "Send messages."
              },
              "message_update": {
                "type": "boolean",
                "description": "Update message labels."
              },
              "label_spam_read": {
                "type": "boolean",
                "description": "Access messages labeled spam."
              },
              "label_blocked_read": {
                "type": "boolean",
                "description": "Access messages labeled blocked."
              },
              "label_trash_read": {
                "type": "boolean",
                "description": "Access messages labeled trash."
              },
              "draft_read": {
                "type": "boolean",
                "description": "Read drafts."
              },
              "draft_create": {
                "type": "boolean",
                "description": "Create drafts."
              },
              "draft_update": {
                "type": "boolean",
                "description": "Update drafts."
              },
              "draft_delete": {
                "type": "boolean",
                "description": "Delete drafts."
              },
              "draft_send": {
                "type": "boolean",
                "description": "Send drafts."
              },
              "webhook_read": {
                "type": "boolean",
                "description": "Read webhook configurations."
              },
              "webhook_create": {
                "type": "boolean",
                "description": "Create webhooks."
              },
              "webhook_update": {
                "type": "boolean",
                "description": "Update webhooks."
              },
              "webhook_delete": {
                "type": "boolean",
                "description": "Delete webhooks."
              },
              "domain_read": {
                "type": "boolean",
                "description": "Read domain details."
              },
              "domain_create": {
                "type": "boolean",
                "description": "Create domains."
              },
              "domain_update": {
                "type": "boolean",
                "description": "Update domains."
              },
              "domain_delete": {
                "type": "boolean",
                "description": "Delete domains."
              },
              "list_entry_read": {
                "type": "boolean",
                "description": "Read list entries."
              },
              "list_entry_create": {
                "type": "boolean",
                "description": "Create list entries."
              },
              "list_entry_delete": {
                "type": "boolean",
                "description": "Delete list entries."
              },
              "metrics_read": {
                "type": "boolean",
                "description": "Read metrics."
              },
              "api_key_read": {
                "type": "boolean",
                "description": "Read API keys."
              },
              "api_key_create": {
                "type": "boolean",
                "description": "Create API keys."
              },
              "api_key_delete": {
                "type": "boolean",
                "description": "Delete API keys."
              },
              "pod_read": {
                "type": "boolean",
                "description": "Read pods."
              },
              "pod_create": {
                "type": "boolean",
                "description": "Create pods."
              },
              "pod_delete": {
                "type": "boolean",
                "description": "Delete pods."
              }
            },
            "additionalProperties": true,
            "description": "Granular AgentMail API key permissions."
          }
        },
        "additionalProperties": false,
        "description": "Request payload for creating an AgentMail API key."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned after creating an AgentMail API key."
      }
    },
    {
      "id": "agent_mail.create_domain",
      "service": "agent_mail",
      "name": "create_domain",
      "description": "Create an AgentMail domain.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string",
            "minLength": 1,
            "description": "Domain name to add to AgentMail."
          },
          "feedback_enabled": {
            "type": "boolean",
            "description": "Whether bounce and complaint notifications are sent to inboxes."
          }
        },
        "additionalProperties": false,
        "description": "Request payload for creating an AgentMail domain."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail domain response."
      }
    },
    {
      "id": "agent_mail.create_draft",
      "service": "agent_mail",
      "name": "create_draft",
      "description": "Create a draft in a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "reply_to": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "to": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "cc": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "bcc": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "subject": {
            "type": "string",
            "minLength": 1,
            "description": "Subject line of the draft."
          },
          "text": {
            "type": "string",
            "description": "Plain text body of the draft."
          },
          "html": {
            "type": "string",
            "description": "HTML body of the draft."
          },
          "attachments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "filename": {
                  "type": "string",
                  "minLength": 1,
                  "description": "File name of the attachment."
                },
                "content_type": {
                  "type": "string",
                  "minLength": 1,
                  "description": "MIME type of the attachment."
                },
                "content_disposition": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Content disposition of the attachment."
                },
                "content_id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Content ID of the attachment."
                },
                "content": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Base64 encoded attachment content."
                },
                "url": {
                  "type": "string",
                  "description": "URL where AgentMail can fetch the attachment.",
                  "format": "uri"
                }
              },
              "additionalProperties": false,
              "description": "Attachment to include in an AgentMail message or draft."
            },
            "description": "Attachments to include in the draft.",
            "minItems": 1
          },
          "in_reply_to": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          },
          "send_at": {
            "type": "string",
            "description": "Time at which AgentMail should schedule the draft to send.",
            "format": "date-time"
          },
          "client_id": {
            "type": "string",
            "minLength": 1,
            "description": "Client-side identifier associated with the draft."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id"
        ],
        "description": "Request payload for creating an AgentMail draft."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail draft response."
      }
    },
    {
      "id": "agent_mail.create_inbox",
      "service": "agent_mail",
      "name": "create_inbox",
      "description": "Create a new AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1,
            "description": "Inbox username. AgentMail generates one when omitted."
          },
          "domain": {
            "type": "string",
            "minLength": 1,
            "description": "Verified domain used by the inbox. Defaults to agentmail.to."
          },
          "display_name": {
            "type": "string",
            "minLength": 1,
            "description": "Display name shown for the inbox."
          },
          "client_id": {
            "type": "string",
            "minLength": 1,
            "description": "Client-side identifier associated with the inbox."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "String metadata value."
                },
                {
                  "type": "number",
                  "description": "Number metadata value."
                },
                {
                  "type": "boolean",
                  "description": "Boolean metadata value."
                }
              ],
              "description": "Metadata value."
            },
            "description": "Custom metadata attached to the inbox."
          }
        },
        "additionalProperties": false,
        "description": "Request payload for creating an AgentMail inbox."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "email": {
            "type": "string",
            "description": "Email address.",
            "format": "email"
          },
          "display_name": {
            "type": "string",
            "description": "Display name shown for the inbox."
          },
          "client_id": {
            "type": "string",
            "description": "Client identifier associated with the inbox."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "String metadata value."
                },
                {
                  "type": "number",
                  "description": "Number metadata value."
                },
                {
                  "type": "boolean",
                  "description": "Boolean metadata value."
                }
              ],
              "description": "Metadata value."
            },
            "description": "Custom metadata attached to the inbox."
          },
          "updated_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": true,
        "description": "AgentMail inbox."
      }
    },
    {
      "id": "agent_mail.create_inbox_api_key",
      "service": "agent_mail",
      "name": "create_inbox_api_key",
      "description": "Create an API key scoped to a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the API key."
          },
          "permissions": {
            "type": "object",
            "properties": {
              "inbox_read": {
                "type": "boolean",
                "description": "Read inbox details."
              },
              "inbox_create": {
                "type": "boolean",
                "description": "Create new inboxes."
              },
              "inbox_update": {
                "type": "boolean",
                "description": "Update inbox settings."
              },
              "inbox_delete": {
                "type": "boolean",
                "description": "Delete inboxes."
              },
              "thread_read": {
                "type": "boolean",
                "description": "Read threads."
              },
              "thread_delete": {
                "type": "boolean",
                "description": "Delete threads."
              },
              "message_read": {
                "type": "boolean",
                "description": "Read messages."
              },
              "message_send": {
                "type": "boolean",
                "description": "Send messages."
              },
              "message_update": {
                "type": "boolean",
                "description": "Update message labels."
              },
              "label_spam_read": {
                "type": "boolean",
                "description": "Access messages labeled spam."
              },
              "label_blocked_read": {
                "type": "boolean",
                "description": "Access messages labeled blocked."
              },
              "label_trash_read": {
                "type": "boolean",
                "description": "Access messages labeled trash."
              },
              "draft_read": {
                "type": "boolean",
                "description": "Read drafts."
              },
              "draft_create": {
                "type": "boolean",
                "description": "Create drafts."
              },
              "draft_update": {
                "type": "boolean",
                "description": "Update drafts."
              },
              "draft_delete": {
                "type": "boolean",
                "description": "Delete drafts."
              },
              "draft_send": {
                "type": "boolean",
                "description": "Send drafts."
              },
              "webhook_read": {
                "type": "boolean",
                "description": "Read webhook configurations."
              },
              "webhook_create": {
                "type": "boolean",
                "description": "Create webhooks."
              },
              "webhook_update": {
                "type": "boolean",
                "description": "Update webhooks."
              },
              "webhook_delete": {
                "type": "boolean",
                "description": "Delete webhooks."
              },
              "domain_read": {
                "type": "boolean",
                "description": "Read domain details."
              },
              "domain_create": {
                "type": "boolean",
                "description": "Create domains."
              },
              "domain_update": {
                "type": "boolean",
                "description": "Update domains."
              },
              "domain_delete": {
                "type": "boolean",
                "description": "Delete domains."
              },
              "list_entry_read": {
                "type": "boolean",
                "description": "Read list entries."
              },
              "list_entry_create": {
                "type": "boolean",
                "description": "Create list entries."
              },
              "list_entry_delete": {
                "type": "boolean",
                "description": "Delete list entries."
              },
              "metrics_read": {
                "type": "boolean",
                "description": "Read metrics."
              },
              "api_key_read": {
                "type": "boolean",
                "description": "Read API keys."
              },
              "api_key_create": {
                "type": "boolean",
                "description": "Create API keys."
              },
              "api_key_delete": {
                "type": "boolean",
                "description": "Delete API keys."
              },
              "pod_read": {
                "type": "boolean",
                "description": "Read pods."
              },
              "pod_create": {
                "type": "boolean",
                "description": "Create pods."
              },
              "pod_delete": {
                "type": "boolean",
                "description": "Delete pods."
              }
            },
            "additionalProperties": true,
            "description": "Granular AgentMail API key permissions."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id"
        ],
        "description": "Request payload for creating an AgentMail inbox API key."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned after creating an AgentMail inbox API key."
      }
    },
    {
      "id": "agent_mail.create_inbox_list_entry",
      "service": "agent_mail",
      "name": "create_inbox_list_entry",
      "description": "Create an allow or block list entry scoped to a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "direction": {
            "type": "string",
            "enum": [
              "send",
              "receive",
              "reply"
            ],
            "description": "Direction of the list entry."
          },
          "type": {
            "type": "string",
            "enum": [
              "allow",
              "block"
            ],
            "description": "Type of list entry."
          },
          "entry": {
            "type": "string",
            "minLength": 1,
            "description": "The email address or domain list entry."
          },
          "reason": {
            "type": "string",
            "description": "Reason for adding the list entry."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id",
          "direction",
          "type",
          "entry"
        ],
        "description": "Request payload for creating an AgentMail inbox list entry."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail inbox list entry response."
      }
    },
    {
      "id": "agent_mail.create_list_entry",
      "service": "agent_mail",
      "name": "create_list_entry",
      "description": "Create a global AgentMail allow or block list entry.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "direction": {
            "type": "string",
            "enum": [
              "send",
              "receive",
              "reply"
            ],
            "description": "Direction of the list entry."
          },
          "type": {
            "type": "string",
            "enum": [
              "allow",
              "block"
            ],
            "description": "Type of list entry."
          },
          "entry": {
            "type": "string",
            "minLength": 1,
            "description": "The email address or domain list entry."
          },
          "reason": {
            "type": "string",
            "description": "Reason for adding the list entry."
          }
        },
        "additionalProperties": false,
        "required": [
          "direction",
          "type",
          "entry"
        ],
        "description": "Request payload for creating an AgentMail list entry."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail list entry response."
      }
    },
    {
      "id": "agent_mail.create_pod",
      "service": "agent_mail",
      "name": "create_pod",
      "description": "Create an AgentMail pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the pod."
          },
          "client_id": {
            "type": "string",
            "minLength": 1,
            "description": "Client-side identifier associated with the pod."
          }
        },
        "additionalProperties": false,
        "description": "Request payload for creating an AgentMail pod."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail pod response."
      }
    },
    {
      "id": "agent_mail.create_pod_api_key",
      "service": "agent_mail",
      "name": "create_pod_api_key",
      "description": "Create an API key scoped to a specific AgentMail pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the API key."
          },
          "permissions": {
            "type": "object",
            "properties": {
              "inbox_read": {
                "type": "boolean",
                "description": "Read inbox details."
              },
              "inbox_create": {
                "type": "boolean",
                "description": "Create new inboxes."
              },
              "inbox_update": {
                "type": "boolean",
                "description": "Update inbox settings."
              },
              "inbox_delete": {
                "type": "boolean",
                "description": "Delete inboxes."
              },
              "thread_read": {
                "type": "boolean",
                "description": "Read threads."
              },
              "thread_delete": {
                "type": "boolean",
                "description": "Delete threads."
              },
              "message_read": {
                "type": "boolean",
                "description": "Read messages."
              },
              "message_send": {
                "type": "boolean",
                "description": "Send messages."
              },
              "message_update": {
                "type": "boolean",
                "description": "Update message labels."
              },
              "label_spam_read": {
                "type": "boolean",
                "description": "Access messages labeled spam."
              },
              "label_blocked_read": {
                "type": "boolean",
                "description": "Access messages labeled blocked."
              },
              "label_trash_read": {
                "type": "boolean",
                "description": "Access messages labeled trash."
              },
              "draft_read": {
                "type": "boolean",
                "description": "Read drafts."
              },
              "draft_create": {
                "type": "boolean",
                "description": "Create drafts."
              },
              "draft_update": {
                "type": "boolean",
                "description": "Update drafts."
              },
              "draft_delete": {
                "type": "boolean",
                "description": "Delete drafts."
              },
              "draft_send": {
                "type": "boolean",
                "description": "Send drafts."
              },
              "webhook_read": {
                "type": "boolean",
                "description": "Read webhook configurations."
              },
              "webhook_create": {
                "type": "boolean",
                "description": "Create webhooks."
              },
              "webhook_update": {
                "type": "boolean",
                "description": "Update webhooks."
              },
              "webhook_delete": {
                "type": "boolean",
                "description": "Delete webhooks."
              },
              "domain_read": {
                "type": "boolean",
                "description": "Read domain details."
              },
              "domain_create": {
                "type": "boolean",
                "description": "Create domains."
              },
              "domain_update": {
                "type": "boolean",
                "description": "Update domains."
              },
              "domain_delete": {
                "type": "boolean",
                "description": "Delete domains."
              },
              "list_entry_read": {
                "type": "boolean",
                "description": "Read list entries."
              },
              "list_entry_create": {
                "type": "boolean",
                "description": "Create list entries."
              },
              "list_entry_delete": {
                "type": "boolean",
                "description": "Delete list entries."
              },
              "metrics_read": {
                "type": "boolean",
                "description": "Read metrics."
              },
              "api_key_read": {
                "type": "boolean",
                "description": "Read API keys."
              },
              "api_key_create": {
                "type": "boolean",
                "description": "Create API keys."
              },
              "api_key_delete": {
                "type": "boolean",
                "description": "Delete API keys."
              },
              "pod_read": {
                "type": "boolean",
                "description": "Read pods."
              },
              "pod_create": {
                "type": "boolean",
                "description": "Create pods."
              },
              "pod_delete": {
                "type": "boolean",
                "description": "Delete pods."
              }
            },
            "additionalProperties": true,
            "description": "Granular AgentMail API key permissions."
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id"
        ],
        "description": "Request payload for creating an AgentMail pod API key."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned after creating an AgentMail pod API key."
      }
    },
    {
      "id": "agent_mail.create_pod_domain",
      "service": "agent_mail",
      "name": "create_pod_domain",
      "description": "Create an AgentMail domain scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "domain": {
            "type": "string",
            "minLength": 1,
            "description": "Domain name to add to AgentMail."
          },
          "feedback_enabled": {
            "type": "boolean",
            "description": "Whether bounce and complaint notifications are sent to inboxes."
          }
        },
        "additionalProperties": false,
        "description": "Request payload for creating an AgentMail pod domain."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail domain response."
      }
    },
    {
      "id": "agent_mail.create_pod_inbox",
      "service": "agent_mail",
      "name": "create_pod_inbox",
      "description": "Create an AgentMail inbox scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "username": {
            "type": "string",
            "minLength": 1,
            "description": "Inbox username. AgentMail generates one when omitted."
          },
          "domain": {
            "type": "string",
            "minLength": 1,
            "description": "Verified domain used by the inbox. Defaults to agentmail.to."
          },
          "display_name": {
            "type": "string",
            "minLength": 1,
            "description": "Display name shown for the inbox."
          },
          "client_id": {
            "type": "string",
            "minLength": 1,
            "description": "Client-side identifier associated with the inbox."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "String metadata value."
                },
                {
                  "type": "number",
                  "description": "Number metadata value."
                },
                {
                  "type": "boolean",
                  "description": "Boolean metadata value."
                }
              ],
              "description": "Metadata value."
            },
            "description": "Custom metadata attached to the inbox."
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id"
        ],
        "description": "Request payload for creating an AgentMail pod inbox."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "email": {
            "type": "string",
            "description": "Email address.",
            "format": "email"
          },
          "display_name": {
            "type": "string",
            "description": "Display name shown for the inbox."
          },
          "client_id": {
            "type": "string",
            "description": "Client identifier associated with the inbox."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "String metadata value."
                },
                {
                  "type": "number",
                  "description": "Number metadata value."
                },
                {
                  "type": "boolean",
                  "description": "Boolean metadata value."
                }
              ],
              "description": "Metadata value."
            },
            "description": "Custom metadata attached to the inbox."
          },
          "updated_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": true,
        "description": "AgentMail inbox."
      }
    },
    {
      "id": "agent_mail.create_pod_list_entry",
      "service": "agent_mail",
      "name": "create_pod_list_entry",
      "description": "Create an AgentMail allow or block list entry scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "direction": {
            "type": "string",
            "enum": [
              "send",
              "receive",
              "reply"
            ],
            "description": "Direction of the list entry."
          },
          "type": {
            "type": "string",
            "enum": [
              "allow",
              "block"
            ],
            "description": "Type of list entry."
          },
          "entry": {
            "type": "string",
            "minLength": 1,
            "description": "The email address or domain list entry."
          },
          "reason": {
            "type": "string",
            "description": "Reason for adding the list entry."
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id",
          "direction",
          "type",
          "entry"
        ],
        "description": "Request payload for creating an AgentMail pod list entry."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail pod list entry response."
      }
    },
    {
      "id": "agent_mail.create_webhook",
      "service": "agent_mail",
      "name": "create_webhook",
      "description": "Create an AgentMail webhook.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Webhook endpoint URL.",
            "format": "uri"
          },
          "event_types": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "message.received",
                "message.received.spam",
                "message.received.blocked",
                "message.received.unauthenticated",
                "message.sent",
                "message.delivered",
                "message.bounced",
                "message.complained",
                "message.rejected",
                "domain.verified"
              ],
              "description": "AgentMail webhook event type."
            },
            "description": "Event types this webhook should receive.",
            "minItems": 1
          },
          "pod_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Pod IDs subscribed to the webhook.",
            "minItems": 1
          },
          "inbox_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Inbox IDs subscribed to the webhook.",
            "minItems": 1
          },
          "client_id": {
            "type": "string",
            "minLength": 1,
            "description": "Client-side identifier associated with the webhook."
          }
        },
        "additionalProperties": false,
        "required": [
          "url",
          "event_types"
        ],
        "description": "Request payload for creating an AgentMail webhook."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail webhook response."
      }
    },
    {
      "id": "agent_mail.delete_api_key",
      "service": "agent_mail",
      "name": "delete_api_key",
      "description": "Delete an AgentMail API key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "api_key_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail API key identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail API key."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "api_key_id": {
            "type": "string",
            "description": "The api_key_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_domain",
      "service": "agent_mail",
      "name": "delete_domain",
      "description": "Delete an AgentMail domain.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "domain_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail domain identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail domain."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "domain_id": {
            "type": "string",
            "description": "The domain_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_draft",
      "service": "agent_mail",
      "name": "delete_draft",
      "description": "Delete a draft from a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "draft_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail draft identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail inbox draft."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "description": "The inbox_id value deleted by AgentMail."
          },
          "draft_id": {
            "type": "string",
            "description": "The draft_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_inbox",
      "service": "agent_mail",
      "name": "delete_inbox",
      "description": "Delete an AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail inbox."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "description": "The inbox_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_inbox_api_key",
      "service": "agent_mail",
      "name": "delete_inbox_api_key",
      "description": "Delete an API key scoped to a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "api_key_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail API key identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail inbox API key."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "description": "The inbox_id value deleted by AgentMail."
          },
          "api_key_id": {
            "type": "string",
            "description": "The api_key_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_inbox_list_entry",
      "service": "agent_mail",
      "name": "delete_inbox_list_entry",
      "description": "Delete an allow or block list entry scoped to a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "direction": {
            "type": "string",
            "enum": [
              "send",
              "receive",
              "reply"
            ],
            "description": "Direction of the list entry."
          },
          "type": {
            "type": "string",
            "enum": [
              "allow",
              "block"
            ],
            "description": "Type of list entry."
          },
          "entry": {
            "type": "string",
            "minLength": 1,
            "description": "The email address or domain list entry."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail inbox list entry."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "description": "The inbox_id value deleted by AgentMail."
          },
          "direction": {
            "type": "string",
            "description": "The direction value deleted by AgentMail."
          },
          "type": {
            "type": "string",
            "description": "The type value deleted by AgentMail."
          },
          "entry": {
            "type": "string",
            "description": "The entry value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_inbox_thread",
      "service": "agent_mail",
      "name": "delete_inbox_thread",
      "description": "Delete a thread from a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          },
          "permanent": {
            "type": "boolean",
            "description": "Whether the thread should be permanently deleted."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id",
          "thread_id"
        ],
        "description": "Path and query parameters for deleting an AgentMail inbox thread."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "description": "The inbox_id value deleted by AgentMail."
          },
          "thread_id": {
            "type": "string",
            "description": "The thread_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_list_entry",
      "service": "agent_mail",
      "name": "delete_list_entry",
      "description": "Delete a global AgentMail allow or block list entry.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "direction": {
            "type": "string",
            "enum": [
              "send",
              "receive",
              "reply"
            ],
            "description": "Direction of the list entry."
          },
          "type": {
            "type": "string",
            "enum": [
              "allow",
              "block"
            ],
            "description": "Type of list entry."
          },
          "entry": {
            "type": "string",
            "minLength": 1,
            "description": "The email address or domain list entry."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail list entry."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "direction": {
            "type": "string",
            "description": "The direction value deleted by AgentMail."
          },
          "type": {
            "type": "string",
            "description": "The type value deleted by AgentMail."
          },
          "entry": {
            "type": "string",
            "description": "The entry value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_pod",
      "service": "agent_mail",
      "name": "delete_pod",
      "description": "Delete an AgentMail pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail pod."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "description": "The pod_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_pod_api_key",
      "service": "agent_mail",
      "name": "delete_pod_api_key",
      "description": "Delete an API key scoped to a specific AgentMail pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "api_key_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail API key identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail pod API key."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "description": "The pod_id value deleted by AgentMail."
          },
          "api_key_id": {
            "type": "string",
            "description": "The api_key_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_pod_domain",
      "service": "agent_mail",
      "name": "delete_pod_domain",
      "description": "Delete an AgentMail domain scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "domain_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail domain identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail pod domain."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "description": "The pod_id value deleted by AgentMail."
          },
          "domain_id": {
            "type": "string",
            "description": "The domain_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_pod_inbox",
      "service": "agent_mail",
      "name": "delete_pod_inbox",
      "description": "Delete an AgentMail inbox scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail pod inbox."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "description": "The pod_id value deleted by AgentMail."
          },
          "inbox_id": {
            "type": "string",
            "description": "The inbox_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_pod_list_entry",
      "service": "agent_mail",
      "name": "delete_pod_list_entry",
      "description": "Delete an AgentMail allow or block list entry scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "direction": {
            "type": "string",
            "enum": [
              "send",
              "receive",
              "reply"
            ],
            "description": "Direction of the list entry."
          },
          "type": {
            "type": "string",
            "enum": [
              "allow",
              "block"
            ],
            "description": "Type of list entry."
          },
          "entry": {
            "type": "string",
            "minLength": 1,
            "description": "The email address or domain list entry."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail pod list entry."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "description": "The pod_id value deleted by AgentMail."
          },
          "direction": {
            "type": "string",
            "description": "The direction value deleted by AgentMail."
          },
          "type": {
            "type": "string",
            "description": "The type value deleted by AgentMail."
          },
          "entry": {
            "type": "string",
            "description": "The entry value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_pod_thread",
      "service": "agent_mail",
      "name": "delete_pod_thread",
      "description": "Delete an AgentMail thread scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          },
          "permanent": {
            "type": "boolean",
            "description": "Whether the thread should be permanently deleted."
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id",
          "thread_id"
        ],
        "description": "Path and query parameters for deleting an AgentMail pod thread."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "description": "The pod_id value deleted by AgentMail."
          },
          "thread_id": {
            "type": "string",
            "description": "The thread_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_thread",
      "service": "agent_mail",
      "name": "delete_thread",
      "description": "Delete an AgentMail thread.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          },
          "permanent": {
            "type": "boolean",
            "description": "Whether the thread should be permanently deleted."
          }
        },
        "additionalProperties": false,
        "required": [
          "thread_id"
        ],
        "description": "Path and query parameters for deleting an AgentMail thread."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "thread_id": {
            "type": "string",
            "description": "The thread_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.delete_webhook",
      "service": "agent_mail",
      "name": "delete_webhook",
      "description": "Delete an AgentMail webhook.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "webhook_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail webhook identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for deleting an AgentMail webhook."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "webhook_id": {
            "type": "string",
            "description": "The webhook_id value deleted by AgentMail."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether AgentMail accepted the delete request."
          }
        },
        "additionalProperties": false,
        "description": "Connector-normalized response returned after AgentMail accepts a delete request."
      }
    },
    {
      "id": "agent_mail.forward_message",
      "service": "agent_mail",
      "name": "forward_message",
      "description": "Forward a specific AgentMail message.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "reply_to": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "to": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "cc": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "bcc": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "subject": {
            "type": "string",
            "minLength": 1,
            "description": "Subject line of the forwarded message."
          },
          "text": {
            "type": "string",
            "description": "Plain text body of the forwarded message."
          },
          "html": {
            "type": "string",
            "description": "HTML body of the forwarded message."
          },
          "attachments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "filename": {
                  "type": "string",
                  "minLength": 1,
                  "description": "File name of the attachment."
                },
                "content_type": {
                  "type": "string",
                  "minLength": 1,
                  "description": "MIME type of the attachment."
                },
                "content_disposition": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Content disposition of the attachment."
                },
                "content_id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Content ID of the attachment."
                },
                "content": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Base64 encoded attachment content."
                },
                "url": {
                  "type": "string",
                  "description": "URL where AgentMail can fetch the attachment.",
                  "format": "uri"
                }
              },
              "additionalProperties": false,
              "description": "Attachment to include in an AgentMail message or draft."
            },
            "description": "Attachments to include in the forwarded message.",
            "minItems": 1
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "Header value."
            },
            "description": "Custom message headers to include in the outbound message."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id",
          "message_id"
        ],
        "description": "Request payload for forwarding an AgentMail message."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          }
        },
        "additionalProperties": false,
        "description": "Response returned after sending an AgentMail message."
      }
    },
    {
      "id": "agent_mail.get_domain",
      "service": "agent_mail",
      "name": "get_domain",
      "description": "Get a single AgentMail domain.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "domain_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail domain identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail domain."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail domain response."
      }
    },
    {
      "id": "agent_mail.get_domain_zone_file",
      "service": "agent_mail",
      "name": "get_domain_zone_file",
      "description": "Get the DNS zone file records needed for an AgentMail domain.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "domain_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail domain identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail domain zone file."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail domain zone file response."
      }
    },
    {
      "id": "agent_mail.get_draft",
      "service": "agent_mail",
      "name": "get_draft",
      "description": "Get a draft from a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "draft_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail draft identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail inbox draft."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail draft response."
      }
    },
    {
      "id": "agent_mail.get_draft_attachment",
      "service": "agent_mail",
      "name": "get_draft_attachment",
      "description": "Get metadata and download URL for an attachment on a specific AgentMail draft.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "draft_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail draft identifier."
          },
          "attachment_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail attachment identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail draft attachment."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "attachment_id": {
            "type": "string",
            "description": "Unique identifier of the attachment."
          },
          "filename": {
            "type": "string",
            "description": "File name of the attachment."
          },
          "size": {
            "type": "integer",
            "description": "Attachment size in bytes."
          },
          "content_type": {
            "type": "string",
            "description": "MIME type of the attachment."
          },
          "content_disposition": {
            "type": "string",
            "description": "Content disposition of the attachment."
          },
          "content_id": {
            "type": "string",
            "description": "Content ID of the attachment."
          },
          "inline": {
            "type": "boolean",
            "description": "Whether the attachment is inline."
          },
          "download_url": {
            "type": "string",
            "description": "URL used to download the attachment.",
            "format": "uri"
          },
          "expires_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "attachment_id",
          "size"
        ],
        "description": "AgentMail attachment metadata."
      }
    },
    {
      "id": "agent_mail.get_global_draft",
      "service": "agent_mail",
      "name": "get_global_draft",
      "description": "Get a single AgentMail draft across accessible inboxes.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "draft_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail draft identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail draft."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail draft response."
      }
    },
    {
      "id": "agent_mail.get_global_draft_attachment",
      "service": "agent_mail",
      "name": "get_global_draft_attachment",
      "description": "Get metadata and download URL for an attachment on an AgentMail draft.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "draft_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail draft identifier."
          },
          "attachment_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail attachment identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail draft attachment."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "attachment_id": {
            "type": "string",
            "description": "Unique identifier of the attachment."
          },
          "filename": {
            "type": "string",
            "description": "File name of the attachment."
          },
          "size": {
            "type": "integer",
            "description": "Attachment size in bytes."
          },
          "content_type": {
            "type": "string",
            "description": "MIME type of the attachment."
          },
          "content_disposition": {
            "type": "string",
            "description": "Content disposition of the attachment."
          },
          "content_id": {
            "type": "string",
            "description": "Content ID of the attachment."
          },
          "inline": {
            "type": "boolean",
            "description": "Whether the attachment is inline."
          },
          "download_url": {
            "type": "string",
            "description": "URL used to download the attachment.",
            "format": "uri"
          },
          "expires_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "attachment_id",
          "size"
        ],
        "description": "AgentMail attachment metadata."
      }
    },
    {
      "id": "agent_mail.get_inbox",
      "service": "agent_mail",
      "name": "get_inbox",
      "description": "Get a single AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching a single AgentMail inbox."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "email": {
            "type": "string",
            "description": "Email address.",
            "format": "email"
          },
          "display_name": {
            "type": "string",
            "description": "Display name shown for the inbox."
          },
          "client_id": {
            "type": "string",
            "description": "Client identifier associated with the inbox."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "String metadata value."
                },
                {
                  "type": "number",
                  "description": "Number metadata value."
                },
                {
                  "type": "boolean",
                  "description": "Boolean metadata value."
                }
              ],
              "description": "Metadata value."
            },
            "description": "Custom metadata attached to the inbox."
          },
          "updated_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": true,
        "description": "AgentMail inbox."
      }
    },
    {
      "id": "agent_mail.get_inbox_list_entry",
      "service": "agent_mail",
      "name": "get_inbox_list_entry",
      "description": "Get an allow or block list entry scoped to a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "direction": {
            "type": "string",
            "enum": [
              "send",
              "receive",
              "reply"
            ],
            "description": "Direction of the list entry."
          },
          "type": {
            "type": "string",
            "enum": [
              "allow",
              "block"
            ],
            "description": "Type of list entry."
          },
          "entry": {
            "type": "string",
            "minLength": 1,
            "description": "The email address or domain list entry."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail inbox list entry."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail inbox list entry response."
      }
    },
    {
      "id": "agent_mail.get_inbox_thread",
      "service": "agent_mail",
      "name": "get_inbox_thread",
      "description": "Get a single thread from a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail inbox thread."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail thread response."
      }
    },
    {
      "id": "agent_mail.get_inbox_thread_attachment",
      "service": "agent_mail",
      "name": "get_inbox_thread_attachment",
      "description": "Get metadata and download URL for an attachment in an AgentMail inbox thread.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          },
          "attachment_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail attachment identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail inbox thread attachment."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "attachment_id": {
            "type": "string",
            "description": "Unique identifier of the attachment."
          },
          "filename": {
            "type": "string",
            "description": "File name of the attachment."
          },
          "size": {
            "type": "integer",
            "description": "Attachment size in bytes."
          },
          "content_type": {
            "type": "string",
            "description": "MIME type of the attachment."
          },
          "content_disposition": {
            "type": "string",
            "description": "Content disposition of the attachment."
          },
          "content_id": {
            "type": "string",
            "description": "Content ID of the attachment."
          },
          "inline": {
            "type": "boolean",
            "description": "Whether the attachment is inline."
          },
          "download_url": {
            "type": "string",
            "description": "URL used to download the attachment.",
            "format": "uri"
          },
          "expires_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "attachment_id",
          "size"
        ],
        "description": "AgentMail attachment metadata."
      }
    },
    {
      "id": "agent_mail.get_list_entry",
      "service": "agent_mail",
      "name": "get_list_entry",
      "description": "Get a global AgentMail allow or block list entry.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "direction": {
            "type": "string",
            "enum": [
              "send",
              "receive",
              "reply"
            ],
            "description": "Direction of the list entry."
          },
          "type": {
            "type": "string",
            "enum": [
              "allow",
              "block"
            ],
            "description": "Type of list entry."
          },
          "entry": {
            "type": "string",
            "minLength": 1,
            "description": "The email address or domain list entry."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail list entry."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail list entry response."
      }
    },
    {
      "id": "agent_mail.get_message",
      "service": "agent_mail",
      "name": "get_message",
      "description": "Get a single message from a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching a single AgentMail message."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          },
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels applied to the message.",
            "minItems": 1
          },
          "timestamp": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          },
          "from": {
            "type": "string",
            "description": "Sender address of the message."
          },
          "to": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Recipient email addresses.",
            "minItems": 1
          },
          "cc": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "CC recipient email addresses.",
            "minItems": 1
          },
          "bcc": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "BCC recipient email addresses.",
            "minItems": 1
          },
          "subject": {
            "type": "string",
            "description": "Subject line of the message."
          },
          "text": {
            "type": "string",
            "description": "Plain text body of the message."
          },
          "html": {
            "type": "string",
            "description": "HTML body of the message."
          },
          "preview": {
            "type": "string",
            "description": "Short text preview of the message."
          },
          "attachments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "attachment_id": {
                  "type": "string",
                  "description": "Unique identifier of the attachment."
                },
                "filename": {
                  "type": "string",
                  "description": "File name of the attachment."
                },
                "size": {
                  "type": "integer",
                  "description": "Attachment size in bytes."
                },
                "content_type": {
                  "type": "string",
                  "description": "MIME type of the attachment."
                },
                "content_disposition": {
                  "type": "string",
                  "description": "Content disposition of the attachment."
                },
                "content_id": {
                  "type": "string",
                  "description": "Content ID of the attachment."
                },
                "inline": {
                  "type": "boolean",
                  "description": "Whether the attachment is inline."
                },
                "download_url": {
                  "type": "string",
                  "description": "URL used to download the attachment.",
                  "format": "uri"
                },
                "expires_at": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 format.",
                  "format": "date-time"
                }
              },
              "additionalProperties": false,
              "required": [
                "attachment_id",
                "size"
              ],
              "description": "AgentMail attachment metadata."
            },
            "description": "Attachments included in the message."
          },
          "updated_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": true,
        "description": "AgentMail message."
      }
    },
    {
      "id": "agent_mail.get_message_attachment",
      "service": "agent_mail",
      "name": "get_message_attachment",
      "description": "Get metadata and download URL for an attachment on a specific AgentMail message.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          },
          "attachment_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail attachment identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail message attachment."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "attachment_id": {
            "type": "string",
            "description": "Unique identifier of the attachment."
          },
          "filename": {
            "type": "string",
            "description": "File name of the attachment."
          },
          "size": {
            "type": "integer",
            "description": "Attachment size in bytes."
          },
          "content_type": {
            "type": "string",
            "description": "MIME type of the attachment."
          },
          "content_disposition": {
            "type": "string",
            "description": "Content disposition of the attachment."
          },
          "content_id": {
            "type": "string",
            "description": "Content ID of the attachment."
          },
          "inline": {
            "type": "boolean",
            "description": "Whether the attachment is inline."
          },
          "download_url": {
            "type": "string",
            "description": "URL used to download the attachment.",
            "format": "uri"
          },
          "expires_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "attachment_id",
          "size"
        ],
        "description": "AgentMail attachment metadata."
      }
    },
    {
      "id": "agent_mail.get_organization",
      "service": "agent_mail",
      "name": "get_organization",
      "description": "Get the AgentMail organization available to the current API key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "No input is required."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail organization response."
      }
    },
    {
      "id": "agent_mail.get_pod",
      "service": "agent_mail",
      "name": "get_pod",
      "description": "Get a single AgentMail pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail pod."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail pod response."
      }
    },
    {
      "id": "agent_mail.get_pod_domain",
      "service": "agent_mail",
      "name": "get_pod_domain",
      "description": "Get a single AgentMail domain scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "domain_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail domain identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail pod domain."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail domain response."
      }
    },
    {
      "id": "agent_mail.get_pod_domain_zone_file",
      "service": "agent_mail",
      "name": "get_pod_domain_zone_file",
      "description": "Get the DNS zone file records needed for an AgentMail pod domain.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "domain_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail domain identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail pod domain zone file."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail domain zone file response."
      }
    },
    {
      "id": "agent_mail.get_pod_draft",
      "service": "agent_mail",
      "name": "get_pod_draft",
      "description": "Get a single AgentMail draft scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "draft_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail draft identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail pod draft."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail draft response."
      }
    },
    {
      "id": "agent_mail.get_pod_draft_attachment",
      "service": "agent_mail",
      "name": "get_pod_draft_attachment",
      "description": "Get metadata and download URL for an attachment on an AgentMail pod draft.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "draft_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail draft identifier."
          },
          "attachment_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail attachment identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail pod draft attachment."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "attachment_id": {
            "type": "string",
            "description": "Unique identifier of the attachment."
          },
          "filename": {
            "type": "string",
            "description": "File name of the attachment."
          },
          "size": {
            "type": "integer",
            "description": "Attachment size in bytes."
          },
          "content_type": {
            "type": "string",
            "description": "MIME type of the attachment."
          },
          "content_disposition": {
            "type": "string",
            "description": "Content disposition of the attachment."
          },
          "content_id": {
            "type": "string",
            "description": "Content ID of the attachment."
          },
          "inline": {
            "type": "boolean",
            "description": "Whether the attachment is inline."
          },
          "download_url": {
            "type": "string",
            "description": "URL used to download the attachment.",
            "format": "uri"
          },
          "expires_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "attachment_id",
          "size"
        ],
        "description": "AgentMail attachment metadata."
      }
    },
    {
      "id": "agent_mail.get_pod_inbox",
      "service": "agent_mail",
      "name": "get_pod_inbox",
      "description": "Get a single AgentMail inbox scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail pod inbox."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "email": {
            "type": "string",
            "description": "Email address.",
            "format": "email"
          },
          "display_name": {
            "type": "string",
            "description": "Display name shown for the inbox."
          },
          "client_id": {
            "type": "string",
            "description": "Client identifier associated with the inbox."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "String metadata value."
                },
                {
                  "type": "number",
                  "description": "Number metadata value."
                },
                {
                  "type": "boolean",
                  "description": "Boolean metadata value."
                }
              ],
              "description": "Metadata value."
            },
            "description": "Custom metadata attached to the inbox."
          },
          "updated_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": true,
        "description": "AgentMail inbox."
      }
    },
    {
      "id": "agent_mail.get_pod_list_entry",
      "service": "agent_mail",
      "name": "get_pod_list_entry",
      "description": "Get an AgentMail allow or block list entry scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "direction": {
            "type": "string",
            "enum": [
              "send",
              "receive",
              "reply"
            ],
            "description": "Direction of the list entry."
          },
          "type": {
            "type": "string",
            "enum": [
              "allow",
              "block"
            ],
            "description": "Type of list entry."
          },
          "entry": {
            "type": "string",
            "minLength": 1,
            "description": "The email address or domain list entry."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail pod list entry."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail pod list entry response."
      }
    },
    {
      "id": "agent_mail.get_pod_thread",
      "service": "agent_mail",
      "name": "get_pod_thread",
      "description": "Get a single AgentMail thread scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail pod thread."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail thread response."
      }
    },
    {
      "id": "agent_mail.get_pod_thread_attachment",
      "service": "agent_mail",
      "name": "get_pod_thread_attachment",
      "description": "Get metadata and download URL for an attachment in an AgentMail pod thread.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          },
          "attachment_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail attachment identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail pod thread attachment."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "attachment_id": {
            "type": "string",
            "description": "Unique identifier of the attachment."
          },
          "filename": {
            "type": "string",
            "description": "File name of the attachment."
          },
          "size": {
            "type": "integer",
            "description": "Attachment size in bytes."
          },
          "content_type": {
            "type": "string",
            "description": "MIME type of the attachment."
          },
          "content_disposition": {
            "type": "string",
            "description": "Content disposition of the attachment."
          },
          "content_id": {
            "type": "string",
            "description": "Content ID of the attachment."
          },
          "inline": {
            "type": "boolean",
            "description": "Whether the attachment is inline."
          },
          "download_url": {
            "type": "string",
            "description": "URL used to download the attachment.",
            "format": "uri"
          },
          "expires_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "attachment_id",
          "size"
        ],
        "description": "AgentMail attachment metadata."
      }
    },
    {
      "id": "agent_mail.get_raw_message",
      "service": "agent_mail",
      "name": "get_raw_message",
      "description": "Get a presigned download URL for the raw EML version of an AgentMail message.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching a raw AgentMail message download URL."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          },
          "size": {
            "type": "integer",
            "description": "Size of the raw message in bytes."
          },
          "download_url": {
            "type": "string",
            "description": "Presigned URL used to download the raw message.",
            "format": "uri"
          },
          "expires_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Raw AgentMail message download response."
      }
    },
    {
      "id": "agent_mail.get_thread",
      "service": "agent_mail",
      "name": "get_thread",
      "description": "Get a single AgentMail thread.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail thread."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail thread response."
      }
    },
    {
      "id": "agent_mail.get_thread_attachment",
      "service": "agent_mail",
      "name": "get_thread_attachment",
      "description": "Get metadata and download URL for an attachment in an AgentMail thread.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          },
          "attachment_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail attachment identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail thread attachment."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "attachment_id": {
            "type": "string",
            "description": "Unique identifier of the attachment."
          },
          "filename": {
            "type": "string",
            "description": "File name of the attachment."
          },
          "size": {
            "type": "integer",
            "description": "Attachment size in bytes."
          },
          "content_type": {
            "type": "string",
            "description": "MIME type of the attachment."
          },
          "content_disposition": {
            "type": "string",
            "description": "Content disposition of the attachment."
          },
          "content_id": {
            "type": "string",
            "description": "Content ID of the attachment."
          },
          "inline": {
            "type": "boolean",
            "description": "Whether the attachment is inline."
          },
          "download_url": {
            "type": "string",
            "description": "URL used to download the attachment.",
            "format": "uri"
          },
          "expires_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "attachment_id",
          "size"
        ],
        "description": "AgentMail attachment metadata."
      }
    },
    {
      "id": "agent_mail.get_webhook",
      "service": "agent_mail",
      "name": "get_webhook",
      "description": "Get a single AgentMail webhook.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "webhook_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail webhook identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for fetching an AgentMail webhook."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail webhook response."
      }
    },
    {
      "id": "agent_mail.list_api_keys",
      "service": "agent_mail",
      "name": "list_api_keys",
      "description": "List AgentMail API keys.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          }
        },
        "additionalProperties": false,
        "description": "Query parameters for listing AgentMail API keys."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail API keys."
      }
    },
    {
      "id": "agent_mail.list_domains",
      "service": "agent_mail",
      "name": "list_domains",
      "description": "List AgentMail domains.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          }
        },
        "additionalProperties": false,
        "description": "Query parameters for listing AgentMail domains."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail domains."
      }
    },
    {
      "id": "agent_mail.list_drafts",
      "service": "agent_mail",
      "name": "list_drafts",
      "description": "List drafts from a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "before": {
            "type": "string",
            "description": "Only include records before this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "after": {
            "type": "string",
            "description": "Only include records after this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id"
        ],
        "description": "Query parameters for listing AgentMail inbox drafts."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail inbox drafts."
      }
    },
    {
      "id": "agent_mail.list_global_drafts",
      "service": "agent_mail",
      "name": "list_global_drafts",
      "description": "List AgentMail drafts across accessible inboxes.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "before": {
            "type": "string",
            "description": "Only include records before this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "after": {
            "type": "string",
            "description": "Only include records after this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          }
        },
        "additionalProperties": false,
        "description": "Query parameters for listing AgentMail drafts."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail drafts."
      }
    },
    {
      "id": "agent_mail.list_inbox_api_keys",
      "service": "agent_mail",
      "name": "list_inbox_api_keys",
      "description": "List API keys scoped to a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id"
        ],
        "description": "Query parameters for listing AgentMail inbox API keys."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail inbox API keys."
      }
    },
    {
      "id": "agent_mail.list_inbox_events",
      "service": "agent_mail",
      "name": "list_inbox_events",
      "description": "List events scoped to a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id"
        ],
        "description": "Query parameters for listing AgentMail inbox events."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail inbox events."
      }
    },
    {
      "id": "agent_mail.list_inbox_list_entries",
      "service": "agent_mail",
      "name": "list_inbox_list_entries",
      "description": "List allow or block entries scoped to a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "direction": {
            "type": "string",
            "enum": [
              "send",
              "receive",
              "reply"
            ],
            "description": "Direction of the list entry."
          },
          "type": {
            "type": "string",
            "enum": [
              "allow",
              "block"
            ],
            "description": "Type of list entry."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id",
          "direction",
          "type"
        ],
        "description": "Query parameters for listing AgentMail inbox list entries."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail inbox list entries."
      }
    },
    {
      "id": "agent_mail.list_inbox_threads",
      "service": "agent_mail",
      "name": "list_inbox_threads",
      "description": "List threads in a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "before": {
            "type": "string",
            "description": "Only include records before this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "after": {
            "type": "string",
            "description": "Only include records after this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          },
          "include_spam": {
            "type": "boolean",
            "description": "Whether spam threads should be included in the result."
          },
          "include_blocked": {
            "type": "boolean",
            "description": "Whether blocked threads should be included in the result."
          },
          "include_unauthenticated": {
            "type": "boolean",
            "description": "Whether unauthenticated threads should be included in the result."
          },
          "include_trash": {
            "type": "boolean",
            "description": "Whether trash threads should be included in the result."
          },
          "senders": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Sender addresses used to filter threads.",
            "minItems": 1
          },
          "recipients": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Recipient addresses used to filter threads.",
            "minItems": 1
          },
          "subject": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Subject filters used by AgentMail.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id"
        ],
        "description": "Query parameters for listing AgentMail inbox threads."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail inbox threads."
      }
    },
    {
      "id": "agent_mail.list_inboxes",
      "service": "agent_mail",
      "name": "list_inboxes",
      "description": "List inboxes available to the current AgentMail API key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          }
        },
        "additionalProperties": false,
        "description": "Query parameters for listing AgentMail inboxes."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail inboxes."
      }
    },
    {
      "id": "agent_mail.list_list_entries",
      "service": "agent_mail",
      "name": "list_list_entries",
      "description": "List global AgentMail allow or block entries.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "direction": {
            "type": "string",
            "enum": [
              "send",
              "receive",
              "reply"
            ],
            "description": "Direction of the list entry."
          },
          "type": {
            "type": "string",
            "enum": [
              "allow",
              "block"
            ],
            "description": "Type of list entry."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          }
        },
        "additionalProperties": false,
        "required": [
          "direction",
          "type"
        ],
        "description": "Query parameters for listing AgentMail list entries."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail list entries."
      }
    },
    {
      "id": "agent_mail.list_messages",
      "service": "agent_mail",
      "name": "list_messages",
      "description": "List messages from a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "before": {
            "type": "string",
            "description": "Only include records before this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "after": {
            "type": "string",
            "description": "Only include records after this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          },
          "include_spam": {
            "type": "boolean",
            "description": "Whether spam messages should be included in the result."
          },
          "include_blocked": {
            "type": "boolean",
            "description": "Whether blocked messages should be included in the result."
          },
          "include_unauthenticated": {
            "type": "boolean",
            "description": "Whether unauthenticated messages should be included in the result."
          },
          "include_trash": {
            "type": "boolean",
            "description": "Whether trash messages should be included in the result."
          },
          "from": {
            "type": "string",
            "minLength": 1,
            "description": "Sender address used to filter messages."
          },
          "to": {
            "type": "string",
            "minLength": 1,
            "description": "Recipient address used to filter messages."
          },
          "subject": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Subject filters used by AgentMail.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id"
        ],
        "description": "Query parameters for listing AgentMail messages."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail messages."
      }
    },
    {
      "id": "agent_mail.list_pod_api_keys",
      "service": "agent_mail",
      "name": "list_pod_api_keys",
      "description": "List AgentMail API keys scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id"
        ],
        "description": "Query parameters for listing AgentMail pod API keys."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail pod API keys."
      }
    },
    {
      "id": "agent_mail.list_pod_domains",
      "service": "agent_mail",
      "name": "list_pod_domains",
      "description": "List AgentMail domains scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id"
        ],
        "description": "Query parameters for listing AgentMail pod domains."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail pod domains."
      }
    },
    {
      "id": "agent_mail.list_pod_drafts",
      "service": "agent_mail",
      "name": "list_pod_drafts",
      "description": "List AgentMail drafts scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "before": {
            "type": "string",
            "description": "Only include records before this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "after": {
            "type": "string",
            "description": "Only include records after this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id"
        ],
        "description": "Query parameters for listing AgentMail pod drafts."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail pod drafts."
      }
    },
    {
      "id": "agent_mail.list_pod_inboxes",
      "service": "agent_mail",
      "name": "list_pod_inboxes",
      "description": "List AgentMail inboxes scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id"
        ],
        "description": "Query parameters for listing AgentMail pod inboxes."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail pod inboxes."
      }
    },
    {
      "id": "agent_mail.list_pod_list_entries",
      "service": "agent_mail",
      "name": "list_pod_list_entries",
      "description": "List AgentMail allow or block entries scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "direction": {
            "type": "string",
            "enum": [
              "send",
              "receive",
              "reply"
            ],
            "description": "Direction of the list entry."
          },
          "type": {
            "type": "string",
            "enum": [
              "allow",
              "block"
            ],
            "description": "Type of list entry."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id",
          "direction",
          "type"
        ],
        "description": "Query parameters for listing AgentMail pod list entries."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail pod list entries."
      }
    },
    {
      "id": "agent_mail.list_pod_threads",
      "service": "agent_mail",
      "name": "list_pod_threads",
      "description": "List AgentMail threads scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "before": {
            "type": "string",
            "description": "Only include records before this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "after": {
            "type": "string",
            "description": "Only include records after this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          },
          "include_spam": {
            "type": "boolean",
            "description": "Whether spam threads should be included in the result."
          },
          "include_blocked": {
            "type": "boolean",
            "description": "Whether blocked threads should be included in the result."
          },
          "include_unauthenticated": {
            "type": "boolean",
            "description": "Whether unauthenticated threads should be included in the result."
          },
          "include_trash": {
            "type": "boolean",
            "description": "Whether trash threads should be included in the result."
          },
          "senders": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Sender addresses used to filter threads.",
            "minItems": 1
          },
          "recipients": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Recipient addresses used to filter threads.",
            "minItems": 1
          },
          "subject": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Subject filters used by AgentMail.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id"
        ],
        "description": "Query parameters for listing AgentMail pod threads."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail pod threads."
      }
    },
    {
      "id": "agent_mail.list_pods",
      "service": "agent_mail",
      "name": "list_pods",
      "description": "List AgentMail pods.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          }
        },
        "additionalProperties": false,
        "description": "Query parameters for listing AgentMail pods."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail pods."
      }
    },
    {
      "id": "agent_mail.list_threads",
      "service": "agent_mail",
      "name": "list_threads",
      "description": "List AgentMail threads across accessible inboxes.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "before": {
            "type": "string",
            "description": "Only include records before this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "after": {
            "type": "string",
            "description": "Only include records after this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          },
          "include_spam": {
            "type": "boolean",
            "description": "Whether spam threads should be included in the result."
          },
          "include_blocked": {
            "type": "boolean",
            "description": "Whether blocked threads should be included in the result."
          },
          "include_unauthenticated": {
            "type": "boolean",
            "description": "Whether unauthenticated threads should be included in the result."
          },
          "include_trash": {
            "type": "boolean",
            "description": "Whether trash threads should be included in the result."
          },
          "senders": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Sender addresses used to filter threads.",
            "minItems": 1
          },
          "recipients": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Recipient addresses used to filter threads.",
            "minItems": 1
          },
          "subject": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Subject filters used by AgentMail.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "description": "Query parameters for listing AgentMail threads."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail threads."
      }
    },
    {
      "id": "agent_mail.list_webhooks",
      "service": "agent_mail",
      "name": "list_webhooks",
      "description": "List AgentMail webhooks.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "ascending": {
            "type": "boolean",
            "description": "Whether results should be sorted in ascending timestamp order."
          }
        },
        "additionalProperties": false,
        "description": "Query parameters for listing AgentMail webhooks."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when listing AgentMail webhooks."
      }
    },
    {
      "id": "agent_mail.query_inbox_metrics",
      "service": "agent_mail",
      "name": "query_inbox_metrics",
      "description": "Query AgentMail metrics scoped to a specific inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "event_types": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "message.sent",
                "message.delivered",
                "message.bounced",
                "message.delayed",
                "message.rejected",
                "message.complained",
                "message.received"
              ],
              "description": "AgentMail metric event type."
            },
            "description": "Metric event types to query.",
            "minItems": 1
          },
          "start": {
            "type": "string",
            "description": "Start timestamp for the metrics query.",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "description": "End timestamp for the metrics query.",
            "format": "date-time"
          },
          "period": {
            "type": "integer",
            "minimum": 1,
            "description": "Period in seconds for each metrics bucket."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "descending": {
            "type": "boolean",
            "description": "Whether metrics should be sorted in descending timestamp order."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id"
        ],
        "description": "Query parameters for AgentMail inbox metrics."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail metrics response."
      }
    },
    {
      "id": "agent_mail.query_metrics",
      "service": "agent_mail",
      "name": "query_metrics",
      "description": "Query AgentMail metrics across accessible resources.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "event_types": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "message.sent",
                "message.delivered",
                "message.bounced",
                "message.delayed",
                "message.rejected",
                "message.complained",
                "message.received"
              ],
              "description": "AgentMail metric event type."
            },
            "description": "Metric event types to query.",
            "minItems": 1
          },
          "start": {
            "type": "string",
            "description": "Start timestamp for the metrics query.",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "description": "End timestamp for the metrics query.",
            "format": "date-time"
          },
          "period": {
            "type": "integer",
            "minimum": 1,
            "description": "Period in seconds for each metrics bucket."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "descending": {
            "type": "boolean",
            "description": "Whether metrics should be sorted in descending timestamp order."
          }
        },
        "additionalProperties": false,
        "description": "Query parameters for AgentMail metrics."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail metrics response."
      }
    },
    {
      "id": "agent_mail.query_pod_metrics",
      "service": "agent_mail",
      "name": "query_pod_metrics",
      "description": "Query AgentMail metrics scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "event_types": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "message.sent",
                "message.delivered",
                "message.bounced",
                "message.delayed",
                "message.rejected",
                "message.complained",
                "message.received"
              ],
              "description": "AgentMail metric event type."
            },
            "description": "Metric event types to query.",
            "minItems": 1
          },
          "start": {
            "type": "string",
            "description": "Start timestamp for the metrics query.",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "description": "End timestamp for the metrics query.",
            "format": "date-time"
          },
          "period": {
            "type": "integer",
            "minimum": 1,
            "description": "Period in seconds for each metrics bucket."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "descending": {
            "type": "boolean",
            "description": "Whether metrics should be sorted in descending timestamp order."
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id"
        ],
        "description": "Query parameters for AgentMail pod metrics."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail metrics response."
      }
    },
    {
      "id": "agent_mail.reply_all_message",
      "service": "agent_mail",
      "name": "reply_all_message",
      "description": "Reply to all recipients of a specific AgentMail message.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "reply_to": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "text": {
            "type": "string",
            "description": "Plain text body of the reply."
          },
          "html": {
            "type": "string",
            "description": "HTML body of the reply."
          },
          "attachments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "filename": {
                  "type": "string",
                  "minLength": 1,
                  "description": "File name of the attachment."
                },
                "content_type": {
                  "type": "string",
                  "minLength": 1,
                  "description": "MIME type of the attachment."
                },
                "content_disposition": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Content disposition of the attachment."
                },
                "content_id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Content ID of the attachment."
                },
                "content": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Base64 encoded attachment content."
                },
                "url": {
                  "type": "string",
                  "description": "URL where AgentMail can fetch the attachment.",
                  "format": "uri"
                }
              },
              "additionalProperties": false,
              "description": "Attachment to include in an AgentMail message or draft."
            },
            "description": "Attachments to include in the reply.",
            "minItems": 1
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "Header value."
            },
            "description": "Custom message headers to include in the outbound message."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id",
          "message_id"
        ],
        "description": "Request payload for replying to all recipients of an AgentMail message."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          }
        },
        "additionalProperties": false,
        "description": "Response returned after sending an AgentMail message."
      }
    },
    {
      "id": "agent_mail.reply_to_message",
      "service": "agent_mail",
      "name": "reply_to_message",
      "description": "Reply to a specific AgentMail message.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "reply_to": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "to": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "cc": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "bcc": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "reply_all": {
            "type": "boolean",
            "description": "Whether to reply to all recipients of the original message."
          },
          "text": {
            "type": "string",
            "description": "Plain text body of the reply."
          },
          "html": {
            "type": "string",
            "description": "HTML body of the reply."
          },
          "attachments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "filename": {
                  "type": "string",
                  "minLength": 1,
                  "description": "File name of the attachment."
                },
                "content_type": {
                  "type": "string",
                  "minLength": 1,
                  "description": "MIME type of the attachment."
                },
                "content_disposition": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Content disposition of the attachment."
                },
                "content_id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Content ID of the attachment."
                },
                "content": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Base64 encoded attachment content."
                },
                "url": {
                  "type": "string",
                  "description": "URL where AgentMail can fetch the attachment.",
                  "format": "uri"
                }
              },
              "additionalProperties": false,
              "description": "Attachment to include in an AgentMail message or draft."
            },
            "description": "Attachments to include in the reply.",
            "minItems": 1
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "Header value."
            },
            "description": "Custom message headers to include in the outbound message."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id",
          "message_id"
        ],
        "description": "Request payload for replying to an AgentMail message."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          }
        },
        "additionalProperties": false,
        "description": "Response returned after sending an AgentMail message."
      }
    },
    {
      "id": "agent_mail.search_inbox_threads",
      "service": "agent_mail",
      "name": "search_inbox_threads",
      "description": "Search threads in a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "q": {
            "type": "string",
            "minLength": 1,
            "description": "Search query."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "before": {
            "type": "string",
            "description": "Only include records before this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "after": {
            "type": "string",
            "description": "Only include records after this ISO 8601 timestamp.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id",
          "q"
        ],
        "description": "Query parameters for searching AgentMail inbox threads."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when searching AgentMail inbox threads."
      }
    },
    {
      "id": "agent_mail.search_messages",
      "service": "agent_mail",
      "name": "search_messages",
      "description": "Search messages in a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "q": {
            "type": "string",
            "minLength": 1,
            "description": "Search query."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "before": {
            "type": "string",
            "description": "Only include records before this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "after": {
            "type": "string",
            "description": "Only include records after this ISO 8601 timestamp.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id",
          "q"
        ],
        "description": "Query parameters for searching AgentMail messages."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when searching AgentMail messages."
      }
    },
    {
      "id": "agent_mail.search_pod_threads",
      "service": "agent_mail",
      "name": "search_pod_threads",
      "description": "Search AgentMail threads scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "q": {
            "type": "string",
            "minLength": 1,
            "description": "Search query."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "before": {
            "type": "string",
            "description": "Only include records before this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "after": {
            "type": "string",
            "description": "Only include records after this ISO 8601 timestamp.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id",
          "q"
        ],
        "description": "Query parameters for searching AgentMail pod threads."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when searching AgentMail pod threads."
      }
    },
    {
      "id": "agent_mail.search_threads",
      "service": "agent_mail",
      "name": "search_threads",
      "description": "Search AgentMail threads across accessible inboxes.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "q": {
            "type": "string",
            "minLength": 1,
            "description": "Search query."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of items to return."
          },
          "page_token": {
            "type": "string",
            "minLength": 1,
            "description": "Pagination token for the next page of results."
          },
          "before": {
            "type": "string",
            "description": "Only include records before this ISO 8601 timestamp.",
            "format": "date-time"
          },
          "after": {
            "type": "string",
            "description": "Only include records after this ISO 8601 timestamp.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "q"
        ],
        "description": "Query parameters for searching AgentMail threads."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned when searching AgentMail threads."
      }
    },
    {
      "id": "agent_mail.send_draft",
      "service": "agent_mail",
      "name": "send_draft",
      "description": "Send a specific AgentMail draft.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "draft_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail draft identifier."
          },
          "add_labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "remove_labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id",
          "draft_id"
        ],
        "description": "Request payload for sending an AgentMail draft."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned after sending an AgentMail draft."
      }
    },
    {
      "id": "agent_mail.send_message",
      "service": "agent_mail",
      "name": "send_message",
      "description": "Send a message from a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "reply_to": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "to": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "cc": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "bcc": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "subject": {
            "type": "string",
            "minLength": 1,
            "description": "Subject line of the message."
          },
          "text": {
            "type": "string",
            "description": "Plain text body of the message."
          },
          "html": {
            "type": "string",
            "description": "HTML body of the message."
          },
          "attachments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "filename": {
                  "type": "string",
                  "minLength": 1,
                  "description": "File name of the attachment."
                },
                "content_type": {
                  "type": "string",
                  "minLength": 1,
                  "description": "MIME type of the attachment."
                },
                "content_disposition": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Content disposition of the attachment."
                },
                "content_id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Content ID of the attachment."
                },
                "content": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Base64 encoded attachment content."
                },
                "url": {
                  "type": "string",
                  "description": "URL where AgentMail can fetch the attachment.",
                  "format": "uri"
                }
              },
              "additionalProperties": false,
              "description": "Attachment to include in an AgentMail message or draft."
            },
            "description": "Attachments to include in the message.",
            "minItems": 1
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "Header value."
            },
            "description": "Custom message headers to include in the outbound message."
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id"
        ],
        "description": "Request payload for sending an AgentMail message."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          }
        },
        "additionalProperties": false,
        "description": "Response returned after sending an AgentMail message."
      }
    },
    {
      "id": "agent_mail.update_domain",
      "service": "agent_mail",
      "name": "update_domain",
      "description": "Update an AgentMail domain.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "domain_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail domain identifier."
          },
          "feedback_enabled": {
            "type": "boolean",
            "description": "Whether bounce and complaint notifications are sent to inboxes."
          }
        },
        "additionalProperties": false,
        "description": "Request payload for updating an AgentMail domain."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail domain response."
      }
    },
    {
      "id": "agent_mail.update_draft",
      "service": "agent_mail",
      "name": "update_draft",
      "description": "Update a draft in a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "draft_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail draft identifier."
          },
          "reply_to": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "to": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "cc": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "bcc": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "Email address or formatted address."
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Email address."
                },
                "description": "Email addresses or formatted addresses.",
                "minItems": 1
              }
            ],
            "description": "Email address or email address list."
          },
          "subject": {
            "type": "string",
            "minLength": 1,
            "description": "Subject line of the draft."
          },
          "text": {
            "type": "string",
            "description": "Plain text body of the draft."
          },
          "html": {
            "type": "string",
            "description": "HTML body of the draft."
          },
          "send_at": {
            "type": "string",
            "description": "Time at which AgentMail should schedule the draft to send.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id",
          "draft_id"
        ],
        "description": "Request payload for updating an AgentMail draft."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail draft response."
      }
    },
    {
      "id": "agent_mail.update_inbox",
      "service": "agent_mail",
      "name": "update_inbox",
      "description": "Update an AgentMail inbox display name or metadata.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "display_name": {
            "type": "string",
            "minLength": 1,
            "description": "Display name shown for the inbox."
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": {
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "String metadata value."
                        },
                        {
                          "type": "number",
                          "description": "Number metadata value."
                        },
                        {
                          "type": "boolean",
                          "description": "Boolean metadata value."
                        }
                      ],
                      "description": "Metadata value."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": "Metadata to merge into the inbox. Set a key to null to remove it, or send null to clear all metadata."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id"
        ],
        "description": "Request payload for updating an AgentMail inbox."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "email": {
            "type": "string",
            "description": "Email address.",
            "format": "email"
          },
          "display_name": {
            "type": "string",
            "description": "Display name shown for the inbox."
          },
          "client_id": {
            "type": "string",
            "description": "Client identifier associated with the inbox."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "String metadata value."
                },
                {
                  "type": "number",
                  "description": "Number metadata value."
                },
                {
                  "type": "boolean",
                  "description": "Boolean metadata value."
                }
              ],
              "description": "Metadata value."
            },
            "description": "Custom metadata attached to the inbox."
          },
          "updated_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": true,
        "description": "AgentMail inbox."
      }
    },
    {
      "id": "agent_mail.update_inbox_thread",
      "service": "agent_mail",
      "name": "update_inbox_thread",
      "description": "Update labels on a thread in a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          },
          "add_labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "remove_labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id",
          "thread_id"
        ],
        "description": "Request payload for updating an AgentMail inbox thread."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned after updating an AgentMail inbox thread."
      }
    },
    {
      "id": "agent_mail.update_message",
      "service": "agent_mail",
      "name": "update_message",
      "description": "Update labels on a message in a specific AgentMail inbox.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "message_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail message identifier."
          },
          "add_labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "remove_labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "inbox_id",
          "message_id"
        ],
        "description": "Request payload for updating an AgentMail message."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned after updating an AgentMail message."
      }
    },
    {
      "id": "agent_mail.update_pod_domain",
      "service": "agent_mail",
      "name": "update_pod_domain",
      "description": "Update an AgentMail domain scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "domain_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail domain identifier."
          },
          "feedback_enabled": {
            "type": "boolean",
            "description": "Whether bounce and complaint notifications are sent to inboxes."
          }
        },
        "additionalProperties": false,
        "description": "Request payload for updating an AgentMail pod domain."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail domain response."
      }
    },
    {
      "id": "agent_mail.update_pod_inbox",
      "service": "agent_mail",
      "name": "update_pod_inbox",
      "description": "Update an AgentMail inbox scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "display_name": {
            "type": "string",
            "minLength": 1,
            "description": "Display name shown for the inbox."
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": {
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "String metadata value."
                        },
                        {
                          "type": "number",
                          "description": "Number metadata value."
                        },
                        {
                          "type": "boolean",
                          "description": "Boolean metadata value."
                        }
                      ],
                      "description": "Metadata value."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": "Metadata to merge into the inbox. Set a key to null to remove it, or send null to clear all metadata."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id",
          "inbox_id"
        ],
        "description": "Request payload for updating an AgentMail pod inbox."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "inbox_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail inbox identifier."
          },
          "email": {
            "type": "string",
            "description": "Email address.",
            "format": "email"
          },
          "display_name": {
            "type": "string",
            "description": "Display name shown for the inbox."
          },
          "client_id": {
            "type": "string",
            "description": "Client identifier associated with the inbox."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "String metadata value."
                },
                {
                  "type": "number",
                  "description": "Number metadata value."
                },
                {
                  "type": "boolean",
                  "description": "Boolean metadata value."
                }
              ],
              "description": "Metadata value."
            },
            "description": "Custom metadata attached to the inbox."
          },
          "updated_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 format.",
            "format": "date-time"
          }
        },
        "additionalProperties": true,
        "description": "AgentMail inbox."
      }
    },
    {
      "id": "agent_mail.update_pod_thread",
      "service": "agent_mail",
      "name": "update_pod_thread",
      "description": "Update labels on an AgentMail thread scoped to a pod.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          },
          "add_labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "remove_labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "pod_id",
          "thread_id"
        ],
        "description": "Request payload for updating an AgentMail pod thread."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned after updating an AgentMail pod thread."
      }
    },
    {
      "id": "agent_mail.update_thread",
      "service": "agent_mail",
      "name": "update_thread",
      "description": "Update labels on an AgentMail thread.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail thread identifier."
          },
          "add_labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          },
          "remove_labels": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Labels used to filter or apply to a record.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "thread_id"
        ],
        "description": "Request payload for updating an AgentMail thread."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Response returned after updating an AgentMail thread."
      }
    },
    {
      "id": "agent_mail.update_webhook",
      "service": "agent_mail",
      "name": "update_webhook",
      "description": "Update an AgentMail webhook.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "webhook_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail webhook identifier."
          },
          "add_inbox_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Inbox IDs to subscribe to the webhook.",
            "minItems": 1
          },
          "remove_inbox_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Inbox IDs to unsubscribe from the webhook.",
            "minItems": 1
          },
          "add_pod_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Pod IDs to subscribe to the webhook.",
            "minItems": 1
          },
          "remove_pod_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A string value."
            },
            "description": "Pod IDs to unsubscribe from the webhook.",
            "minItems": 1
          },
          "event_types": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "message.received",
                "message.received.spam",
                "message.received.blocked",
                "message.received.unauthenticated",
                "message.sent",
                "message.delivered",
                "message.bounced",
                "message.complained",
                "message.rejected",
                "domain.verified"
              ],
              "description": "AgentMail webhook event type."
            },
            "description": "Full replacement list of event types for the webhook."
          }
        },
        "additionalProperties": false,
        "required": [
          "webhook_id"
        ],
        "description": "Request payload for updating an AgentMail webhook."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail webhook response."
      }
    },
    {
      "id": "agent_mail.verify_domain",
      "service": "agent_mail",
      "name": "verify_domain",
      "description": "Ask AgentMail to verify a domain's DNS records.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "domain_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail domain identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for verifying an AgentMail domain."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail domain response after verification."
      }
    },
    {
      "id": "agent_mail.verify_pod_domain",
      "service": "agent_mail",
      "name": "verify_pod_domain",
      "description": "Ask AgentMail to verify a pod domain's DNS records.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pod_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail pod identifier."
          },
          "domain_id": {
            "type": "string",
            "minLength": 1,
            "description": "The AgentMail domain identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for verifying an AgentMail pod domain."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail domain response after verification."
      }
    },
    {
      "id": "agent_mail.who_am_i",
      "service": "agent_mail",
      "name": "who_am_i",
      "description": "Get AgentMail identity information for the current API key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "No input is required."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "AgentMail authenticated identity response."
      }
    }
  ]
}
