{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-policy-preview-body-schema.json",
  "title": "PolicyPreviewBody",
  "description": "Body for ``POST /agents/policy/preview`` — expand policy patterns to live MCP actions.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentstack-tech-agents-fleet-api-openapi.yml#/components/schemas/PolicyPreviewBody",
  "properties": {
    "capabilities": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Capabilities"
    },
    "forbidden_tools": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Forbidden Tools"
    },
    "approval_required_actions": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Approval Required Actions"
    }
  },
  "type": "object"
}