Skip to main content

Parameters

tool_name
string
required
Name of the tool being called.
tool_params
object
required
Parameters being passed to the tool.
agent_context
object
The agent’s role and current task. Object with optional fields: goal (string), prior_tool_calls (array of objects), agent_id (string), turn_index (integer).
domain
string
default:"general"
Domain hint used to tune evaluation (e.g. finance, healthcare).
mode
string
default:"basic"
Evaluation depth: basic or deep.
compliance_frameworks
string[]
Frameworks to check the call against (e.g. india_dpdp, gdpr).
custom_thresholds
object
Override decision thresholds. Object with optional fields: block_below (number 0-10), flag_below (number 0-10), dimension_minimums (object of dimension → minimum score).

Request

Response

decision
string
"ALLOW", "FLAG", or "BLOCK". A BLOCK decision returns HTTP 403; ALLOW/FLAG return 200.
decision_reason
string
Human-readable explanation for the decision.
rail_score
object
score (0-10), confidence (0-1), and a summary string.
suggested_params
object
Safer parameter values when the engine can propose them, otherwise null.