build_ota
Build M33 OTA firmware for XR875 projects by executing clean compilation and packaging commands to generate over-the-air update files.
Instructions
Build the M33 OTA (lunch_rtos 35 && ota_mrtos clean && ota_mrtos).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "build_ota"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/xr875_build/server.py:42-44 (handler)The `build_ota` tool is defined as an MCP tool using the `@mcp.tool()` decorator and executes a build command sequence via `run_build_command`.
def build_ota(): """Build the M33 OTA (lunch_rtos 35 && ota_mrtos clean && ota_mrtos).""" return run_build_command("source tools/scripts/envsetup.sh && lunch_rtos 34 && lunch_rtos 35 && ota_mrtos clean && ota_mrtos")