domains
Manage domain aliases and resolve canonical names for memoryweb's narrative memory system. List domains, add or remove alternate names, and rename domains with automatic alias registration.
Instructions
Domain administration and discovery. Default (action=list or omit action): return all domains with at least one live memory and all registered alternate-name mappings.
action=add_alias: register alternate name → canonical domain. Requires alias and domain. action=remove_alias: remove a registered alternate name. Requires alias. action=resolve: return the canonical domain for a name. Requires name. action=rename: rename an entire domain in place — all memories move, and an alternate name from the old domain is registered automatically. Requires old_domain and new_domain. Fails if the new domain already has live memories — use merge_domains (CLI) instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name to resolve. Required for action=resolve. | |
| alias | No | Alias name. Required for add_alias and remove_alias. | |
| action | No | list (default), add_alias, remove_alias, resolve, or rename | |
| domain | No | Canonical domain name. Required for add_alias. | |
| new_domain | No | New domain name. Required for action=rename. | |
| old_domain | No | Current domain name. Required for action=rename. |