Recommended Tool Flow
For most simulation workflows, follow this progression:- Setup —
simulatorsto define interfaces,environmentsto compose them,datasetsto prepare patient data - Define —
benchmarksto create test suites,tasksto add test cases,criteriato add assertions - Execute —
benchmark_runsto start runs, poll withgetuntil status isCompleted - Analyze —
task-runsto see per-task results,criterion-runsto see per-criterion reasoning and scores
Tool Chaining Patterns
Create-then-link
Simulators exist independently from environments. Create them first, then attach them.Benchmark definition
Benchmarks, tasks, and criteria form a hierarchy. Create them top-down.Run and poll
Start a run, poll for completion, then drill into results.benchmark_runs get response includes the overall score and verdict. Use task-runs and criterion-runs to understand which specific checks passed or failed.
Writing Good Criteria
When writing criteria, describe observable outcomes the verification engine can check against sandbox state. Write them like test assertions: specific, observable, and unambiguous.One assertion per criterion
Split compound checks into separate criteria rather than combining them. This gives you granular scoring and clearer failure messages.Error Handling
All tools return errors in a consistent shape:Next Steps
Tools Reference
Full parameter documentation for each tool.
Workflow Examples
Step-by-step tool call sequences for common simulation tasks.