explain_route
Resolve a concrete Nuxt URL through static analysis to show matched page, dynamic params, nested parents, layout, middleware order, data-fetching calls, and mapped API handlers.
Instructions
Explain how Nuxt resolves a concrete URL (e.g. /users/42): matched page, dynamic params, nested parents, layout, middleware order, data-fetching calls, and mapped /api server handlers. Static analysis only — no DevServer or nuxi prepare.
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": {
"route": "<route>"
},
"name": "explain_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Optional project root override (defaults to the server project path) | |
| route | Yes | Concrete URL path to explain, e.g. /users/42 or /blog/hello/world |