run_fgsm
Evaluate clinical AI model robustness by running a LIME-guided FGSM adversarial attack. Returns AUROC drop, flip rate, and clinical-plausibility rate.
Instructions
Run a LIME-guided FGSM adversarial attack against a registered model.
`batch` is capped at 100 samples -- the validated protocol limit.
Returns AUROC drop, flip rate, and the clinical-plausibility rate of
the generated adversarial samples. A 100% plausibility rate does not
mean the attack failed: it means bounds clipping alone does not stop
the attack, since perturbations are clipped to clinical bounds by
construction.
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_handle": "<model_handle>",
"batch": "<batch>"
},
"name": "run_fgsm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| batch | Yes | ||
| epsilon | No | ||
| model_handle | Yes | ||
| n_lime_samples | No |