papertrail_for_chunk
Retrieve the 'why' behind a code chunk: its current text, cached tracker items, and review comments that reference it.
Instructions
The 'why' behind a chunk: its current text plus the cached tracker items (issues / change requests) and review comments that reference it.
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": {
"chunk_id": "<chunk_id>"
},
"name": "papertrail_for_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| chunk_id | Yes | ||
| worktree | No | Absolute path of the checkout to scope reads to — pass a linked worktree to read its branch overlay. Defaults to the server's working directory. A path that is not a linked worktree of this repo is silently ignored: results then come from the indexed checkout, with no error. |