search_sessions
Find sessions by message content. Search full-text to retrieve matching sessions ranked by relevance, optionally filtered by status.
Instructions
Search across all sessions by message content.
Uses FTS5 full-text search to find sessions matching the query.
Args: query: Search query (supports FTS5 syntax) status: Filter by session status (optional) limit: Max results (default 20)
Returns: Dict with matching sessions ranked by relevance
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": {
"query": "<query>",
"agent_id": "<agent_id>"
},
"name": "search_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| status | No | ||
| agent_id | Yes |