Skip to main content
Glama

save_output

Relocate finished renders from ComfyUI's internal output directory to a folder accessible by the caller, solving the limitation of save nodes that cannot write to external paths.

Instructions

Copy a finished render out of ComfyUI's output tree into a folder the caller (e.g. a Claude Desktop / Cowork sandbox) can reach. ComfyUI's save nodes only write inside its own output/ dir and reject absolute paths, so a relocation step is needed before an image can be presented or edited.

Provide prompt_id (relocates every output image of that finished job) OR an explicit filename (+subfolder/type, as reported in a run's outputs). dest_dir defaults to the configured COMFYUI_MOUNT_DIR. dest_filename renames a single saved image. Returns {saved_paths, dest_dir}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNooutput
dest_dirNo
filenameNo
overwriteNo
prompt_idNo
subfolderNo
dest_filenameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds important behavioral context beyond annotations: it explains that ComfyUI's save nodes cannot write to absolute paths, necessitating this relocation step. It also states the return structure ({saved_paths, dest_dir}). Annotations (readOnlyHint=false, openWorldHint=true) are consistent with this write-and-copy operation; no contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and front-loaded with the core purpose. Each sentence adds value, but it could be slightly more concise, particularly the second paragraph which lists options in a slightly verbose manner.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (7 parameters, no schema descriptions, but an output schema), the description covers the main workflow and return value. It lacks details on overwrite and subfolder/type usage, but the output schema and the mention of 'as reported in a run's outputs' provide enough context for an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaning beyond the schema for key parameters (prompt_id, filename, dest_dir, dest_filename), which is critical given 0% schema description coverage. However, parameters like type, subfolder, and overwrite are only mentioned in passing or not explained, leaving some ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: copying finished renders from ComfyUI's output tree to a reachable folder. It explains the underlying reason (ComfyUI's save nodes are restricted) and distinguishes this tool from siblings like view_output or upload_image by focusing on file relocation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear usage guidance: use either prompt_id or explicit filename+subfolder/type, and explains defaults for dest_dir and dest_filename. It does not explicitly mention when not to use the tool or alternatives, but the guidance is sufficient for correct invocation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EnragedAntelope/comfy-draftsman'

If you have feedback or need assistance with the MCP directory API, please join our Discord server