Skip to content
HALOWERK

Denkwerk

agent permission diff

Takes the tool names (with optional descriptions) and permission scopes of an agent before and after a change and reports added and removed tools and scopes, classifies new capabilities by risk (payments, sending messages, deleting or writing data, code execution, credential access, external network) from names, descriptions and scope strings, and returns a risk delta. Useful as a review gate in CI for agent deployments.

POST https://denk.halowerk.com/v1/agent-permission-diff

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
beforeobjectYes
afterobjectYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "before",
    "after"
  ],
  "properties": {
    "before": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "tools": {
          "type": "array",
          "maxItems": 500,
          "items": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "description": {
                "type": "string"
              }
            }
          }
        },
        "scopes": {
          "type": "array",
          "maxItems": 500,
          "items": {
            "type": "string"
          }
        }
      }
    },
    "after": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "tools": {
          "type": "array",
          "maxItems": 500,
          "items": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "description": {
                "type": "string"
              }
            }
          }
        },
        "scopes": {
          "type": "array",
          "maxItems": 500,
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

Open original schema

Published input example

{
  "before": {
    "tools": [
      {
        "name": "read_calendar"
      }
    ],
    "scopes": [
      "calendar.readonly"
    ]
  },
  "after": {
    "tools": [
      {
        "name": "read_calendar"
      },
      {
        "name": "send_payment",
        "description": "Pay an invoice from the company account."
      }
    ],
    "scopes": [
      "calendar.readonly",
      "gmail.send"
    ]
  }
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’