x_ ads_ update_ media_ library_ item
Update a media library object's metadata (e.g. A write tool that previews before it changes anything, one of 44 X Ads tools on the Get MCP Ads MCP gateway.
Update a media library object's metadata (e.g. name, title, description) Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.
- Source
- X Ads
- Kind
- Write
- Discovery
- Reachable through
search_toolsandrun_tool - Account parameter
account_id- Endpoint
- https:/
/ mcp. getmcpads. com/ x-ads/ mcp
ParametersLink to this section
| Name | Type | Required | Notes |
|---|---|---|---|
account_id | string | Required | X Ads account ID selected in Sources. |
description | string | Optional | Video description, shown under the video. Videos only. |
file_name | string | Optional | Media file name (1-255 characters). |
media_key | string | Required | Uploaded media key registered in the selected account's media library. |
name | string | Optional | Media asset name, shown in campaign setup UIs (1-100 characters). |
poster_media_key | string | Optional | Media key of an uploaded image to use as the video poster frame. Videos only. |
title | string | Optional | Video title, shown on the video itself. Videos only. |
confirm | boolean | Optional | False previews only; true applies this exact change after explicit human confirmation. Default: false. |
Calling itLink to this section
{
"name": "run_tool",
"arguments": {
"name": "x_ads_update_media_library_item",
"args": {
"account_id": "<string>",
"media_key": "<string>"
}
}
}