rc_generate_diagrams

Generate architecture diagrams from the task list. Produces 3 Mermaid-based HTML diagrams: dependency graph (task DAG), Gantt timeline (build schedule), and architecture layers (swimlane view). Requires rc_sequence to have been run first (needs task list in rc-method/tasks/). Saves to rc-method/d...

Server RC Engine originalrashmi/rc-engine-product-framework
Category Write
Risk class Medium
Parameters 00 required

What rc_generate_diagrams does on RC Engine

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

Why rc_generate_diagrams needs a policy

The tool creates new diagram artifacts (HTML/Mermaid files) in a designated directory. This is a reversible write operation - the files can be modified or deleted without cascading consequences. It does not execute arbitrary code, trigger external operations with uncontrolled effects, delete data irreversibly, or move money.

From the tool's definition Tool generates and saves diagram files to rc-method/diagrams/ directory. Description states 'Saves to rc-method/diagrams/.' This is file creation/writing without destruction or side effects on other systems.

Questions about rc_generate_diagrams

What does the rc_generate_diagrams tool do? +

Generate architecture diagrams from the task list. Produces 3 Mermaid-based HTML diagrams: dependency graph (task DAG), Gantt timeline (build schedule), and architecture layers (swimlane view). Requires rc_sequence to have been run first (needs task list in rc-method/tasks/). Saves to rc-method/diagrams/. After success: diagrams are viewable in any browser. It is categorised as a Write tool in the RC Engine MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on rc_generate_diagrams? +

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

What risk level is rc_generate_diagrams? +

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

Can I rate-limit rc_generate_diagrams? +

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

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

rc_generate_diagrams is provided by the RC Engine MCP server (originalrashmi/rc-engine-product-framework). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

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.