synonym_add
Adds a single alias to a term, creating the entry if it doesn't exist.
Input schema
{
"type": "object",
"required": ["term", "alias"],
"properties": {
"term": {
"type": "string",
"description": "The canonical term to add an alias for."
},
"alias": {
"type": "string",
"description": "The alias to add."
},
"repo": { "type": "string" }
}
}
Output
added: payment → billing
Notes
To add multiple aliases at once, call synonym_add once per alias or use synonym_set to replace all aliases in one call. The synonym table has a cap of 200 pairs per repository.