Skip to main content
Glama

listInboxes

Retrieve all inboxes on AgentMail to manage and organize isolated communication channels for AI agents, with options to limit and offset results.

Instructions

List all inboxes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo

Implementation Reference

  • Handler function that implements the listInboxes tool by calling client.inboxes.list(args)
    export async function listInboxes(client: AgentMailClient, args: Args) { return client.inboxes.list(args) }
  • Handler function that implements the list_inboxes tool by calling client.inboxes.list(**kwargs)
    def list_inboxes(client: AgentMail, kwargs: Kwargs): return client.inboxes.list(**kwargs)
  • Registration of the list_inboxes tool in the tools array, linking schema and handler function
    { name: 'list_inboxes', description: 'List inboxes', params_schema: ListItemsParams, func: listInboxes, },
  • Registration of the list_inboxes tool in the tools list, linking schema and handler function
    Tool( name="list_inboxes", description="List inboxes", params_schema=ListItemsParams, func=list_inboxes, ),

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agentmail-to/agentmail-toolkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server