code_history
Retrieve past session edits, user requests, failures, commits, and call graph links for a file or symbol before changing code.
Instructions
History of a file or symbol across past agent sessions: which sessions edited it and the user request behind each edit, failures right after, commits, plus callers/callees from the graphify code graph. Use before changing code that was worked on before. For code structure questions use graphify itself.
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": {
"target": "<target>"
},
"name": "code_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | substring of the repo path; default: the current repo, then all repos | |
| target | Yes | file path (absolute, repo-relative or file name) or symbol name | |
| sessions | No |