Inbox analytics
get_inbox_analyticsHow the inbox is doing, from Spaces' own copy (never a platform call): messages from people by day and by hour, conversations by day, median first-response time (seconds) overall and for your AI agent, people and automations, the share of answered conversations only the AI agent answered, and who is waiting now (their message is the last one). from and to are dates (inclusive, default the last 30 days) in timezone (default the workspace time zone); account_id narrows it. null means nothing to measure. Pass view: 'summary' or fields for a shorter answer.
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": "get_inbox_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| view | No | summary: a compact item shape (ids, names, times, short text) to save tokens. full (default): everything. | |
| fields | No | Comma-separated item fields to keep, such as id,name,last_message. id is always kept. | |
| timezone | No | ||
| account_id | No |