get_fix_context
Scan local code for security issues and return deterministic remediation steps, exact locations, and references so an AI agent can review and apply fixes without source transmission.
Instructions
Scan for security problems and get deterministic remediation guidance so YOU (the AI agent) can fix them. Works with no account: without SPHIOR_API_KEY it scans the local workspace with the bundled engine. SPHIOR does not generate code or transmit source — open the referenced file in your workspace, read the code yourself, and apply the fix. Returns why-it-matters, remediation steps, exact location, and references. Findings at the same line are merged into one entry; also lists the others and one fix must satisfy all. A human must review before merge.
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": "get_fix_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Local mode only: directory to scan. Omit to scan the directory this server was launched in. Use it to narrow a large repository. | |
| repo | No | Cloud mode only: repository full_name (owner/repo). Omit for the latest scanned repo. | |
| severity | No | Filter to one severity. | |
| findingId | No | A specific finding fingerprint to fix. Omit for all findings. |