compile_cpp
Compile a single C++ source file into an object file, with optional flags, defines, include directories, output path, and timeout.
Instructions
Compile one C++ source file into an object file.
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": {
"source": "<source>"
},
"name": "compile_cpp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | No | ||
| output | No | ||
| source | Yes | ||
| defines | No | ||
| timeout | No | ||
| include_dirs | No |