MCPMCP-Tools/Medien/share_asset
share_asset
Writemedia:write
Create or rotate a public share link for a media asset. Anyone with the returned link can access the asset; the previous link is revoked. Requires an identified agency user with Media access.
Parameter
assetKeystringerforderlich
Asset key from list_assets.
Beispielanfrage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "share_asset",
"arguments": {
"assetKey": "string"
}
}
}Beispielantwort
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.