run_attack
Test a language model for vulnerabilities by specifying model type, model name, and attack probe. Returns a list of detected vulnerabilities.
Instructions
Run an attack with the given model and probe which is a Garak attack.
Args:
model_type (str): The type of model to use.
model_name (str): The name of the model to use.
probe_name (str): The name of the attack / probe to use.
Returns:
list: A list of vulnerabilities.
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": {
"model_type": "<model_type>",
"model_name": "<model_name>",
"probe_name": "<probe_name>"
},
"name": "run_attack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_name | Yes | ||
| model_type | Yes | ||
| probe_name | Yes |