CAIN-42 CAIN Studio

API reference · schema

EvalReq

11 fields · used by 0 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
token requiredstringmax length 64
chainarray of objectmax items 8
agentstringmax length 64 · default "agent"
tool requiredstringmax length 120
action requiredstringmax length 120
resource requiredstringmax length 120
sessionstringmax length 64 · default "S1"
tenantstringmax length 64 · default "t1"
argsany
popobject or null
memory_idsarray of string or nullmax items 8

Smallest valid example

{
  "token": "token",
  "agent": "agent",
  "tool": "tool",
  "action": "action",
  "resource": "resource",
  "session": "S1",
  "tenant": "t1"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "token": {
      "type": "string",
      "maxLength": 64,
      "title": "Token"
    },
    "chain": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "maxItems": 8,
      "title": "Chain"
    },
    "agent": {
      "type": "string",
      "maxLength": 64,
      "title": "Agent",
      "default": "agent"
    },
    "tool": {
      "type": "string",
      "maxLength": 120,
      "title": "Tool"
    },
    "action": {
      "type": "string",
      "maxLength": 120,
      "title": "Action"
    },
    "resource": {
      "type": "string",
      "maxLength": 120,
      "title": "Resource"
    },
    "session": {
      "type": "string",
      "maxLength": 64,
      "title": "Session",
      "default": "S1"
    },
    "tenant": {
      "type": "string",
      "maxLength": 64,
      "title": "Tenant",
      "default": "t1"
    },
    "args": {
      "title": "Args"
    },
    "pop": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pop"
    },
    "memory_ids": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 8
        },
        {
          "type": "null"
        }
      ],
      "title": "Memory Ids"
    }
  },
  "type": "object",
  "required": [
    "token",
    "tool",
    "action",
    "resource"
  ],
  "title": "EvalReq"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 7-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