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
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No |
Implementation Reference
- node/src/functions.ts:15-17 (handler)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) - node/src/tools.ts:36-41 (registration)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, }, - python/src/agentmail_toolkit/tools.py:39-44 (registration)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, ),