list_tags
Retrieve all tags from your Intruder account to organize and filter targets, with optional filtering by target address.
Instructions
List all tags in the Intruder account with optional filters. Tags are applied to targets.
Args:
target_address: Filter by a list of target address
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_address | No |
Implementation Reference
- intruder_mcp/server.py:85-99 (handler)The handler function for the 'list_tags' tool. It is registered as an MCP tool using the @mcp.tool() decorator. Fetches all targets (optionally filtered by address) using the IntruderAPI, collects unique tags from them, sorts them, and returns as a newline-separated string.
@mcp.tool() async def list_tags(target_address: Optional[str] = None) -> str: """ List all tags in the Intruder account with optional filters. Tags are applied to targets. Args: target_address: Filter by a list of target address """ targets = api.list_targets_all(address=target_address) tags = set() for target in targets: if target.tags: tags.update(target.tags) return "\n".join(sorted(tags))