framework_view
Extract framework-specific views such as routes, middleware, validation, jobs, events, providers, DI, and views from a directory or file to map how an application is structured.
Instructions
Framework view of a directory: routes, middleware, validation, jobs, events, providers, magic, di, views. Example: {"view": "routes", "path": "routes"}. Run it on the directory that holds the definitions (a file works too).
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": {
"view": "<view>",
"path": "<path>"
},
"name": "framework_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Disable the 400-line output cap. | |
| path | Yes | Directory (or file) relative to the project root, e.g. `routes`, `app`. | |
| view | Yes | Which view. | |
| project | No | Registered project alias; default: the server's working directory. |