Get agent wake
stack_get_wakeGet one wake of an agent: its source, the task, where it stands and the facts about the event. To read a message a wake points at, use the id in event.message_id with the account's messages; a decision wake names the pending item in event.item_kind and event.item_id and how it ended in event.result. A wake that names a message carries its sender_tags too. 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.
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>",
"wake_id": "<wake_id>"
},
"name": "stack_get_wake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wake_id | Yes | Wake id (wke_*) | |
| 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. |