wait_for_scripts
Blocks until specified scripts finish, then returns their extracted data, checkpoints, step counts, and statuses. Omit script IDs to wait for 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. |