score_response
Evaluate any text by applying a named scorer to obtain risk, confidence, and explanation scores.
Instructions
Score arbitrary text (e.g. a target response) with a named PyRIT scorer.
Returns success/confidence/risk/explanation/raw_score/metadata per PRD contract.
Scorers that require an LLM judge (see list_capabilities) reuse the engagement's
configured target as the judge model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| scorer_name | Yes | ||
| engagement_id | Yes | ||
| scorer_params | No | ||
| conversation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| success | Yes |