filament_list_docs
Browse documentation sections for Filament admin panels to find component references and implementation guidance for Laravel framework versions.
Instructions
List documentation sections
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": "filament_list_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | 5.x |
Implementation Reference
- src/tools/index.ts:186-191 (handler)The 'filament_list_docs' tool is defined as a server tool registration that returns documentation sections based on the provided version. The handler logic is directly implemented in the async callback function starting at line 188.
server.tool("filament_list_docs", "List documentation sections", { version: versionSchema, }, async ({ version }) => { const sections = version === "4.x" ? documentationSections.v4 : documentationSections.v5; return { content: [{ type: "text", text: `# Docs Index (${version})\n\n${sections.map(s => `## ${s.category}\n${s.sections.map(sec => `- ${sec}`).join("\n")}`).join("\n\n")}` }] }; });