{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agent4-io/json-schema/agent4-io-agent-out-schema.json",
  "title": "AgentOut",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/agent4-io-api-openapi.json#/components/schemas/AgentOut",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Id"
    },
    "alias": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Alias"
    },
    "soul": {
      "type": "string",
      "title": "Soul"
    },
    "task": {
      "type": "string",
      "title": "Task"
    },
    "tools": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tools"
    },
    "skills": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Skills",
      "default": []
    },
    "knowledge_bases": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Knowledge Bases",
      "default": []
    },
    "history_window": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "History Window"
    },
    "max_output_tokens": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Output Tokens"
    },
    "tool_call_max_tokens": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tool Call Max Tokens"
    },
    "model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model"
    },
    "published": {
      "type": "boolean",
      "title": "Published",
      "default": false
    },
    "greeting": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Greeting"
    },
    "auto_greeting": {
      "type": "boolean",
      "title": "Auto Greeting",
      "default": false
    },
    "auto_suggest": {
      "type": "boolean",
      "title": "Auto Suggest",
      "default": false
    },
    "suggest_prompt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Suggest Prompt"
    },
    "ask_forms": {
      "type": "boolean",
      "title": "Ask Forms",
      "default": false
    },
    "proactive_cta": {
      "type": "boolean",
      "title": "Proactive Cta",
      "default": false
    },
    "cta_prompt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cta Prompt"
    },
    "no_match_reply": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "No Match Reply"
    },
    "reasoning": {
      "type": "boolean",
      "title": "Reasoning",
      "default": false
    },
    "grounding_required": {
      "type": "boolean",
      "title": "Grounding Required",
      "default": false
    },
    "injection_guard": {
      "type": "boolean",
      "title": "Injection Guard",
      "default": true
    },
    "public_sources": {
      "type": "boolean",
      "title": "Public Sources",
      "default": false
    },
    "ambiguity_check": {
      "type": "boolean",
      "title": "Ambiguity Check",
      "default": false
    },
    "deep_research": {
      "type": "boolean",
      "title": "Deep Research",
      "default": false
    },
    "on_demand_context": {
      "type": "boolean",
      "title": "On Demand Context",
      "default": false
    },
    "guard_escalation": {
      "type": "boolean",
      "title": "Guard Escalation",
      "default": false
    },
    "menu_items": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Menu Items"
    },
    "source": {
      "type": "string",
      "title": "Source"
    }
  },
  "type": "object",
  "required": [
    "name",
    "soul",
    "task",
    "tools",
    "source"
  ]
}