Get Agent Run
modem_agent_get_runGet the status and result of a Modem agent run. Pass wait_seconds: 25 to wait for the run: the call returns as soon as the run finishes, or with status "working" after 25 seconds. While the status is "working", call again right away, without sleeping between calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Run ID returned by modem_agent_invoke or modem_agent_send_message. | |
| wait_seconds | No | Seconds to wait for the run to finish, from 0 to 25. The call returns as soon as the run finishes. Omit or pass 0 to return the current status at once. | |
| conversation_id | Yes | Conversation ID returned by modem_agent_invoke. |