add_target
Add a domain as a scan target using find-or-create, with SSRF protection blocking private/internal networks. Follow up with a separate scan trigger to start scanning.
Instructions
Add a target by domain, or return the existing one if it's already present (find-or-create). Blocked for internal/private-network domains by SSRF protection. Does not trigger a scan -- follow up with scan_trigger_by_target_id() if you want one.
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": {
"domain": "<domain>"
},
"name": "add_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes |