List branch approvals

veryfront__list_branch_approvals

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

FieldTypeRequiredDescription and constraints
branch_idstringYesBranch ID Format: uuid.
limitintegerNoPage size 1-100. Omit limit and cursor for the complete collection; cursor alone defaults to 20. Minimum: 1. Maximum: 100.
cursorstringNoOpaque 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.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_branch_approvals",
    "arguments": {
      "branch_id": "00000000-0000-4000-8000-000000000000"
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
approvalsobject[]YesPaged results use ID ascending order; omit limit and cursor for the complete collection.
page_infoobjectNoPagination cursor values for traversing the result set.

Full schemas

json
{
  "type": "object",
  "properties": {
    "branch_id": {
      "type": "string",
      "format": "uuid",
      "description": "Branch ID"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "Page size 1-100. Omit limit and cursor for the complete collection; cursor alone defaults to 20."
    },
    "cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Opaque continuation bound to collection, project, branch, principal, filters and page size."
    }
  },
  "required": [
    "branch_id"
  ],
  "additionalProperties": false,
  "description": "Arguments for the list_branch_approvals tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "approvals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Approval ID."
          },
          "approved_by": {
            "type": "string",
            "description": "ID of the user who approved the branch."
          },
          "approved_at": {
            "type": "string",
            "description": "When the branch was approved, in ISO 8601 format."
          },
          "comment": {
            "type": [
              "string",
              "null"
            ],
            "description": "Comment recorded with the approval, or null."
          },
          "is_dismissed": {
            "type": "boolean",
            "description": "True when the approval has been dismissed."
          }
        },
        "required": [
          "id",
          "approved_by",
          "approved_at",
          "comment",
          "is_dismissed"
        ],
        "additionalProperties": false
      },
      "description": "Paged results use ID ascending order; omit limit and cursor for the complete collection."
    },
    "page_info": {
      "type": "object",
      "properties": {
        "self": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor used for this page."
        },
        "first": {
          "type": "null",
          "description": "Omit cursor to request the first page."
        },
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "Next page cursor, or null on the last page."
        },
        "prev": {
          "type": [
            "string",
            "null"
          ],
          "description": "Previous page cursor, or null on the first page."
        }
      },
      "required": [
        "self",
        "first",
        "next",
        "prev"
      ],
      "additionalProperties": false,
      "description": "Pagination cursor values for traversing the result set."
    }
  },
  "required": [
    "approvals"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the list_branch_approvals tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}