project_profile
Detects a project's architecture, layers, and design patterns from folder and file names, cross-checked against the code graph. Call it first in an unfamiliar codebase before searching or outlining.
Instructions
Project profile from folder and file names, checked against the code graph: architecture (Laravel/Yii layered MVC, DDD/hexagonal, Vue/React frontend, SwiftUI MVVM, Rust web), layers with their folders and file counts, design patterns, the call direction between layers, unknown folders (~15 lines). Call it first in an unfamiliar project, then pass layer (e.g. "service") to outline / search / find_callers. Example: {} or {"project": "shop", "full": true}. Pitfall: a layer name comes from this list (controller, service, repository, model, component, store…), not a folder path.
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": "project_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Per-folder details, confidence counts and the call pairs between layers. | |
| project | No | Registered project alias; default: the server's working directory. |