Fuzzy Match
fuzzy_matchFuzzy string matching for entity resolution, dedupe and "did you mean": match one or many queries against up to 5,000 choices with RapidFuzz-style scorers (WRatio weighted blend, ratio / InDel similarity, partial_ratio, token_sort, token_set, Jaro-Winkler, normalised Levenshtein, Damerau / OSA). Default preprocessing lowercases, folds accents and strips punctuation. Returns top matches with 0-100 scores and choice index, optional per-scorer breakdown. Offline, deterministic. Price: $0.002 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/fuzzy-match
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": {
"choices": "<choices>"
},
"name": "fuzzy_match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Matches per query | |
| query | No | String to match | |
| scorer | No | Similarity scorer | wratio |
| choices | Yes | Candidate strings | |
| details | No | Add every scorer for each match | |
| queries | No | Several queries (batch) | |
| normalize | No | Lowercase, fold accents, strip punctuation first | |
| threshold | No | Minimum score |