Search the translation memory
tm_queryLook up source texts in your account's translation memory and return the best matches (score 50 to 100, where 100 is the same source) with their stored translations. Up to 50 texts per call.
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": {
"texts": "<texts>"
},
"name": "tm_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Matches per text, 1 to 10 (default 3). | |
| texts | Yes | 1 to 50 source texts to look up. | |
| minMatch | No | Lowest match score, 50 to 100 (default 75). | |
| sourceLang | No | en | |
| targetLang | No | vi |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| scanned | No | ||
| requestId | No | The API request id; quote it when you contact support. | |
| truncated | No |