wait_for_scripts
Collect script results after execution by blocking until scripts finish. Returns extracted data, checkpoints, and status for specified or all active scripts.
Instructions
Block until one or more scripts finish execution and return their collected results. Returns a JSON array of ScriptResult objects with extracted_data, yielded checkpoints, step count, and status. If script_ids is omitted, waits for ALL active scripts. Use after run_script to collect final results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_ids | No | List of script IDs to wait for (format: scr_XXXXXXXX each). If omitted, waits for all currently active scripts to finish. |