find_best_matches
Find and rank the most similar strings to a query from a list of candidates, with configurable matching strategy and similarity threshold.
Instructions
Find and rank candidate strings most similar to a query.
Args:
query: Text to search for.
choices: Candidate values.
limit: Maximum number of matches.
threshold: Minimum similarity score.
profile: Normalization profile.
strategy: Score-selection strategy.
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>",
"choices": "<choices>"
},
"name": "find_best_matches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| choices | Yes | ||
| profile | No | general | |
| strategy | No | weighted | |
| threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||