Bulk Update Custom Field Values
update_multiple_fieldsSet custom field values on multiple media files at once using folder or media IDs.
Instructions
Set custom field values across media in a single batch operation. Scope the update with folderId (all media in a folder) and/or mediaIds.
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": {
"fields": "<fields>"
},
"name": "update_multiple_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Array of field id/value pairs to set | |
| folderId | No | Apply the field values to all media in this folder | |
| mediaIds | No | Apply the field values to these specific media files |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Response payload from the Speak AI API |