cli_exec
Execute CLI commands on a Betaflight flight controller and return output. Automatically syncs simplified tuning settings when modified.
Instructions
Execute an arbitrary CLI command on the flight controller and return the output. NOTE: for "set simplified_*" commands, prefer the set_pid_sliders tool — it recalculates the underlying PID/filter gains via MSP. If used here anyway, this tool automatically runs "simplified_tuning apply" afterward to keep the actual gains in sync with the slider value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | CLI command to execute (e.g. "get pid_process_denom") |