intentfence_preflight
Evaluate spend, scope, data, and approval constraints before an agent tool call. Returns safe_to_proceed, needs_review, or denied.
Parameters4
| subject | string | required | Agent or principal identifier. |
| action | object | required | |
| constraints | object | optional | |
| proofs | array | optional |
Raw schema
{
"type": "object",
"properties": {
"subject": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Agent or principal identifier."
},
"action": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"resource": {
"type": "string",
"maxLength": 500
}
}
},
"constraints": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"maxLength": 12
},
"cost_ceiling": {
"type": "number",
"minimum": 0
},
"quoted_cost": {
"type": "number",
"minimum": 0
},
"data_retention_hours": {
"type": "number",
"minimum": 0
},
"human_approval": {
"type": "string",
"enum": [
"required",
"optional",
"not_required"
]
}
}
},
"proofs": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string"
}
}
},
"required": [
"subject",
"action"
]
}