save-image
Save generated images to your local filesystem by providing the image URL and prompt. Optionally specify a target directory and custom filename.
Instructions
Save a generated image
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": {
"image_url": "<image_url>",
"prompt": "<prompt>"
},
"name": "save-image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| image_url | Yes | ||
| custom_filename | No | Custom filename for the saved image (without extension). If not provided, a UUID will be used. | |
| target_directory | No | Directory path where the image should be saved. If not provided, defaults to the MCP server's images directory. |