flexsim_get_statistics
Retrieves TrackedVariable statistics as JSON for FlexSim model objects, eliminating manual value reads.
Instructions
Read TrackedVariable statistics as JSON (window or Python backend).
Replaces hand-written `k.stats.input.value` reads. Metrics are
<group>.<field> with group in input/output/content/staytime and field in
value/average/maximum/minimum/count/rate.
Args:
objects: names to read (default: all model objects).
metrics: e.g. ["input.value", "content.average", "staytime.average"].
include_time: include Model.time (default True).
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": "flexsim_get_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |