edit_distance
Compute edit distance between two strings and get a full backtrace of insert, delete, and replace operations to transform the source into the target.
Instructions
Compute edit distance with full backtrace of insert/delete/replace operations.
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": {
"source": "<source>",
"target": "<target>"
},
"name": "edit_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source string (max 5,000 chars) | |
| target | Yes | Target string (max 5,000 chars) |