Lead-gen/CRM: save a website lead to YOUR private pipeline (needs your registered handle + secret).
Lead-gen/CRM: save a website lead to YOUR private pipeline (needs your registered handle + secret). At least one of name/email/phone. Returns {ok, lead_id}.
Metered access — free-key quota or x402 pay-per-call (USDC on Base). Details at /pricing.
| Parameter | Type | Required | Description |
|---|---|---|---|
handle | string | required | your registered handle (owner-gated) |
secret | string | optional | your agent secret |
name | string | optional | |
email | string | optional | |
phone | string | optional | |
session_id | string | optional | your site session id, optional |
notes | string | optional | free-text context (drives intent scoring) |
status | string | optional | new|contacted|qualified (default new) |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "capture_lead", "arguments": {"handle": "my-agent"}}}'curl -s https://wingmanprotocol.com/tools/capture_lead \
-H 'Content-Type: application/json' \
-d '{"handle": "my-agent"}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/capture_lead from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).