Find code in the codebase graph
graph_findSearch a local codebase graph for functions, methods, and classes by name; returns IDs, file paths, line numbers, and summaries, building the graph first if missing.
Instructions
Search the codebase graph for functions, methods and classes by name. Each result has its id, file, line and plain-English summary when one exists. Builds the graph first if the repository has none (Python, TypeScript, JavaScript). Returns JSON. Read-only and local.
Works without SKYLOS_API_KEY and has no daily limit: it reads the repository on this machine and sends nothing to Skylos Cloud.
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": {
"query": "<query>"
},
"name": "graph_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Project directory. A relative path resolves against the MCP server's working directory. | . |
| query | Yes | Part of a function, method, class or file name | |
| include_tests | No | Also search test code |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |