Stop the simulation
cm_stop_simStops a running IPG CarMaker simulation and optionally waits up to a set time for it to become idle, returning wait-end status when requested.
Instructions
Stop the running simulation. With wait_s > 0 it returns what cm_wait_end returns.
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": "cm_stop_sim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_s | No | Wait this long for the simulation to become idle (0: do not wait) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| note | No | ||
| state | No | ||
| popups | No | ||
| testrun | No | ||
| finished | No | ||
| waited_s | No | ||
| elapsed_s | No | ||
| logs_file | No | ||
| distance_m | No | ||
| end_status | No | ||
| log_errors | No | ||
| logs_error | No | ||
| sim_time_s | No | ||
| poll_errors | No | ||
| result_file | No | ||
| log_warnings | No | ||
| simulink_error | No | ||
| stop_requested | No |