Skip to content

MCP tools ​

All tools are called with JSON-RPC tools/call and their arguments are validated against the schema returned by tools/list.

Generate & edit ​

ToolRequired argumentsPurpose
generate_imagemodel_path, promptQueue-backed synchronous text-to-image
start_generate_imagemodel_path, promptStart an asynchronous generation
get_job_statusjob_idPoll an asynchronous job
get_job_resultjob_idFetch a completed job result
img2imgmodel_path, init_image_id, promptGenerate a variation
design_editbackend, image_id, instructionInstruction-based design edit
inpaintmodel_path, image_id, promptRepaint a masked region
inpaint_with_maskmodel_path, image_id, mask_image_id, promptRepaint with an explicit mask
create_maskwidth, heightCreate a black mask with an optional white region

For masks, white means repaint and black means keep.

Images, models & plugins ​

ToolRequired argumentsPurpose
list_modelskindList checkpoints, LoRAs, VAEs, CLIP, or ControlNet models
get_imageimage_idFetch thumbnail or full image bytes
save_assetsource, asset_nameSave an image to the project asset library
remove_backgroundimage_idRemove an image background
list_plugins—List available ML plugins
run_pluginplugin_name, image_idRun a named plugin

Use mode: "thumbnail" with get_image for agent workflows unless full resolution is required.

Shared documents & history ​

ToolRequired argumentsPurpose
open_documentimage_idOpen or create a document rooted at an image
get_documentdocument_idRead document head metadata
list_editsdocument_idList document edits
strokedocument_id, path, brushCommit a brush stroke and append an edit
undodocument_idMove the document cursor backward
redodocument_idMove the document cursor forward

stroke.path is an array of {x, y} points. brush includes size, hardness, color_rgba, and blend (normal or erase).