list_functions
Extract function and method declarations and definitions from a C/C++ source file to aid code analysis and navigation.
Instructions
Extract function/method declarations and definitions from a C/C++ file.
Args: file_path: Path to the C/C++ source 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": {
"file_path": "<file_path>"
},
"name": "list_functions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |