list_all_messages
Fetch messages in ascending order: up to 100 after a given message ID, or up to 20 before a given message ID.
Instructions
Get messages
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": "list_all_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Fetch messages after the message with this ID. Returns up to 100 messages in ascending order. | |
| before | No | Fetch messages before the message with this ID. Returns up to 20 messages in ascending order. |