run_measurement_command
Execute a raw REW command on any measurement to handle operations without a dedicated tool, e.g., trimming IR to windows or estimating IR delay.
Instructions
Run a raw REW command on one measurement (discover names with list_api_commands / the measurement's own command list). Escape hatch for operations without a dedicated tool, e.g. 'Trim IR to windows' or 'Estimate IR delay'.
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": {
"measurement": "<measurement>",
"command": "<command>"
},
"name": "run_measurement_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | REW command name, e.g. 'Estimate IR delay' | |
| parameters | No | Command parameters as REW documents them | |
| measurement | Yes | Measurement UUID (preferred — stable) or 1-based index (shifts when measurements are added/removed) |