Watch SimVar Over Time
msfs_watch_simvarSample a SimVar over time to generate a time series for debugging, with configurable duration and interval. Fail fast on invalid SimVar names or units to avoid wasted polling.
Instructions
Sample a SimVar over time, returning a time series for debugging.
Fails fast if the first read raises, rather than looping for the full duration on a name or unit that will never work.
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": {
"name": "<name>"
},
"name": "msfs_watch_simvar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | SimVar name to watch | |
| unit | No | Unit to read in. Defaults to the catalog unit. | |
| index | No | Index for indexed SimVars. Index 0 is valid. | |
| duration_s | No | Total sampling duration in seconds | |
| interval_ms | No | Polling interval in milliseconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |