Remove entity reference
remove_entity_referenceSoft-archive a reference attachment on a team entity without deleting the source file. If it was the default reference, another reference is promoted when available. Returns the entity with its remaining references. Retrying a removed attachment can fail because it is no longer active. Built-in entities cannot have references removed.
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": {
"entityId": "<entityId>",
"fileId": "<fileId>"
},
"name": "remove_entity_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | Reference image file id (vg_file_...) to remove. | |
| entityId | Yes | Saved reference entity to use. Obtain entityId from list_entities or create_entity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name. | |
| entityId | Yes | Entity id (vg_enti_...). | |
| createdAt | Yes | Unix created-at timestamp. | |
| isBuiltIn | No | True for VideoGen catalog entities that cannot be modified. | |
| updatedAt | Yes | Unix updated-at timestamp. | |
| entityType | Yes | ACTOR, PRODUCT, VISUAL_STYLE, SLIDESHOW_THEME, BRAND, LOCATION, or PROP. | |
| references | Yes | Attached reference images. | |
| actorConfig | No | Voice/avatar summary for ACTOR entities; null for other types. | |
| brandConfig | No | Brand guidance for BRAND entities; null for other types. | |
| description | Yes | Description (empty when unset). |