scan_file
Scan a Python file to detect hallucinations such as undefined symbols, missing imports, and incorrect API calls, helping you identify and fix code errors before they cause problems.
Instructions
Scan a file for potential hallucinations: undefined symbols, missing imports, and incorrect API calls.
Args: file_path: Absolute path to the Python file.
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": {
"file_path": "<file_path>"
},
"name": "scan_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |