Search prompt history
search_historySearch past user prompts by keyword to retrieve timestamped snippets, optionally filtered by session and result limit.
Instructions
Search past user prompts (kind='prompt') by keyword. Returns timestamped snippets truncated to 200 chars each.
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>"
},
"name": "search_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 10) | |
| query | Yes | Text to search in past prompts | |
| sessionId | No | Filter by captured session id (default: all sessions) |