mcpProvider-backed
List email accounts
tools/call
List native email inboxes connected to the selected workspace. Credentials are never returned.
Parameters
workspaceId
string
Optional for workspace-bound credentials.
limit
number
No description.
offset
number
No description.
Example
MCP tools/calljson
{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "list-email-accounts","arguments": {}}}
Response
Success response schemajson schema
{"type": "object","properties": {"accounts": {"type": "array","items": {"type": "object","properties": {"id": {"type": "string"},"workspaceId": {"type": "string"},"email": {"type": "string"},"state": {"type": "string"}}}},"tags": {"type": "array","items": {"type": "string"}},"limit": {"type": "integer"},"offset": {"type": "integer"}},"required": ["accounts","tags","limit","offset"]}
JSON-RPC errors
- -32602
- Invalid parameters. Field-level details are returned in the JSON-RPC error data.
- -32001
- Authentication or hosted AI consent is required.
- -32003
- Workspace access is denied.
- -32029
- The request was rate limited.