open_image_editor
Open the existing Edit AI Image modal for an owned post or a specific carousel image. Prefill only the requested instruction. The user can mark an area, describe changes, add a reference photo, and pick products or @mention them, then press Generate edit. This only opens the editor; it does NOT generate, save or publish an edit. Offer this when precise visual corrections or product references would help; use it when the user accepts or asks to open the editor. Return the editorUrl on channels outside the app. Never claim the edit is done.
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": {
"postId": "<postId>"
},
"name": "open_image_editor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | ||
| instruction | No | ||
| mediaItemId | No |