Poll Design Job
poll_jobCurrent status of a design job (used by the Yarda widget).
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": "poll_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id design_yard returned |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pct | No | ||
| brief | No | When review_required: the design brief frozen with the review | |
| error | No | ||
| stage | No | ||
| design | No | ||
| job_id | No | ||
| status | Yes | succeeded = design ready; queued/running = keep polling; payment_required = stop generation and ask whether the user wants payment options; call checkout_tool only after an explicit user request, never automatically; temporary rate or service limits are not payment-required; review_required = the user must approve the property preview before the design starts (nothing charged): with the Generate button in the Yarda card when in_chat_approval is true, otherwise on the secure review page (review_url) | |
| message | Yes | ||
| warnings | No | ||
| design_id | No | ||
| next_step | No | When review_required: what to do next | |
| review_id | No | When review_required: send it back to design_yard unchanged after the user confirms | |
| review_url | No | When review_required and in-chat approval is unavailable: the secure page where the user approves the property outline | |
| studio_url | No | Where the user can edit or refine this design in Yarda's web app (finished design, saved designs, the review's outline editor or Design Studio). Opening it never approves, starts or charges a design | |
| eta_seconds | No | ||
| stage_label | No | ||
| upgrade_url | No | ||
| review_state | No | When review_required: preparing = wait and retry; ready = waiting on the user; confirmed = start the design | |
| checkout_tool | No | When payment is required: the tool that returns a checkout link (subscribe) | |
| preview_status | No | When review_required: whether the property preview (image, outline, brief) is shown with this result | |
| approval_status | No | When review_required: the review's true state. Only the user's own approval changes awaiting_approval | |
| review_revision | No | When review_required: the revision to send back with review_id | |
| in_chat_approval | No | When review_required: true = the user approves with the Generate button in the Yarda card shown with this result | |
| review_expires_at | No | When review_required: when the review link stops working (ISO 8601) |