{
  "service": "trent",
  "displayName": "Trent",
  "categories": [
    "AI",
    "Security"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "TRENT_API_KEY",
      "description": "Trent API key sent with the Authorization header. Get OpenClaw access and create your key from Trent's OpenClaw setup flow: https://trent.ai/openclaw/",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://trent.ai/",
  "actions": [
    {
      "id": "trent.send_chat",
      "service": "trent",
      "name": "send_chat",
      "description": "Send one message to Trent's chat endpoint and return the assembled response content plus thread metadata.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "minLength": 1,
            "description": "The chat message or audit prompt to send to Trent."
          },
          "context": {
            "type": "string",
            "minLength": 1,
            "description": "Optional context string sent with the message."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "Optional Trent thread ID for continuing an existing conversation."
          },
          "client_info": {
            "type": "object",
            "properties": {
              "client_type": {
                "type": "string",
                "minLength": 1,
                "description": "The client type identifier sent to Trent."
              },
              "client_version": {
                "type": "string",
                "minLength": 1,
                "description": "The client version string sent to Trent."
              }
            },
            "additionalProperties": false,
            "description": "Client metadata sent to Trent for attribution and troubleshooting."
          }
        },
        "additionalProperties": false,
        "required": [
          "message"
        ],
        "description": "Input for sending one message to the Trent chat endpoint."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "description": "The complete response content assembled from Trent response chunks."
          },
          "thread_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Trent thread ID returned by the endpoint."
              },
              {
                "type": "null"
              }
            ]
          },
          "expiration_warning": {
            "anyOf": [
              {
                "type": "string",
                "description": "Advisory API-key expiration warning returned by Trent response headers."
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "array",
            "items": {
              "description": "One parsed Trent response event payload."
            },
            "description": "Raw event payloads received from Trent while assembling the response."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Trent chat response returned by the connector."
      }
    }
  ]
}
