agp_inbox
Retrieve or peek incoming AGP messages for the current AI session and subscribed channels, with filters and optional long-polling; set mark_delivered=false to inspect without consuming.
Instructions
Read or peek incoming AGP messages addressed to this AI session (and subscribed channels). Supports filtering by correlation_id, trace_id, msg_type, priority, and bounded cross-process long-polling (wait_timeout_sec up to 60s). Set mark_delivered=false to peek without consuming.
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": "agp_inbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| channels | No | ||
| msg_type | No | ||
| priority | No | ||
| trace_id | No | ||
| agent_uri | No | Your AGP URI (defaults to current session). | |
| since_seq | No | ||
| correlation_id | No | Optional filter to wait for a specific task/reply thread. | |
| mark_delivered | No | Set false to peek without marking messages read. | |
| wait_timeout_sec | No | Optional seconds (0-60) to wait if inbox is empty. | |
| include_delivered | No | ||
| include_team_messages | No | Also surface unread Team mailbox messages linked to this session. |