create_lead
Add new leads to your Hunter account by providing email addresses for business contact management.
Instructions
Create a lead in user's account.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes |
Implementation Reference
- main.py:39-42 (handler)The handler function that executes the create_lead tool logic by posting the provided email to the Hunter API leads endpoint via HunterAPIClient.async def create_lead(email: str) -> str: async with HunterAPIClient() as client: response = await client.post("leads", {"email": email}) return response
- main.py:38-38 (registration)Registers the create_lead tool with the FastMCP server using the @mcp.tool decorator.@mcp.tool(description="Create a lead in user's account.")