lookup_translation_memory
Retrieve a cached translation from the local translation memory by querying with source text, source language, and target language codes.
Instructions
Look up a (text, sourceLang, targetLang) tuple in the local translation-memory cache. Returns {ok, match: {translation, hits} | null}. No external API call — pure local SQLite query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Source text to look up. | |
| sourceLang | Yes | Source language code. | |
| targetLang | Yes | Target language code. |