CAIN-42 CAIN Studio

API reference · schema

PlanCandidatesRequest

8 fields · used by 1 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
goal requiredstring
intent requiredstring
modestringdefault "EXPLORATORY"
available_skillsarray of object or nulldefault []
relevant_memoriesarray of object or nulldefault []
available_toolsarray of string or nulldefault []
constraintsarray of object or nulldefault []
optimizationmap of string to boolean or nulldefault {}

Smallest valid example

{
  "goal": "goal",
  "intent": "intent",
  "mode": "EXPLORATORY",
  "available_skills": [],
  "relevant_memories": [],
  "available_tools": [],
  "constraints": [],
  "optimization": {}
}

Used by 1 operation

POST/fabric/plans/candidatesGenerate Candidates

JSON Schema

Show the raw definition
{
  "properties": {
    "goal": {
      "type": "string",
      "title": "Goal"
    },
    "intent": {
      "type": "string",
      "title": "Intent"
    },
    "mode": {
      "type": "string",
      "title": "Mode",
      "default": "EXPLORATORY"
    },
    "available_skills": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Available Skills",
      "default": []
    },
    "relevant_memories": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Relevant Memories",
      "default": []
    },
    "available_tools": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Available Tools",
      "default": []
    },
    "constraints": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Constraints",
      "default": []
    },
    "optimization": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "boolean"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Optimization",
      "default": {}
    }
  },
  "type": "object",
  "required": [
    "goal",
    "intent"
  ],
  "title": "PlanCandidatesRequest"
}

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