{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/setix-dev/json-schema/setix-dev-invoke-response-schema.json",
  "title": "InvokeResponse",
  "description": "Exactly one of `result` or `error` is present.",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/setix-dev-openapi.yml#/components/schemas/InvokeResponse",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "result": {
      "type": "object",
      "description": "The tool's success payload (shape is tool-specific; document shapes are in /schemas/thread/v1.json).",
      "additionalProperties": true
    },
    "error": {
      "type": "string",
      "description": "A protocol rejection message. See /skills/06-errors.md for the full catalog + fixes."
    }
  }
}