webclaw/crates/webclaw-mcp/src
Valerio 4892faea21 webclaw-mcp: add lead + lead_batch cloud-proxy tools
The hosted /v1/lead (single) and /v1/lead/batch (async) endpoints had no
MCP surface, so Claude Desktop/Cursor/etc. couldn't enrich leads and the
skill advertised a `lead` tool that didn't exist. Add `lead` and
`lead_batch` mirroring the existing `research` tool: cloud-only (require
WEBCLAW_API_KEY), no in-process founder-recovery. `lead` proxies
POST /v1/lead; `lead_batch` starts POST /v1/lead/batch then polls
GET /v1/lead/batch/{id} to completion (up to 25 URLs, ~10 min cap).
Tool count 12 → 14 (get_info string + CLAUDE.md synced).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-18 18:38:02 +02:00
..
main.rs refactor(cloud): consolidate CloudClient + smart_fetch into webclaw-fetch 2026-04-22 16:05:44 +02:00
server.rs webclaw-mcp: add lead + lead_batch cloud-proxy tools 2026-07-18 18:38:02 +02:00
tools.rs webclaw-mcp: add lead + lead_batch cloud-proxy tools 2026-07-18 18:38:02 +02:00