levenshtein_distance
Calculate exact edit distance and similarity ratio between two strings, providing deterministic fuzzy matching for precise text comparison.
Instructions
Compute exact edit distance and similarity ratio between two strings (deterministic fuzzy matching)
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": {
"a": "<a>",
"b": "<b>"
},
"name": "levenshtein_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |