Suggest fix
suggest_fixLint findings as diffs against the .py: exact where a number or order is pinned, a proposal where a layer is missing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "suggest_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | Only this rule id. | |
| layer | No | Only this layer. | |
| save_to | No | Write the patched file (exact fixes, --write). | |
| severity | No | Minimum. Default warn. | |
| model_path | No | File, zoo:<id>, hf:<org/name> | |
| model_source | No | Optional: answer about model text passed inline (a .neurarch.json document or PyTorch source). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fixes | Yes | ||
| notFixable | Yes |