get_history
Retrieve a file's recent decision history to understand context, with adjustable limits and optional full-text output.
Instructions
Get recent decisions touching a file. Default: 5 with truncated context (~500 tokens). Pass full=true for untruncated text. Ordered by most recent first.
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": {
"file_path": "<file_path>"
},
"name": "get_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Untruncated decision text (default false) | |
| limit | No | Max decisions (default 5, max 50) | |
| file_path | Yes | Relative file path |