Skip to main content
Glama

filament_get_relationships

Retrieve Laravel relationship types to understand data connections in Filament admin panels.

Instructions

Get Laravel relationship types

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration and handler implementation for the filament_get_relationships tool.
    server.tool("filament_get_relationships", "Get Laravel relationship types", {}, async () => {
      return { content: [{ type: "text", text: `# Relationship Types\n\n${relationshipTypes.map(r => `## ${r.type}\n${r.description}\n\`\`\`php\n${r.example}\n\`\`\`\nRelationManager: ${r.relationManager ? "Yes" : "No"}`).join("\n\n")}` }] };
    });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/serbansorin/filament-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server