Show verify status
verify_statusCheck the state of a topology optimization verification job and retrieve its result (verify.json) when done. Call again to monitor progress until the job reaches done, error, or failed.
Instructions
Show the state of a verify job and, when it is done, its result (the content of verify.json).
run_dir: the run folder (default: the folder of the last verify job of this server, else the last run).
Call it again to watch the job. Nothing calls you back when the job ends: call it again in this turn until the state is done, error or failed, or end the turn and tell the user what to ask for the result. A promise of a later report cannot be kept. States: starting, meshing, solving, writing (the job works), done,
error, failed (the process ended with no final status; log_tail has its last output) and none (no job
and no result in the folder). It has elapsed_s and estimated_seconds_total (the estimate of verify_run).
result: with a done job, add the result (set false to get the state only).
result_matches_final_stl says whether the result is for the mesh file that the folder has now (result.run.verified_file:
nominal.stl when the run has machining stock, else final.stl; part_only.stl after verify_run with part_only=true,
and then the result has the block part_only). If it is false, the result belongs to an older file: run verify_run again. Tell the user the numbers; you decide what to do.
plain (a done job with the result): one plain line for each load case (the value that is compared, who gave the allowable, the margin) and a line for what the check does not cover. They are a base for the answer to "will it break?".
partial, coverage (a done job; also with result=false): partial is true when a check that the YAML or the call asks for failed or did not run; the other numbers still stand. coverage has ran (names), failed (name, reason) and not_run (name, reason, asked). A check that was not asked for is under not_run with asked false and does not make the result partial. Then summary and the first plain line say so.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "verify_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| run_dir | No |