configure_target
Set or update the REST chat endpoint, authentication, and request/response mapping for an AI red-teaming engagement.
Instructions
Configure (or replace) the REST chat target for an engagement.
`target.request_template` is the JSON body sent to the endpoint, with the
literal token `target.prompt_placeholder` (default "{{PROMPT}}") substituted
with the outgoing prompt text anywhere it appears. `target.response_text_path`
is a dotted/indexed path used to extract the reply text from the JSON response
(e.g. "choices.0.message.content").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| engagement_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| success | Yes |