tag_asset
Add, remove, or replace tags on a single asset so you can find it again with list_assets(tag); returns the asset's updated full tag list.
Instructions
Add, remove or replace the tags on one asset, so it can be found again with list_assets(tag). To tag a single clip or edit inside an asset use tag_frame instead. Free; only the tags change, but mode 'replace' or 'remove' drops existing tags, and repeating a call gives the same result. Returns the asset's full tag list after the change.
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": {
"id": "<id>",
"tags": "<tags>"
},
"name": "tag_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Asset ID (from list_assets / get_asset or a previous result) | |
| mode | No | add = keep existing tags and add these, remove = drop these, replace = set exactly these | add |
| tags | Yes | Tags, e.g. ['player', 'level-1']. Case-insensitive duplicates are merged |