List agent wakes
stack_list_wakesList the wakes of an agent, with or without an agent account: what started it, with the task to do. status "open" is the agent's queue: wakes that reached it and it has not picked up yet, oldest first; an agent with no live session and no webhook finds its wakes here on its next session. Without a status the wakes are newest first. Each has source (email, sms, voicemail, call, incoming_call, payment, post, invite, schedule, handoff, decision), task, status, delivered_via (webhook or mission; an MCP notification alone never counts as delivered), account_id (null for an agent with no account) and event: facts about what happened, such as the id of the message to read, never its content. A decision wake tells the agent how a pending item it waited on ended: event.item_kind, event.item_id and event.result. A delivered wake never acknowledged ends as expired after 30 days. A task is the owner's own words, or STACK's plain default for the source; nothing from the event is ever put into it. A wake that names a message also carries that message's sender_tags (and sender_resembles). sender_tags are STACK's own checks of who wrote, made when it arrived (null: not assessed): new_sender (none of the customer's agents has dealt with them before), new_domain (a company domain not seen before), lookalike_domain (it resembles a domain the customer already knows, named in sender_resembles), name_matches_known_contact (a known contact's name from another address or user), payment_details (a bank account number or IBAN), organizer_not_sender (an invite its organizer did not send) and unverified_sender (post). They warn and never block or hide a message, and none is no proof: confirm payment details, or a request that changes how someone is paid, with the person through a channel you already trust. Also returns rate: this window's wakes accepted and dropped by the agent's rate limit (a decision and an incoming call take no part in it).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>"
},
"name": "stack_list_wakes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Wakes per page (1-100, default 25) | |
| cursor | No | next_cursor from the previous page | |
| status | No | open (the queue), or pending, delivered, acknowledged, refused or expired | |
| agent_id | Yes | Agent id (agt_*): any agent of the customer, with or without an agent account | |
| passport_token | No | The Passport JWT of the agent whose queue is read (X-Passport-Token). With it the call is made as that agent, whoever is signed in; it must be an agent of the signed-in account. The owner reads without one. |