validate_pyspark_code
Check PySpark code for syntax errors and adherence to best practices. Receive actionable feedback to fix issues and improve reliability.
Instructions
Validate PySpark code for syntax and best practices.
Args:
code: PySpark code to validate
ctx: Context object containing client information
Returns:
A string containing validation results and suggestions.
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_pyspark_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |