मुख्य सामग्री पर जाएं

Parameters

tool_name
string
आवश्यक
Tool का नाम जो call हो रहा है।
tool_params
object
आवश्यक
Tool को pass हो रहे parameters।
agent_context
object
Agent की role और current task। Object में optional fields हैं: goal (string), prior_tool_calls (array of objects), agent_id (string), turn_index (integer)।
domain
string
डिफ़ॉल्ट:"general"
Domain hint जो evaluation को tune करता है (e.g. finance, healthcare)।
mode
string
डिफ़ॉल्ट:"basic"
Evaluation की depth: basic या deep
compliance_frameworks
string[]
Frameworks जिनके against call को check करना है (e.g. india_dpdp, gdpr)।
custom_thresholds
object
Decision thresholds को override करें। Object में 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", या "BLOCK"BLOCK decision HTTP 403 return करता है; ALLOW/FLAG 200 return करते हैं।
decision_reason
string
Decision के लिए human-readable explanation।
rail_score
object
score (0-10), confidence (0-1), और एक summary string।
suggested_params
object
Safer parameter values जब engine उन्हें propose कर सके, अन्यथा null