Skip to main content
← MCP Tools

synonym_remove

Removes a single (term, alias) synonym pair. Both term and alias are required; this call never removes an entire term's aliases in one shot. Use synonym_remove_term to drop every alias for a term at once.

Availability: single-repo stdio (travsr mcp) only. Not in global stdio or SSE.

Input schema​

{
"type": "object",
"required": ["term", "alias"],
"properties": {
"term": {
"type": "string",
"description": "The query term"
},
"alias": {
"type": "string",
"description": "The alias to remove from the term"
}
},
"additionalProperties": false
}

No repo parameter. Stdio (single-repo) sessions only, since this mutates the one open repo's dynamic synonym table.

Output​

A plain control string, not JSON: ok on success, whether an alias was actually removed or the pair simply did not exist (this call is a no-op in the latter case, not an error). An invalid term or alias returns invalid input before the store is touched.