set_mag_hardware
Set the magnetometer hardware state: enable or disable the compass sensor. Requires USE_MAG compile flag.
Instructions
Set mag_hardware: Magnetometer hardware selection. NONE = disabled. (Requires: USE_MAG) [UINT8, default: NONE]
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": {
"value": "<value>"
},
"name": "set_mag_hardware"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value for mag_hardware (UINT8) |