Edit name attributes
edit_name_attributesSurgical attribute edit on an existing name. Each entry in the attributes map sets that attribute on the named name; an empty string value deletes that attribute. Attributes not mentioned in the map are left untouched (this is NOT a wipe-and-replace).
Looks up by integer nameId — the id returned in apply_structure's namesResolved, or surfaced by describe_set / describe_query. Returns 404 if no name matches the id — silent no-op is never the result.
To rename a name, set its default_display_name attribute via this same call.
═══ PROVENANCE — required on every write ═══ source: where this edit originates — file path, URL, document name, or short note. Lands in the audit trail so the user can return to it. agent: your AI agent name (e.g. "Claude"). Lands in the audit trail so the user can see which AI made the edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | AI agent name (e.g. "Claude"). REQUIRED. | |
| nameId | Yes | Integer id of the name to edit (from apply_structure namesResolved, describe_set, describe_query, etc.) | |
| source | Yes | Origin reference — file, URL, document, or short note. REQUIRED. | |
| business | No | Optional. The business this call is for, by name, e.g. "azquo" - it then runs there whatever business the session is in. Worth giving on writes when you work in more than one business: a new MCP session starts in the login's own business. list_businesses shows the names. | |
| database | Yes | Database name | |
| attributes | Yes | Map of attribute-name → attribute-value (string). Empty value deletes the attribute. Values are stored verbatim, so JSON or other encoded content should be stringified by the caller and parsed on read. |