post-models-builder-build

Triggers the generation/build of Models Builder models. This endpoint initiates the process of generating strongly-typed models from Umbraco content types. The operation runs asynchronously and does not return any response data. Use this tool to: - Generate models after making changes to document...

Server Mcp Dev @umbraco-cms/mcp-dev
Category Execute
Risk class High
Parameters 00 required

What post-models-builder-build does on Mcp Dev

AI agents invoke post-models-builder-build to trigger actions in Mcp Dev. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.

Why post-models-builder-build needs a policy

This tool triggers a build/code-generation process on the server, which executes an external operation (model generation from content types). It does not simply read or write data, but runs a background process that generates code files. Misuse could cause unintended model regeneration, potentially breaking a running application if content types are inconsistent, making it Execute with medium severity.

From the tool's definition Triggers the generation/build of Models Builder models... initiates the process of generating strongly-typed models... runs asynchronously

Questions about post-models-builder-build

What does the post-models-builder-build tool do? +

Triggers the generation/build of Models Builder models. This endpoint initiates the process of generating strongly-typed models from Umbraco content types. The operation runs asynchronously and does not return any response data. Use this tool to: - Generate models after making changes to document types, media types, or member types - Refresh models when they become out of date - Ensure the latest content type definitions are reflected in generated models Note: This operation may take some time to complete depending on the number of content types. Use get-models-builder-dashboard or get-models-builder-status to check the current state and if new models need to be generated. It is categorised as a Execute tool in the Mcp Dev MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

How do I enforce a policy on post-models-builder-build? +

Register the Mcp Dev MCP server in PolicyLayer and add a rule for post-models-builder-build: 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 Dev. Nothing to install.

What risk level is post-models-builder-build? +

post-models-builder-build is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit post-models-builder-build? +

Yes. Add a rate_limit block to the post-models-builder-build 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 post-models-builder-build completely? +

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

post-models-builder-build is provided by the Mcp Dev MCP server (@umbraco-cms/mcp-dev). 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.