string_distance
Calculate Levenshtein edit distance and similarity between two strings to compare text, with optional case-sensitive matching.
Instructions
Calculate Levenshtein edit distance and similarity between two strings.
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": "string_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First string. | |
| b | Yes | Second string. | |
| case_sensitive | No | Case sensitive comparison (default true). |