Johto Data Document Search
document_searchRank up to 200 caller-supplied documents with lexical BM25 and return top matches, scores and exact snippet offsets. No web search, embeddings or external fetches. Caller must have rights to supplied text. Costs $0.0018 USDC per call via x402. Without payment, the call returns the x402 payment requirements; retry with an X-PAYMENT or PAYMENT-SIGNATURE header, or params._meta["x402/payment"].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>",
"documents": "<documents>"
},
"name": "document_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topK | No | ||
| query | Yes | Query, max 2000 characters | |
| documents | Yes |