get_function_by_name
Look up a tracked function by name to get its purpose, parameters, returns, and file path before reading source files.
Instructions
Look up a tracked function by name with file location — use BEFORE reading source files. Returns purpose, parameters, returns, and file path.
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": "get_function_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_name | Yes | Function name to look up | |
| include_details | No | If false, omit purpose/parameters/returns for lightweight listing | |
| details_only | No | If true, return only id/name + purpose/parameters/returns (when AI already has the rest) |