filament_get_commands
Retrieve Filament artisan commands to manage admin panel development and operations within Laravel applications.
Instructions
Get Filament artisan commands
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | 5.x |
Implementation Reference
- src/tools/index.ts:148-153 (handler)The implementation and registration of the "filament_get_commands" tool. It retrieves artisan commands based on the requested Filament version from the `artisanCommands` data source.
server.tool("filament_get_commands", "Get Filament artisan commands", { version: versionSchema, }, async ({ version }) => { const commands = version === "4.x" ? artisanCommands.v4 : artisanCommands.v5; return { content: [{ type: "text", text: `# Filament ${version} Commands\n\n\`\`\`bash\n${commands.map(c => `${c.command} # ${c.description}`).join("\n")}\n\`\`\`` }] }; });