Search strings by text
search_phrasesUse this when someone asks to find translation strings that contain a word or phrase, in their keys or text. Returns up to 100 matches with id, key, language and value from a case-insensitive match within one project. Not for one exact key.
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": {
"project": "<project>",
"query": "<query>"
},
"name": "search_phrases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to find in keys or values, case-insensitive, 1 to 200 characters | |
| project | Yes | Project name; an id matches nothing | |
| language | No | Only search this locale code; every language when absent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| phrases | Yes | Up to 100 matching phrases, values cut to 2,000 characters; phraseCount has the total | |
| phraseCount | Yes | ||
| phrasesTruncated | Yes |