syntax_compatibility_validation
Validate Pine Script code for v6 syntax compatibility and identify migration requirements.
Instructions
Validate Pine Script code for v6 syntax compatibility and migration requirements.
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": "syntax_compatibility_validation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Pine Script source code to validate for syntax compatibility | |
| format | No | Output format for validation results | json |
| migration_guide | No | Include migration guidance for deprecated functions |