list_inboxes
List all email inboxes to enable AI agents to send, receive, and search messages across threads.
Instructions
List all email inboxes
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_inboxes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- mcp/index.js:151-159 (registration)The tool 'list_inboxes' is registered via server.tool() with empty schema and an async handler that calls GET /v1/inboxes via the api helper.
server.tool( 'list_inboxes', 'List all email inboxes', {}, async () => { const result = await api('GET', '/v1/inboxes'); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; } ); - mcp/index.js:155-158 (handler)Handler function for list_inboxes: calls api('GET', '/v1/inboxes') and returns the JSON result as text content.
async () => { const result = await api('GET', '/v1/inboxes'); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; } - mcp/index.js:154-154 (schema)Input schema for list_inboxes - an empty object {} since this tool takes no parameters.
{}, - sdk/node/src/index.js:40-42 (helper)Node.js SDK helper method listInboxes() that calls the same API endpoint GET /v1/inboxes.
listInboxes() { return this._request('GET', '/v1/inboxes'); } - Python SDK helper method list_inboxes() that calls the same API endpoint GET /v1/inboxes.
def list_inboxes(self): return self._request("GET", "/v1/inboxes")