Poll a re-layout job
get_relayout_statusCheck the status of an async re-layout job, returning pending, done, or failed, and retrieve the updated XML, warnings, and score when complete.
Instructions
Check the status of an async re-layout job started by relayout_diagram. Returns pending/done/failed; when done+applied it includes the re-laid XML + fresh warnings/score. Free.
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": {
"diagram_id": "<diagram_id>",
"job_id": "<job_id>"
},
"name": "get_relayout_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id returned by relayout_diagram | |
| diagram_id | Yes | The diagram id |