vectorize_image
Convert an existing raster image (PNG, JPG, WebP) to SVG vector format using Recraft. Preserves details and creates clean vector paths. Routing: "vectorize this", "convert to SVG", "make scalable" → use this (1 credit) [sensitive-tier — first use may require a manager's approval; a from-now-on ap...
This record as markdown: /tools/com-getfreedomos-freedom-mcp/vectorize-image.md
What vectorize_image does on Freedom Mcp
AI agents use vectorize_image to create or update resources in Freedom Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Freedom Mcp environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
folder | string | — | Optional Media gallery folder to file this into (freeform name, e.g. "q3-campaign" or "brand-assets"). Shown as a folder chip on the /media page. Reuse an exist |
companyId | string | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |
image_url | string | — | URL of the raster image to vectorize. Use a signed URL from the MEDIA IN THIS CONVERSATION block or any accessible image URL. |
artifact_id | string | — | ID of an existing artifact from the MEDIA IN THIS CONVERSATION block. The system will resolve a fresh signed URL automatically. |
folder_name | string | — | Subfolder name for Drive save. Only used when save_to_drive is true. |
save_to_drive | boolean | — | If true, also save the vectorized SVG to Google Drive. Defaults to false. |
isolate_subject | boolean | — | Smart Workflow: If true, the tool will automatically remove the background to isolate the subject BEFORE vectorizing. Defaults to true. Set to false ONLY if you |
Parameters from the server's own tool schema.
Why vectorize_image is rated Medium
This tool takes an existing image and produces a new SVG representation. While it does not delete or overwrite the original, it creates new data output. This is a reversible write operation with minimal blast radius: the worst case is a poorly converted vector file that can be discarded. No irreversible destruction, no code execution, no financial impact.
From the tool's definition "Convert an existing raster image (PNG, JPG, WebP) to SVG vector format" — creates a new derivative data asset (SVG) from an input image. The tool modifies/creates data by transforming image format.
Risk signalsAccepts file system path (folder)
Attacks that exploit this kind of access
The rule that runs vectorize_image safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Freedom Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For vectorize_image, this is the rule to start with:
vectorize_image stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Freedom Mcp, apply this rule, and every vectorize_image call is checked against it from then on.
Questions about vectorize_image
Convert an existing raster image (PNG, JPG, WebP) to SVG vector format using Recraft. Preserves details and creates clean vector paths. Routing: "vectorize this", "convert to SVG", "make scalable" → use this (1 credit) [sensitive-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time.]. It is categorised as a Write tool in the Freedom Mcp MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
vectorize_image accepts 7 parameters: folder, companyId, image_url, artifact_id, folder_name, save_to_drive, isolate_subject. Required: companyId. The full parameter table on this page comes from the server's own tool schema.
Register the Freedom MCP server in PolicyLayer and add a rule for vectorize_image: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Freedom Mcp. Nothing to install.
vectorize_image is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the vectorize_image rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for vectorize_image. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
vectorize_image is provided by the Freedom MCP server (https://twuluxmoognlwtmaoqgo.supabase.co/functions/v1/freedom-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Freedom, and thousands of servers like it.
This server
Across the catalogue