fileType
(enum): Type of file - "collection", "field", "global", or "config"
How to use it
fileType is exposed by the Payloadcmsmcp MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the fileType tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Payloadcmsmcp
$
npm install -g payload-cms-mcp