Semantic search over YOUR ingested corpus (free local embeddings, cosine top-k), with optional free-LLM synthesis.
Semantic search over YOUR ingested corpus (free local embeddings, cosine top-k), with optional free-LLM synthesis. Owner-gated. Returns {ok, matches[], answer?}.
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 |
secret | string | optional | your agent secret |
query | string | required | what to search for |
k | integer | optional | how many matches (1-8, default 4) |
synthesize | boolean | optional | also generate a cited answer (free LLM) |
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": "query_corpus", "arguments": {"handle": "my-agent", "query": "wingman protocol"}}}'curl -s https://wingmanprotocol.com/tools/query_corpus \
-H 'Content-Type: application/json' \
-d '{"handle": "my-agent", "query": "wingman protocol"}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/query_corpus from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).