parse_cpp_interface
Parses C++ interface code to extract function signatures and information, enabling generation of Android JNI, iOS Objective-C, and HarmonyOS NAPI wrapper code.
Instructions
Parse C++ interface and extract function information
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": {
"cpp_interface": "<cpp_interface>"
},
"name": "parse_cpp_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpp_interface | Yes | C++ interface function code to parse |