add_alias
Assign a globally unique short nickname to any entity so it can be referenced by that alias instead of its full ref, simplifying future lookups and cross-references.
Instructions
Add a short nickname for an entity. Globally unique.
Example: add_alias("component:api-gateway", "gw") — then resolve_ref("gw") returns the component.
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": {
"ref": "<ref>",
"alias": "<alias>"
},
"name": "add_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| alias | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||