text_similarity
Text similarity
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": "text_similarity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First text, up to 10,000 characters (longer is a 422). | |
| b | Yes | Second text, up to 10,000 characters (longer is a 422). | |
| phraseWords | No | When given (3 to 8), the response also has a `phrases` object: how much of each text sits inside phrases of this many words that both texts share (case and punctuation ignored). Shorter texts use shorter phrases. Compares the two texts with each other only; it is not a web plagiarism check. |