delete_target_tag
Remove a specific tag from a target in Intruder.IO to organize and manage security testing assets.
Instructions
Remove a tag from a target.
Args:
target_id: The ID of the target to remove the tag from
tag_name: The name of the tag to remove
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | Yes | ||
| tag_name | Yes |
Implementation Reference
- intruder_mcp/server.py:230-240 (handler)MCP tool handler decorated with @mcp.tool(). Implements the delete_target_tag tool by calling the API client method and returning a success message. This is both the handler and registration point.@mcp.tool() async def delete_target_tag(target_id: int, tag_name: str) -> str: """ Remove a tag from a target. Args: target_id: The ID of the target to remove the tag from tag_name: The name of the tag to remove """ api.delete_target_tag(target_id=target_id, tag_name=tag_name) return f"Removed tag '{tag_name}' from target {target_id}"
- intruder_mcp/api_client.py:288-290 (helper)Helper method in API client class that executes the actual HTTP DELETE request to remove the specified tag from the target.def delete_target_tag(self, target_id: int, tag_name: str) -> None: self.client.delete(f"{self.base_url}/targets/{target_id}/tags/{tag_name}/")