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").
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"engagement_id": "<engagement_id>",
"target": "<target>"
},
"name": "configure_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| engagement_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| success | Yes |