New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

agentbrush_save_as_reference

Promote a previously-generated or mask-edited image into the project brand identity folder (.agentbrush/references/) and register it in identity.json so the agent can reuse it as a style/character reference on future agentbrush_generate calls. Typical workflow: generate a character with agentbrus...

SERVERMcp Server SOURCE@agentbrush/mcp-server
Medium RISK CLASS
Category Write
Parameters 41 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/dev-agentbrush-mcp-server/agentbrush-save-as-reference.md

What agentbrush_save_as_reference does on Mcp Server

AI agents use agentbrush_save_as_reference to create or update resources in Mcp Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp Server environment.

ParameterTypeRequiredDescription
name string Optional human-readable slug for the stored filename. Defaults to the source filename. Letters, digits, hyphens, underscores only — anything else is replaced wi
tags array Optional tags to attach to the manifest entry so future agentbrush_list_references calls can filter by them (e.g., ["character", "protagonist"]).
image_path string Yes Absolute path to the image to copy into the references folder. Typically a path returned by a prior agentbrush_generate or agentbrush_edit_mask call.
description string Optional one-line description of the reference (e.g., "Protagonist Maya, default A-pose"). Surfaces in agentbrush_list_references output.

Parameters from the server's own tool schema.

Why agentbrush_save_as_reference is rated Medium

This tool creates and modifies data (files in .agentbrush/references/ and entries in identity.json) in a reversible manner. It does not execute arbitrary code, delete data, or move money. The scope is limited to registering image references within a local project structure.

From the tool's definition The tool "Promote a previously-generated or mask-edited image into the project brand identity folder (.agentbrush/references/) and register it in identity.json" — explicitly writes/creates files and modifies the identity.json configuration to persist a…

Risk signalsBulk/mass operation — affects multiple targets

Questions about agentbrush_save_as_reference

What does the agentbrush_save_as_reference tool do? +

Promote a previously-generated or mask-edited image into the project brand identity folder (.agentbrush/references/) and register it in identity.json so the agent can reuse it as a style/character reference on future agentbrush_generate calls. Typical workflow: generate a character with agentbrush_generate → optionally polish it via agentbrush_edit_mask → call agentbrush_save_as_reference with the saved file path → now every agentbrush_generate call can pass that reference path via reference_image_paths to keep the character consistent across new scenes. image_path must be an absolute path to a PNG/JPG/WebP file. Optional name becomes the stored filename (slugified). Optional tags and description surface in agentbrush_list_references output so the agent can filter later. Returns the manifest-relative path and the absolute path — both work as inputs to reference_image_paths. It is categorised as a Write tool in the Mcp Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does agentbrush_save_as_reference accept? +

agentbrush_save_as_reference accepts 4 parameters: name, tags, image_path, description. Required: image_path. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on agentbrush_save_as_reference? +

Register the Mcp Server MCP server in PolicyLayer and add a rule for agentbrush_save_as_reference: 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 Mcp Server. Nothing to install.

What risk level is agentbrush_save_as_reference? +

agentbrush_save_as_reference is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit agentbrush_save_as_reference? +

Yes. Add a rate_limit block to the agentbrush_save_as_reference 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.

How do I block agentbrush_save_as_reference completely? +

Set action: deny in the PolicyLayer policy for agentbrush_save_as_reference. 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.

What MCP server provides agentbrush_save_as_reference? +

agentbrush_save_as_reference is provided by the Mcp Server MCP server (@agentbrush/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Mcp Server, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Mcp Server's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.