Get branch

Read one branch by ID, with its status, version and base branch. Requires project.read.

Arguments

  • branch_idstring · uuidrequired

    Branch ID

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__get_branch",    "arguments": {      "branch_id": "00000000-0000-0000-0000-000000000000"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"string\",\"name\":\"string\",\"project_id\":\"string\",\"base_branch_id\":\"string\",\"created_at\":\"string\",\"created_by\":\"string\",\"merged_at\":\"string\",\"merged_by\":\"string\",\"version\":0,\"status\":\"active\",\"description\":\"string\",\"auto_delete_on_merge\":false}"      }    ],    "structuredContent": {      "id": "string",      "name": "string",      "project_id": "string",      "base_branch_id": "string",      "created_at": "string",      "created_by": "string",      "merged_at": "string",      "merged_by": "string",      "version": 0,      "status": "active",      "description": "string",      "auto_delete_on_merge": false    }  }}

The tool ran; its output is result.structuredContent.