flexsim_run_to_time
Advance a FlexSim simulation to a specified target time, blocking until completion. Optionally set run speed when connected to the FlexSim window.
Instructions
Run simulation until reaching target time (blocks until done, max speed).
Args:
target_time: Target simulation time in seconds
Example:
target_time=3600 # Run for 1 hour
Note: time only advances while the model has scheduled events.
With the FlexSim window connected, run_speed (optional) sets the Run Speed slider first;
use 1000 for a fast run (the window default is 4x real time).
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": {
"params": "<params>"
},
"name": "flexsim_run_to_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |