update_flexible_asset
Modify existing custom asset records by ID, merging new field values into current traits and updating archive status with a single API call.
Instructions
Update an existing flexible asset.
Args: asset_id: The flexible asset ID traits: Updated field values (merged with existing traits) archived: Set archived status
Returns: JSON string with the updated flexible asset
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": {
"asset_id": "<asset_id>"
},
"name": "update_flexible_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| traits | No | ||
| archived | No | ||
| asset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |