API reference · schema
ToolRuleTestRequest
6 fields · used by 1 operations
Last reviewed 2026-10-02
Fields
| Field | Type | Meaning |
|---|---|---|
path | string or null | |
service | string or null | |
agent_id | string or null | |
payload | object | |
rules | array of ToolRuleRequest or null | |
default_effect | string or null |
Used by 1 operation
| POST | /fabric/tool-rules/test | Which 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