search_history
Search timeline events by query. Finds matches in task, summary, reason, file paths, and tags, returning results sorted by ID.
Instructions
Search the timeline.
Args: query: Substring to search for (case-insensitive). Matched against task, summary, reason, file paths, and tags. limit: Cap on the number of results. search_files: Include file paths in the search. search_tags: Include tags in the search.
Returns:
A list of matching events, ordered by id ascending. Each event
is a dict; see create_event for the field set.
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 | ||
| query | Yes | ||
| search_tags | No | ||
| search_files | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |