Validate a script
validate_scriptCheck a script for errors and warnings without saving it. Pass blocks to check a draft you have not saved, or omit it to check the stored script. Errors block open_project; warnings do not but are usually worth fixing. suggestions lists empty presentation slots (an intro or a result with no image; for a project posted on Discord, a bare invitation): never blocking, but name them to the person and offer to fill them. Call this before every open_project.
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": {
"project_id": "<project_id>"
},
"name": "validate_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocks | No | A draft script to check. Omit to check the project's stored script. | |
| project_id | Yes | Project id, from list_projects or create_project. |