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