run_custom_toolchain
Execute custom build or flash CLI commands (e.g., make flash, west build, openocd) in a chosen working directory with a configurable timeout.
Instructions
Run a custom build/flash CLI command (e.g., make flash, west build, cargo embed, openocd).
Args: command: Full CLI command string to execute. working_directory: Directory where the command should be run. timeout_sec: Timeout in seconds (default 300).
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": {
"command": "<command>"
},
"name": "run_custom_toolchain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout_sec | No | ||
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||