veryfront__list_branch_policies
Requires project.read.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug |
enabled_only | boolean | No | Only return enabled policies |
limit | integer | No | Page size 1-100. Omit limit and cursor for the complete collection; cursor alone defaults to 20. Minimum: 1. Maximum: 100. |
cursor | string | No | Opaque continuation bound to collection, project, branch, principal, filters and page size. Minimum length: 1. Maximum length: 4096. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__list_branch_policies",7 "arguments": {}8 }9}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
policies | object[] | Yes | Paged results use ID ascending order; omit limit and cursor for the complete collection. |
page_info | object | No | Pagination cursor values for traversing the result set. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug"7 },8 "enabled_only": {9 "type": "boolean",10 "description": "Only return enabled policies"11 },12 "limit": {13 "type": "integer",14 "minimum": 1,15 "maximum": 100,16 "description": "Page size 1-100. Omit limit and cursor for the complete collection; cursor alone defaults to 20."17 },18 "cursor": {19 "type": "string",20 "minLength": 1,21 "maxLength": 4096,22 "description": "Opaque continuation bound to collection, project, branch, principal, filters and page size."23 }24 },25 "additionalProperties": false,26 "description": "Arguments for the list_branch_policies tool.",27 "$schema": "http://json-schema.org/draft-07/schema#"28}output-schema.json
1{2 "type": "object",3 "properties": {4 "policies": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "id": {10 "type": "string",11 "description": "Unique identifier for the record."12 },13 "name": {14 "type": "string",15 "description": "Human-readable name for the record."16 },17 "is_enabled": {18 "type": "boolean",19 "description": "The is enabled associated with this record."20 },21 "required_approvals": {22 "type": "number",23 "description": "The required approvals associated with this record."24 },25 "allow_self_approval": {26 "type": "boolean",27 "description": "The allow self approval associated with this record."28 },29 "target_branch_pattern": {30 "type": [31 "string",32 "null"33 ],34 "description": "The target branch pattern associated with this record."35 }36 },37 "required": [38 "id",39 "name",40 "is_enabled",41 "required_approvals",42 "allow_self_approval",43 "target_branch_pattern"44 ],45 "additionalProperties": false,46 "description": "One policy item associated with this record."47 },48 "description": "Paged results use ID ascending order; omit limit and cursor for the complete collection."49 },50 "page_info": {51 "type": "object",52 "properties": {53 "self": {54 "type": [55 "string",56 "null"57 ],58 "description": "Cursor used for this page."59 },60 "first": {61 "type": "null",62 "description": "Omit cursor to request the first page."63 },64 "next": {65 "type": [66 "string",67 "null"68 ],69 "description": "Next page cursor, or null on the last page."70 },71 "prev": {72 "type": [73 "string",74 "null"75 ],76 "description": "Previous page cursor, or null on the first page."77 }78 },79 "required": [80 "self",81 "first",82 "next",83 "prev"84 ],85 "additionalProperties": false,86 "description": "Pagination cursor values for traversing the result set."87 }88 },89 "required": [90 "policies"91 ],92 "additionalProperties": false,93 "description": "Structured list policies output schema for MCP tools.",94 "$schema": "http://json-schema.org/draft-07/schema#"95}