56 lines
1.1 KiB
JSON
56 lines
1.1 KiB
JSON
{
|
|
"type": "object",
|
|
"required": ["kind", "intent", "risk_level", "actions"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"enum": ["action_directive"]
|
|
},
|
|
"intent": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"risk_level": {
|
|
"type": "string",
|
|
"enum": ["none", "low", "medium", "high", "critical"]
|
|
},
|
|
"actions": {
|
|
"type": "array",
|
|
"minItems": 0,
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["tool", "args"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"tool": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"args": {
|
|
"type": "object"
|
|
},
|
|
"reason": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"memory_hints": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"expected_observations": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"stop_reason": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|