List the merge policies of a project, which set the approvals and reviewers a branch needs. Requires project.read.
Arguments
project_referencestringProject ID or slug
enabled_onlybooleanOnly return enabled policies
limitinteger · min 1 · max 100Page size 1–100. Omit limit and cursor for the complete collection; cursor alone defaults to 20.
cursorstring · min length 1 · max length 4096Opaque continuation bound to collection, project, branch, principal, filters and page size.
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__list_branch_policies", "arguments": {} }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"policies\":[{\"id\":\"string\",\"name\":\"string\",\"is_enabled\":false,\"required_approvals\":0,\"allow_self_approval\":false,\"target_branch_pattern\":\"string\"}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"}}" } ], "structuredContent": { "policies": [ { "id": "string", "name": "string", "is_enabled": false, "required_approvals": 0, "allow_self_approval": false, "target_branch_pattern": "string" } ], "page_info": { "self": "string", "first": null, "next": "string", "prev": "string" } } }}The tool ran; its output is result.structuredContent.