list_messages
Fetches messages from a conversation, ordered newest first, enabling agents to read chat history or analyze recent interactions.
Instructions
List messages in a conversation. Returns most recent first.
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": {
"conversation_id": "<conversation_id>"
},
"name": "list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| conversation_id | Yes |