ai_similarity
AI semantic similarity — Semantic similarity (cosine, 0-1) between two texts using embeddings, with a label from different to near-duplicate. Pass ?a= and ?b=. Price: $0.004 USDC (Base, via x402).
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": "ai_similarity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | first text | |
| b | Yes | second text |