get_quick_reference
Retrieve all Laravel coding rules and quick reference documentation to access essential development guidelines and standards.
Instructions
Get the quick reference documentation (all coding rules)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.js:167-190 (handler)Complete implementation of the get_quick_reference tool. Registers the tool with MCP server, defines the schema (empty input), and provides the handler function that reads and returns the content of ai/quick-reference.md file.
// Register tool: Get quick reference server.registerTool( 'get_quick_reference', { description: 'Get the quick reference documentation (all coding rules)', inputSchema: {}, }, async () => { const filePath = path.join(DOCS_PATH, 'ai/quick-reference.md'); if (!fs.existsSync(filePath)) { throw new Error('Quick reference documentation not found'); } const content = fs.readFileSync(filePath, 'utf-8'); return { content: [{ type: 'text', text: content, }], }; } );