doc_blame
Reveal which commit, author, and date last changed each line of a document at its current version; filter by text or line range to trace exact facts.
Instructions
Show which commit, author and date last changed each line of a document, at its current version: who wrote this exact fact. Two filters, which combine: pattern keeps the lines containing a text (no line numbers needed), start/end blame a line range only. With neither, the first 600 lines come back and truncated is true when the doc is longer: pass a pattern or a range to reach the rest. Use doc_history for the doc's revisions, search_history for when a text first appeared.
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": {
"path": "<path>"
},
"name": "doc_blame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Last line (omit: to the end). | |
| path | Yes | Path of the doc, blamed at its current version. | |
| start | No | First line, 1-based. | |
| pattern | No | Only the lines containing this (case-insensitive). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| lines | Yes | ||
| truncated | Yes | ||
| untrusted | No | Set when the text was written outside this mind: remote:<node> or inbox:<source>. |