Skip to main content
List all approvals for a branch.

Tool details

FieldValue
Namelist_branch_approvals
GroupBranches

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "branch_id": {
      "type": "string",
      "format": "uuid",
      "description": "Branch ID"
    }
  },
  "required": [
    "branch_id"
  ],
  "additionalProperties": false,
  "description": "Input schema for the list_branch_approvals tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "approvals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the record."
          },
          "approved_by": {
            "type": "string",
            "description": "The approved by associated with this record."
          },
          "approved_at": {
            "type": "string",
            "description": "The approved at associated with this record."
          },
          "comment": {
            "type": [
              "string",
              "null"
            ],
            "description": "The comment associated with this record."
          },
          "is_dismissed": {
            "type": "boolean",
            "description": "The is dismissed associated with this record."
          }
        },
        "required": [
          "id",
          "approved_by",
          "approved_at",
          "comment",
          "is_dismissed"
        ],
        "additionalProperties": false,
        "description": "One approval item associated with this record."
      },
      "description": "List of approvals associated with this record."
    }
  },
  "required": [
    "approvals"
  ],
  "additionalProperties": false,
  "description": "Structured list approvals output schema for MCP tools.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}