Text Similarity
TextSimilarityText Similarity: Text Similarity compares two text strings and calculates their percentage match score. It returns case-insensitive and case-sensitive similarity scores plus the count and proportion of differing words. (Cost: 2 credits)
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": {
"text1": "<text1>",
"text2": "<text2>"
},
"name": "TextSimilarity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text1 | Yes | The first text to compare. Must be less than 1000 characters | |
| text2 | Yes | The second text to compare. Must be less than 1000 characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |