zap_auth_session_prepare
Prepare a guided authentication session from an operator-managed profile before ZAP Client Spider, HTTP spider, or active scans on an authorized origin.
Instructions
Prepare a guided auth session from an operator-managed profile. Use a kind=browser profile for Client Spider, or kind=form for HTTP spider and active scans. The requested target must remain on the profile's authorized origin.
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": {
"profileId": "<profileId>",
"targetUrl": "<targetUrl>"
},
"name": "zap_auth_session_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profileId | Yes | Operator-configured authentication profile ID | |
| targetUrl | Yes | Target URL on the profile's authorized origin; paths may vary |