List messages
messages.listList the messages the agent account received, newest first. A refused message did not wake the agent, and its reason says why; a received one's admission says whether its sender is on the team, on the channel's list, or anyone else; an imported one came from a mailbox the agent used before.
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": "messages.list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Keep the messages from this address | |
| agent | No | The id of the agent account to act as, from status. Leave it out when these tools act as one agent account. | |
| limit | No | How many to list, from 1 to 25 | |
| before | No | List the messages older than this one; pass the last id listed to page back | |
| channel | No | Keep the messages that came on this channel |