Concept: Agent Evaluation | Python:
client.agent.scan_tool_result()Parameters
Name of the tool that produced this result.
The raw output returned by the tool.
Description of the agent’s role and current task.
If
true, returns a redacted version of the result with PII replaced by placeholders.Request
Response
true if personally identifiable information was found in the tool result.true if a prompt injection attempt was detected in the tool output.Types of PII found:
full_name, email, phone, ssn, credit_card, address, date_of_birth, etc.The tool result with PII replaced by type placeholders. Only present when
redact_pii=true.Suggested action:
"allow", "warn", or "block".