nextjs_docs
Fetch Next.js documentation by path, using the documentation index to find the correct path.
Instructions
Fetch Next.js official documentation by path.
IMPORTANT: You MUST first read the nextjs-docs://llms-index MCP resource to get the correct path. Do NOT guess paths.
Workflow:
Read the
nextjs-docs://llms-indexresource to get the documentation indexFind the relevant path in the index for what you're looking for
Call this tool with that exact path
Example: nextjs_docs({ path: "/docs/app/api-reference/functions/refresh" })
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": "nextjs_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | ||
| query | No | ||
| path | No | ||
| anchor | No |