whodb_platform_function_wait
Wait for a hosted function run to finish, fail, or be canceled, then return its output, logs, and error. Use the run ID from start_run with a bounded timeout.
Instructions
Wait for a persisted hosted function run to complete, fail or be canceled, then return its output, logs and error. Use the run id returned by the function start_run action and keep the timeout bounded; a run keeps going after a timed-out wait. Accepts workspace {host, org, project} for per-call targeting without changing defaults.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional top-level output fields to include | |
| run_id | Yes | Function run id returned by the start_run action or function_runs tool | |
| workspace | No | Optional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects. | |
| poll_seconds | No | Polling interval, default 2 seconds | |
| timeout_seconds | No | Maximum wait time, default 60 seconds |