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

agentbrush_edit_mask_result

Block until the mask editor session reaches "completed" (the user accepted a result), then download and save the edited image. Pair with agentbrush_edit_mask_open. Blocks for up to 30 minutes (matching the signed editor URL lifetime); returns immediately when the user accepts. session_id is the U...

SERVERMcp Server SOURCE@agentbrush/mcp-server
Medium RISK CLASS
Category Write
Parameters 21 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-edit-mask-result.md

What agentbrush_edit_mask_result does on Mcp Server

AI agents use agentbrush_edit_mask_result 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
image_path string Optional absolute path of the original source image. When provided, the accepted result is saved alongside it; otherwise the file lands in the current working d
session_id string Yes Session ID returned by agentbrush_edit_mask_open (UUID v4).

Parameters from the server's own tool schema.

Why agentbrush_edit_mask_result is rated Medium

This tool persists data (edited images) to storage, which is a Write operation. The severity is medium rather than high because the write is of user-generated image content (not system-critical data) and the operation is reversible. The confidence is 0.85 rather than higher because the description doesn't explicitly detail file path validation or potential for path traversal, but the write intent is clear.

From the tool's definition Tool downloads and saves an edited image to the file system: 'download and save the edited image' and 'the result is saved alongside it' or 'in the current working directory'. This creates or modifies files on disk.

Questions about agentbrush_edit_mask_result

What does the agentbrush_edit_mask_result tool do? +

Block until the mask editor session reaches "completed" (the user accepted a result), then download and save the edited image. Pair with agentbrush_edit_mask_open. Blocks for up to 30 minutes (matching the signed editor URL lifetime); returns immediately when the user accepts. session_id is the UUID returned by agentbrush_edit_mask_open. image_path is optional. Pass the same path you handed to _open so the result is saved alongside it; otherwise the saved file lands in the current working directory. 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_edit_mask_result accept? +

agentbrush_edit_mask_result accepts 2 parameters: image_path, session_id. Required: session_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on agentbrush_edit_mask_result? +

Register the Mcp Server MCP server in PolicyLayer and add a rule for agentbrush_edit_mask_result: 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_edit_mask_result? +

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

Can I rate-limit agentbrush_edit_mask_result? +

Yes. Add a rate_limit block to the agentbrush_edit_mask_result 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_edit_mask_result completely? +

Set action: deny in the PolicyLayer policy for agentbrush_edit_mask_result. 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_edit_mask_result? +

agentbrush_edit_mask_result 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.