{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aiworkstation-cn/json-schema/aiworkstation-cn-aichat-action-request-schema.json",
  "title": "AIChatActionRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aiworkstation-cn-openapi.json#/components/schemas/AIChatActionRequest",
  "properties": {
    "client_id": {
      "type": "string",
      "title": "Client Id"
    },
    "thread_id": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "title": "Thread Id"
    },
    "action": {
      "type": "string",
      "maxLength": 24,
      "minLength": 1,
      "title": "Action"
    },
    "target_message_uid": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Message Uid"
    },
    "member_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ],
      "title": "Member Id"
    },
    "username": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ],
      "title": "Username"
    },
    "invite_code": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Invite Code"
    },
    "memory_enabled": {
      "type": "boolean",
      "title": "Memory Enabled",
      "default": false
    },
    "model_alias": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model Alias"
    },
    "reasoning_effort": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reasoning Effort",
      "default": "medium"
    },
    "terminal": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Terminal"
    },
    "external_link_fetch_enabled": {
      "type": "boolean",
      "title": "External Link Fetch Enabled",
      "default": true
    },
    "next_actions_enabled": {
      "type": "boolean",
      "title": "Next Actions Enabled",
      "default": false
    },
    "locale": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 16
        },
        {
          "type": "null"
        }
      ],
      "title": "Locale",
      "default": "en"
    }
  },
  "type": "object",
  "required": [
    "client_id",
    "thread_id",
    "action"
  ]
}