drone_control
Control drone flight operations via MAVLink, providing commands for takeoff, landing, movement, emergency stop, return home, calibration, and real-time status.
Instructions
Core drone flight control operations with conversational responses.
Provides unified control interface for PX4/ArduPilot drones via MAVLink protocol or direct firmware integration. Supports both autonomous and manual flight modes with rich conversational responses for natural AI interaction.
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": {
"operation": "<operation>",
"drone_id": "<drone_id>"
},
"name": "drone_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Flight mode for set_mode operation (e.g., "STABILIZE", "ALT_HOLD", "LOITER", "AUTO", "RTL") | |
| altitude | No | Target altitude (m) for takeoff operation | |
| drone_id | Yes | Unique drone identifier (e.g., "drone_01", "px4_quad_01", "esp32_drone_01") | |
| yaw_rate | No | Rotational velocity (rad/s) for move operation | |
| operation | Yes | Flight control operation to perform: - "get_status": Get comprehensive drone status (battery, position, mode, health) - "takeoff": Take off to specified altitude (default 5m) - "land": Land at current position - "move": Move with specified velocity vectors - "stop": Emergency stop all movement - "return_home": Return to launch/home position (RTL) - "set_mode": Change flight mode (stabilize, alt_hold, loiter, auto, rtl) - "arm": Arm drone motors (required before flight) - "disarm": Disarm drone motors (safe state) - "calibrate": Perform sensor/accelerometer calibration - "emergency_stop": Immediate emergency stop and motor disarm | |
| velocity_x | No | East-west velocity (m/s) for move operation | |
| velocity_y | No | North-south velocity (m/s) for move operation | |
| velocity_z | No | Up-down velocity (m/s) for move operation (positive = up) | |
| calibration_type | No | Type of calibration for calibrate operation (e.g., "accelerometer", "compass", "level") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||