propose_fix
Create a FixIntent for a walker Finding. M1 does NOT auto-generate a patch; the returned intent carries the finding context and the caller supplies the actual patch via apply_fix(). M2 wires LLM patch generation via Context.sample().
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_id": "<finding_id>"
},
"name": "propose_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | local-vm = edit file in tester VM + restart unit (M1). github-pr = open PR (M2.5). provider-redeploy = push to Vercel/Netlify branch (M3). | local-vm |
| notes | No | Free-text note about the proposed fix. | |
| api_key | No | MCP API key | |
| finding_id | Yes | Walker finding_id to fix. | |
| session_token | No | Session token |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||