Title99/100
Vectorize a logo image to SVG
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
Converts a PNG, JPG, or WebP logo to SVG (vectorize or trace) and creates a temporary revision. Pass an attached ChatGPT image through image_file. Returns the revision_id for the next calls, temporary svg_url and preview_url, palette, hidden_colors, canvas size, file size, warnings and the settings used. After this returns, call render_vectorization_preview with its revision_id.
The description explains the capability, when to use it, and what to expect.
Inputs98/100
Input documentation gives an agent enough context to populate the arguments.
$defs › OpenAIFile › download_url
Download URL of the attachment, as provided by ChatGPT. Vectorize downloads the image from it.
Clear enough to supply this argument.
$defs › OpenAIFile › file_id
ChatGPT file ID of the attachment, as provided by ChatGPT.
Clear enough to supply this argument.
$defs › OpenAIFile › mime_type
Media type of the attachment, as provided by ChatGPT.
Clear enough to supply this argument.
$defs › OpenAIFile › file_name
Original file name of the attachment, used to name the source image.
Clear enough to supply this argument.
image_url
Public HTTPS address of a PNG, JPEG, or WebP logo; redirects are not followed. Use it instead of image_file or upload_id.
Clear enough to supply this argument.
upload_id
For a local file: send its bytes as the multipart field file to POST https://vectorize-logo.com/api/mcp/uploads and pass the returned upload_id. It is valid for 15 minutes and is used up by a successful call. Use it instead of image_file or image_url.
Clear enough to supply this argument.
colors
Size of the traced palette. Lower it to merge similar shades and simplify the logo, raise it to keep close inks apart; 0 means automatic, with the size chosen from the image.
Clear enough to supply this argument.
smoothing
Curve smoothing: low values follow the pixels closely, high values give smoother curves with fewer points.
Clear enough to supply this argument.
transparent
Keep the background transparent; false adds a white background to the SVG.
Clear enough to supply this argument.
trim
Crop the canvas to the visible artwork, removing empty margins.
Clear enough to supply this argument.
Annotations100/100
All four behavior hints are declared.
{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}Output schema93/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"$defs": {
"Settings": {
"type": "object",
"title": "Settings",
"required": [
"colors",
"smoothing",
"transparent",
"trim"
],
"properties": {
"trim": {
"type": "boolean",
"title": "Trim",
"description": "True when the canvas was cropped to the visible artwork."
},
"colors": {
"type": "integer",
"title": "Colors",
"description": "Palette size used for tracing; 0 means it was detected automatically."
},
"smoothing": {
"type": "integer",
"title": "Smoothing",
"description": "Curve smoothing used for tracing, from 0 (follows the pixels closely) to 100 (smoothest curves, fewest points)."
},
"transparent": {
"type": "boolean",
"title": "Transparent",
"description": "True when the SVG has a transparent background; false when a white background rectangle was added."
}
},
"description": "Tracing settings that produced the revision."
}
},
"title": "VectorRevision",
"required": [
"revision_id",
"svg_url",
"preview_url",
"preview_markdown",
"palette",
"hidden_colors",
"width",
"height",
"bytes",
"warning",
"settings",
"expires_in_seconds"
],
"properties": {
"bytes": {
"type": "integer",
"title": "Bytes",
"description": "Size of the SVG file in bytes."
},
"width": {
"type": "integer",
"title": "Width",
"description": "Width of the SVG canvas in pixels."
},
"height": {
"type": "integer",
"title": "Height",
"description": "Height of the SVG canvas in pixels."
},
"palette": {
"type": "array",
"items": {
"type": "string"
},
"title": "Palette",
"description": "Hex colors of the traced palette, such as #01643b. These are the values hidden_colors accepts."
},
"svg_url": {
"type": "string",
"title": "Svg Url",
"description": "Temporary URL of the SVG file of this revision."
},
"warning": {
"type": "string",
"title": "Warning",
"description": "Notes about automatic changes, such as a removed background or a resized image, to check before downloading; empty when there are none."
},
"settings": {
"$ref": "#/$defs/Settings"
},
"preview_url": {
"type": "string",
"title": "Preview Url",
"description": "Temporary URL of a PNG rendering of this revision."
},
"revision_id": {
"type": "string",
"title": "Revision Id",
"description": "ID of this revision. Pass it to the other Vectorize tools to preview, refine, hide colors or export."
},
"hidden_colors": {
"type": "array",
"items": {
"type": "string"
},
"title": "Hidden Colors",
"description": "Palette colors hidden in this revision; empty when every color is visible."
},
"preview_markdown": {
"type": "string",
"title": "Preview Markdown",
"description": "Markdown image tag showing preview_url, for clients without the preview UI."
},
"expires_in_seconds": {
"type": "integer",
"title": "Expires In Seconds",
"description": "Lifetime of a revision in seconds (two hours). It is not a countdown: a revision inspected later expires sooner, after which its ID and URLs stop working."
}
},
"description": "A temporary, private vector revision of the logo."
}