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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vocabulary_name": "<vocabulary_name>",
"term_name": "<term_name>",
"synonym": "<synonym>"
},
"name": "add_synonym"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| synonym | Yes | ||
| term_name | Yes | ||
| vocabulary_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |