delete_scan_schedule
Delete a scan schedule by providing its ID. Removes the specified schedule from the system.
Instructions
Delete a scan schedule.
Args:
schedule_id: The ID of the scan schedule to delete
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- intruder_mcp/server.py:427-436 (handler)MCP tool handler that deletes a scan schedule by ID via the Intruder API client.
@mcp.tool() async def delete_scan_schedule(schedule_id: int) -> str: """ Delete a scan schedule. Args: schedule_id: The ID of the scan schedule to delete """ api.delete_scan_schedule(schedule_id) return f"Deleted scan schedule {schedule_id}" - intruder_mcp/api_client.py:322-323 (helper)API client helper that sends a DELETE request to /scans/schedules/{schedule_id}/.
def delete_scan_schedule(self, schedule_id: int) -> None: self.client.delete(f"{self.base_url}/scans/schedules/{schedule_id}/") - intruder_mcp/server.py:427-428 (registration)The @mcp.tool() decorator registers delete_scan_schedule as an MCP tool.
@mcp.tool() async def delete_scan_schedule(schedule_id: int) -> str: