validate_code
Validate CFX Python scripts in a dry-run mode to catch parse, type, and semantic errors before execution.
Instructions
Dry-run / validate CFX Python without applying side effects. Returns parse / type / semantic feedback.
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": {
"code": "<code>"
},
"name": "validate_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python source code submitted for validation, grounding, or execution. |