Skip to content

fix: added four optional parameters to findResources#15901

Open
nehaaprasad wants to merge 2 commits into
payloadcms:mainfrom
nehaaprasad:add-mcp-version-ops
Open

fix: added four optional parameters to findResources#15901
nehaaprasad wants to merge 2 commits into
payloadcms:mainfrom
nehaaprasad:add-mcp-version-ops

Conversation

@nehaaprasad

Copy link
Copy Markdown
Contributor

What?

  • Adds populate, joins, trash, and pagination to the MCP find tool.

Why?

  • These options were missing, so MCP clients couldn’t use the full payload.find / payload.findByID API.

How?

  • Defined the new parameters in the schema, parsed populate and joins when given as JSON, and passed them through to the Payload API.

fix : #15880

@PatrikKozak PatrikKozak self-assigned this Apr 2, 2026
@PatrikKozak PatrikKozak self-requested a review April 2, 2026 15:53
@denolfe denolfe added the v3 label Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plugin-mcp: find tool is missing populate, joins, trash, and pagination args

3 participants