preview_script
Preview a script definition to check syntax before saving or deploying it in ERPNext.
Instructions
Preview a script (syntax check only)
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": {
"def": "<def>"
},
"name": "preview_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| def | Yes | Script definition |