text_fuzzy_match
Fuzzy string match and ranking — Rank up to 1000 candidate strings against a query, or compare two strings, offline. q (or a) = the string; candidates = list separated by newlines, | or commas (or b= for one comparison). Optional scorer = score (default, WRatio-style blend) | ratio | token_sort_ratio | token_set_ratio | partial_ratio | levenshtein_similarity | jaro_winkler | trigram_jaccard; top (default 10); threshold 0-100; normalize=false to keep case, accents and punctuation. Each top row gets every metric (RapidFuzz-compatible ratio, token sort, token set and Jaro-Winkler, plus Levenshtein and Damerau-OSA distances, best-window partial ratio, trigram Jaccard) and a verdict EXACT_OR_NEAR_EXACT / STRONG_MATCH / POSSIBLE_MATCH / WEAK_MATCH / NO_MATCH, plus best_match and an ambiguous flag when the top two are within 3 points. For entity resolution, dedupe, typo-tolerant lookup and matching messy names to a master list. Limit: q length x total candidate length <= 600,000. Price: $0.002 USDC (Base, via x402).
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": {
"q": "<q>",
"candidates": "<candidates>"
},
"name": "text_fuzzy_match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Apple Inc. | |
| candidates | Yes | APPLE INC|Apple Hospitality REIT|Applied Materials Inc|Apple Incorporated |