veryfront__list_branches
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 |
|---|---|---|---|
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. |
search | string | No | Case-insensitive partial branch-name match. |
status | string | No | Branch status filter; defaults to all. Default: "all". Values: "active", "merged", "closed", "all". |
project_reference | string | No | Project ID or slug |
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_branches",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 |
|---|---|---|---|
branches | object[] | Yes | Persisted project branches, including the root branch. 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 "limit": {5 "type": "integer",6 "minimum": 1,7 "maximum": 100,8 "description": "Page size 1-100. Omit limit and cursor for the complete collection; cursor alone defaults to 20."9 },10 "cursor": {11 "type": "string",12 "minLength": 1,13 "maxLength": 4096,14 "description": "Opaque continuation bound to collection, project, branch, principal, filters and page size."15 },16 "search": {17 "type": "string",18 "description": "Case-insensitive partial branch-name match."19 },20 "status": {21 "type": "string",22 "enum": [23 "active",24 "merged",25 "closed",26 "all"27 ],28 "description": "Branch status filter; defaults to all.",29 "default": "all"30 },31 "project_reference": {32 "type": "string",33 "description": "Project ID or slug"34 }35 },36 "additionalProperties": false,37 "description": "Arguments for the list_branches tool.",38 "$schema": "http://json-schema.org/draft-07/schema#"39}output-schema.json
1{2 "type": "object",3 "properties": {4 "branches": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "id": {10 "type": "string",11 "description": "Branch ID."12 },13 "name": {14 "type": "string",15 "description": "Branch name."16 },17 "project_id": {18 "type": "string",19 "description": "ID of the project the branch belongs to."20 },21 "base_branch_id": {22 "type": [23 "string",24 "null"25 ],26 "description": "ID of the branch this branch was created from, or null."27 },28 "created_at": {29 "type": [30 "string",31 "null"32 ],33 "description": "When the branch was created."34 },35 "created_by": {36 "type": [37 "string",38 "null"39 ],40 "description": "ID of the user who created the branch."41 },42 "merged_at": {43 "type": [44 "string",45 "null"46 ],47 "description": "When the branch was merged; null until merged."48 },49 "merged_by": {50 "type": [51 "string",52 "null"53 ],54 "description": "ID of the user who merged the branch; null until merged."55 },56 "version": {57 "type": "number",58 "description": "Branch version number."59 },60 "status": {61 "type": "string",62 "enum": [63 "active",64 "merged",65 "closed"66 ],67 "description": "Branch lifecycle status."68 },69 "description": {70 "type": [71 "string",72 "null"73 ],74 "description": "Branch description."75 },76 "auto_delete_on_merge": {77 "type": "boolean",78 "description": "Whether the branch is deleted after it merges."79 }80 },81 "required": [82 "id",83 "name",84 "project_id",85 "base_branch_id",86 "created_at",87 "created_by",88 "merged_at",89 "merged_by",90 "version",91 "status",92 "description",93 "auto_delete_on_merge"94 ],95 "additionalProperties": false96 },97 "description": "Persisted project branches, including the root branch. Paged results use ID ascending order; omit limit and cursor for the complete collection."98 },99 "page_info": {100 "type": "object",101 "properties": {102 "self": {103 "type": [104 "string",105 "null"106 ],107 "description": "Cursor used for this page."108 },109 "first": {110 "type": "null",111 "description": "Omit cursor to request the first page."112 },113 "next": {114 "type": [115 "string",116 "null"117 ],118 "description": "Next page cursor, or null on the last page."119 },120 "prev": {121 "type": [122 "string",123 "null"124 ],125 "description": "Previous page cursor, or null on the first page."126 }127 },128 "required": [129 "self",130 "first",131 "next",132 "prev"133 ],134 "additionalProperties": false,135 "description": "Pagination cursor values for traversing the result set."136 }137 },138 "required": [139 "branches"140 ],141 "additionalProperties": false,142 "description": "Structured result returned by the list_branches tool.",143 "$schema": "http://json-schema.org/draft-07/schema#"144}