get_file_signatures
Extract function and class signatures from code files matching a path to analyze API surfaces and module interfaces.
Instructions
Get function and class signatures from files matching a path.
Use this to understand the API surface of a module without reading every file. Returns function names, parameters, return types, and class hierarchies.
More structured than semantic search — gives you the exact interface of code modules.
Args: file_path: Substring to match in file paths (case-insensitive). E.g. "models", "api/routes", ".py", "utils". Empty string matches all files.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_file_signatures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |