query_corpus
ActiveTool of WingmanProtocol Agent Gateway
Semantic search over YOUR ingested corpus (free local embeddings, cosine top-k), with optional free-LLM synthesis. Owner-gated. Returns {ok, matches[], answer?}.
Parameters schema
{
"type": "object",
"required": [
"handle",
"query"
],
"properties": {
"k": {
"type": "integer",
"description": "how many matches (1-8, default 4)"
},
"query": {
"type": "string",
"description": "what to search for"
},
"handle": {
"type": "string",
"description": "your registered handle"
},
"secret": {
"type": "string",
"description": "your agent secret"
},
"synthesize": {
"type": "boolean",
"description": "also generate a cited answer (free LLM)"
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
WingmanProtocol Agent Gateway
https://github.com/WingmanProtocol-Agent-Gateway/wingman-agent-gateway
1/7 registries