cancelScan
Stop an active security scan in the Pentest MCP server by providing its scan ID to halt ongoing penetration testing operations.
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": {
"scanId": "<scanId>"
},
"name": "cancelScan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scanId | Yes | The ID of the scan to cancel |