find_function
Locate function definitions in headers and usages in source files to trace code dependencies.
Instructions
Find where a function is defined (headers) and used (source files).
Args: function_name: Name of the function to find (e.g., "StoreMoney", "CmdDispense") project: Optional project name filter
Returns: Header declarations and source usages of the function
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": {
"function_name": "<function_name>"
},
"name": "find_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| function_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |