Cotlet: test an automation script
cotlet_automation_testRuns a script once now in a hidden tab of the user's Cloud Browser with every write skipped, and answers its status, rows, log, steps and credits. Uses browser minutes. Test the exact script you will save. automation: test against that automation's seen rows and state.
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": {
"script": "<script>"
},
"name": "cotlet_automation_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | The Python script: `def run(ctx):` with the cotlet SDK (see the guide). | |
| automation | No | The automation's id from cotlet_automation_list. |