CAIN-42 CAIN Studio

API reference · schema

ToolRuleTestRequest

6 fields · used by 1 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
pathstring or null
servicestring or null
agent_idstring or null
payloadobject
rulesarray of ToolRuleRequest or null
default_effectstring or null

Used by 1 operation

POST/fabric/tool-rules/testWhich rule would decide this call? (no evidence, no quota)

Nested schemas

ToolRuleCondition · ToolRuleRequest · ToolRuleTransform

JSON Schema

Show the raw definition
{
  "properties": {
    "path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Path"
    },
    "service": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Service"
    },
    "agent_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Id"
    },
    "payload": {
      "additionalProperties": true,
      "type": "object",
      "title": "Payload"
    },
    "rules": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/ToolRuleRequest"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Rules"
    },
    "default_effect": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Default Effect"
    }
  },
  "type": "object",
  "title": "ToolRuleTestRequest"
}

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