toolchain_detect
Detects CMake, Ninja, arm-none-eabi, and J-Link toolchains, returning resolved paths, versions, and build/debug readiness flags to verify embedded build environments.
Instructions
Discover CMake/Ninja/arm-none-eabi/J-Link toolchain / 探测本机嵌入式工具链.
Resolution order: jlink-project.json build.toolchain → EMBEDDED_* env vars → PATH → sibling of arm-none-eabi-gcc → common install locations. Returns paths, versions and build_ready/debug_ready flags. Read-only.
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": "toolchain_detect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||