search_history
Trace when text was added to or removed from documents across git commits, newest first, including deleted content, to answer when a change was decided or which version introduced it.
Instructions
Search across time: the commits where a string entered or left a doc (git pickaxe), newest first, with the files they changed. For 'when did we decide X', 'which version introduced this', or text since deleted; search_docs only sees the present. truncated: more may exist.
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 | Most commits to return, newest first; `truncated` says more exist. | |
| query | Yes | The text to track. | |
| regex | No | Match changed lines with a regex (-G) instead of counting exact occurrences (-S). | |
| path_prefix | No | Restrict to a folder (or a file), e.g. 'projets'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| regex | No | ||
| matches | Yes | ||
| truncated | No |