add_glossary_entry
Add or replace terms in a Lara Translate glossary entry, supporting both monodirectional and multidirectional glossary setups.
Instructions
Adds or replaces an entry in a glossary in your Lara Translate account. Supports both monodirectional and multidirectional glossaries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The glossary ID (format: gls_*, e.g., 'gls_xyz123') | |
| guid | No | Optional entry identifier. Use this for multidirectional glossaries or to update a specific entry. | |
| terms | Yes | Array of terms with language and value. For monodirectional glossaries, the first term is the source and the rest are targets. For multidirectional glossaries, all terms are treated equally. Use the list_languages tool to get supported language codes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Import job identifier | |
| end | No | End offset of the import | |
| size | No | Total number of entries in the import | |
| begin | No | Begin offset of the import | |
| channel | No | Channel identifier used by the import | |
| progress | No | Import progress between 0 and 1 (1 means complete) |