{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/superdocs-app/json-schema/superdocs-app-agent-handoff-request-schema.json",
  "title": "AgentHandoffRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/superdocs-app-agents-api-openapi.yml#/components/schemas/AgentHandoffRequest",
  "properties": {
    "email": {
      "type": "string",
      "maxLength": 255,
      "title": "Email",
      "description": "Your human operator's email. A one-time link to adopt this account is sent there."
    },
    "working_context": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "title": "Working Context",
      "description": "Recommended: a short, human-readable description of where you are running, so your operator recognizes the email and it isn't mistaken for spam (e.g. 'the ~/Documents/acme project on your Mac', or 'the Acme Slack workspace')."
    },
    "code_location": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "title": "Code Location",
      "description": "Optional: where you show or save the takeover code so your operator can find it (e.g. 'this chat', or '~/.superdocs/takeover-code.txt')."
    }
  },
  "type": "object",
  "required": [
    "email"
  ]
}