MCPMCP Tools/Media/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.

Parameters
assetKeystringrequired
The generated asset's key, e.g. "generated:abc123" (required).
promptstringrequired
What to change, in plain language (required).
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ai_edit_asset",
    "arguments": {
      "assetKey": "string",
      "prompt": "string"
    }
  }
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Response shape shown for illustration — the actual content depends on the tool and your data.