searchUnitsWithFilters
Search translation units in Weblate using filter syntax to find specific strings by state, component, content, or suggestions.
Instructions
Search translation units using Weblate's powerful filtering syntax. Supports filters like: state:<translated (untranslated), state:>=translated (translated), component:NAME, source:TEXT, target:TEXT, has:suggestion, etc.
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": {
"projectSlug": "<projectSlug>",
"componentSlug": "<componentSlug>",
"languageCode": "<languageCode>",
"searchQuery": "<searchQuery>"
},
"name": "searchUnitsWithFilters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectSlug | Yes | The slug of the project | |
| componentSlug | Yes | The slug of the component | |
| languageCode | Yes | The language code (e.g., sk, cs, fr) | |
| searchQuery | Yes | Weblate search query using their filter syntax. Examples: "state:<translated" (untranslated), "state:>=translated" (translated), "source:hello", "has:suggestion", "component:common AND state:<translated" | |
| limit | No | Maximum number of results to return (default: 50, max: 200) |