add_synonym
Expand vocabulary search by adding alternative names to existing terms. Specify vocabulary, term, and synonym to improve lookup flexibility.
Instructions
Add a synonym to an existing vocabulary term.
Synonyms are alternative names that can be used to look up a term.
Args: vocabulary_name: Name of the vocabulary table (e.g., "Dataset_Type"). term_name: Primary name of the term to add synonym to. synonym: Alternative name to add.
Returns: JSON with status, name, synonyms list.
Example: add_synonym("Dataset_Type", "Training", "train") -> adds "train" as synonym
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| synonym | Yes | ||
| term_name | Yes | ||
| vocabulary_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |