Concept: Agent Evaluation | Python:
client.agent.evaluate_tool_call()Parameters
Tool का नाम जो call हो रहा है।
Tool को pass हो रहे parameters।
Agent की role और current task। Object में optional fields हैं:
goal (string), prior_tool_calls (array of objects), agent_id (string), turn_index (integer)।Domain hint जो evaluation को tune करता है (e.g.
finance, healthcare)।Evaluation की depth:
basic या deep।Frameworks जिनके against call को check करना है (e.g.
india_dpdp, gdpr)।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
"ALLOW", "FLAG", या "BLOCK"। BLOCK decision HTTP 403 return करता है; ALLOW/FLAG 200 return करते हैं।Decision के लिए human-readable explanation।
score (0-10), confidence (0-1), और एक summary string।Safer parameter values जब engine उन्हें propose कर सके, अन्यथा
null।