Get toolchains
get_toolchainsRetrieve the compilers used per language, including their paths, versions, targets, and implicit include and link directories, for a CMake build.
Instructions
Returns the compilers used per language (path, id, version, target) including implicit include and link directories.
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": "get_toolchains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildDir | No | Build directory (absolute, or relative to a workspace root). A source directory with a single build directory is also accepted. May be omitted when the workspace has exactly one build directory. |