recent
Retrieve the most recent messages from your index, ordered newest first, to quickly catch up on discussions without entering a search query.
Instructions
Return the most-recent messages across the index, newest first. Use this to catch up on the latest activity ("what was discussed most recently?") without a search query. To read one specific known session in order, prefer the 'session' tool instead. Optionally narrow to a single session or project. Read-only; each row includes its text, session id, and timestamp.
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": "recent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | number of most-recent messages to return (default 50) | |
| session_id | No | only messages from this session id | |
| project | No | only messages from this project slug |