Appearance
lookup_translations
Look up available translation slugs as plain data (no UI widget).
Widget counterpart: list_translations — use that when the user wants to browse translations visually.
Use This When
- Preparatory step before calling
ayah_translation— discover valid translation slugs for a language. - Answering factual questions about available translations without needing an interactive display.
Input
Optional:
language(string, optional): ISO 639-1 language code filter (for example"en"). Do not use names like"english".locale(string, optional): Locale/language code for localized metadata in response (for example"en"or"ar").
Example User Prompts
- "Compare English translations of 2:255" (agent calls
lookup_translationsto find slugs, thenayah_translation) - "What Urdu translators are available?" (when text-only answer suffices)
Example Request
json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "lookup_translations",
"arguments": {
"language": "en"
}
}
}Typical Chaining
lookup_translations → resolve translation slugs → ayah_translation