await_generation
Polls a generation job until it finishes or times out, then returns the final status so agents can wait for a 3D model to be ready.
Instructions
Wait for a generation job to complete and return the final status.
Polls the provider until the job reaches a terminal state or the
timeout is exceeded. Useful for agents that want to block until
a model is ready.
Args:
job_id: Job ID from ``generate_model``.
provider: Provider that owns the job.
timeout: Max seconds to wait for generation (default 600 = 10 min).
poll_interval: Seconds between polls (default 10).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_id": "<job_id>"
},
"name": "await_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job ID from ``generate_model``. | |
| timeout | No | Max seconds to wait for generation (default 600 = 10 min). Default: 600. | |
| provider | No | Provider that owns the job. Default: "meshy". | |
| poll_interval | No | Seconds between polls (default 10). Default: 10. |