AxMeep_get_simulation_status
Check a Meep simulation job's status and optionally wait for it to finish. Returns the moment the job is terminal, so a typical 1-2 minute job needs one call.
Instructions
Check a Meep job, optionally waiting for it to finish. Pass wait_seconds (capped at 120 per call) to wait — it returns the moment the job is terminal, so a typical 1-2 minute job needs one call. Do NOT loop with wait_seconds=0; chain at most ~5 waiting calls, then hand the task_id back to the user. When the status is 'failed', pass the returned error_trace to generate_code as previous_error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task_id returned by execute_code. | |
| wait_seconds | No | Seconds to wait for the job to finish before answering, capped at 120 per call. Returns as soon as the job is terminal. 0 (the default) polls once and returns immediately. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| status | No | queued | running | completed | failed. | |
| success | No | ||
| task_id | No | ||
| error_type | No | ||
| error_trace | No | Feed into generate_code as previous_error. | |
| status_code | No | ||
| waited_seconds | No |