sourcery_build_fix_prompt
Build a minimal-change agent prompt from a Sourcery finding object, handling dependency findings via fixed versions and manifest file paths.
Instructions
Build a minimal-change agent prompt from a Sourcery finding object.
Handles DEPENDENCY findings via fixed_versions + manifest_file_path and renders the dependency chain when dependency_graph is present.
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": {
"finding_json": "<finding_json>"
},
"name": "sourcery_build_fix_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| finding_json | Yes |