API reference · schema
LiteLLMGuardrailRequest
10 fields · used by 0 operations
Last reviewed 2026-10-16
Fields
| Field | Type | Meaning |
|---|---|---|
texts | array of string | |
images | array of string or null | |
tools | array of object or null | |
tool_calls | array of object or null | |
structured_messages | array of object or null | |
request_data | object | |
additional_provider_specific_params | object | |
input_type | string | default "request" |
litellm_call_id | string or null | |
litellm_trace_id | string 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