MCPHerramientas MCP/Multimedia/ai_edit_asset
ai_edit_asset
Writemedia:write
Regenerate a Sydekick-generated asset's image (or text) in place from a text prompt — the same "Edit with AI" action available in the Data tab. Generated assets only (uploads and synced media return an error). The first request after a period of inactivity can take a minute or more; later ones are faster. Identify the asset by its key (e.g. "generated:abc123"). Returns the refreshed asset at the same key.
Parámetros
assetKeystringobligatorio
The generated asset's key, e.g. "generated:abc123" (required).
promptstringobligatorio
What to change, in plain language (required).
Solicitud de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ai_edit_asset",
"arguments": {
"assetKey": "string",
"prompt": "string"
}
}
}Respuesta de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.