add_glossary_entry
Add or replace a term entry in a Lara Translate glossary, supporting monodirectional and multidirectional glossaries.
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') | |
| 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. | |
| guid | No | Optional entry identifier. Use this for multidirectional glossaries or to update a specific entry. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Import job identifier | |
| begin | No | Begin offset of the import | |
| end | No | End offset of the import | |
| channel | No | Channel identifier used by the import | |
| size | No | Total number of entries in the import | |
| progress | No | Import progress between 0 and 1 (1 means complete) |