CAIN-42 is in Public Beta. Expect changes, and do not rely on it as your only control for anything critical. What beta means
CAIN-42 CAIN Studio

API reference · schema

LiteLLMGuardrailRequest

10 fields · used by 0 operations

Last reviewed 2026-10-16

Fields

FieldTypeMeaning
textsarray of string
imagesarray of string or null
toolsarray of object or null
tool_callsarray of object or null
structured_messagesarray of object or null
request_dataobject
additional_provider_specific_paramsobject
input_typestringdefault "request"
litellm_call_idstring or null
litellm_trace_idstring or null

Smallest valid example

{
  "input_type": "request"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "texts": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Texts"
    },
    "images": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Images"
    },
    "tools": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tools"
    },
    "tool_calls": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tool Calls"
    },
    "structured_messages": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Structured Messages"
    },
    "request_data": {
      "additionalProperties": true,
      "type": "object",
      "title": "Request Data"
    },
    "additional_provider_specific_params": {
      "additionalProperties": true,
      "type": "object",
      "title": "Additional Provider Specific Params"
    },
    "input_type": {
      "type": "string",
      "title": "Input Type",
      "default": "request"
    },
    "litellm_call_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Litellm Call Id"
    },
    "litellm_trace_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Litellm Trace Id"
    }
  },
  "type": "object",
  "title": "LiteLLMGuardrailRequest"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 30-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem