download_and_convert_images
Download an image from a URL, convert it to PNG, and return its local file path.
Instructions
Downloads an image from the given URL and converts it to PNG format. Saves output in target directory and returns the absolute local path.
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": {
"url": "<url>"
},
"name": "download_and_convert_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the image to download | |
| outputDir | No | Optional directory to save the image (defaults to a 'downloads' directory inside the workspace) |