{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/backworkhealth-com/json-schema/backworkhealth-com-agent-check-coverage-input-schema.json",
  "title": "AgentCheckCoverageInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/backworkhealth-com-agent-tools-api-openapi.yml#/components/schemas/AgentCheckCoverageInput",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "pattern": "^[A-Za-z0-9.-]{2,20}$",
      "description": "CPT, HCPCS, ICD-10-CM, or ICD-10-PCS code"
    },
    "state": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$"
    },
    "response_format": {
      "default": "concise",
      "description": "Use concise for normal agent reasoning; use detailed only when the agent needs IDs, source metadata, or audit evidence.",
      "type": "string",
      "enum": [
        "concise",
        "detailed"
      ]
    }
  },
  "required": [
    "code"
  ],
  "additionalProperties": false
}