prompts_prompt_restore

Restore a past version of a prompt template by version_number. Creates a new version pointing at the restored content — history is preserved. Fans out to every agent using this template without a per-agent override; the response includes affected_agents as a receipt of the fan-out.

SERVERDialogbrain SOURCEhttps://api.dialogbrain.com/mcp
Medium RISK CLASS
Category Write
Parameters 32 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-github-saloprj-dialogbrain/prompts-prompt-restore.md

What prompts_prompt_restore does on Dialogbrain

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

ParameterTypeRequiredDescription
reason string Optional: why this restore is happening (shows up in history UI)
prompt_id integer Yes ID of the prompt template
version_number integer Yes The version_number to restore (get it from prompts.prompt_history)

Parameters from the server's own tool schema.

Why prompts_prompt_restore is rated Medium

This tool creates a new version of a prompt template and propagates that change to every agent using it. While it preserves history (making it reversible in principle), it is fundamentally a Write operation that modifies data and triggers distributed side effects across multiple AI agents.

From the tool's definition Tool description states 'Restore a past version of a prompt template' and 'Creates a new version pointing at the restored content' — this modifies prompt templates and broadcasts changes to multiple agents ('Fans out to every agent using this template').

Risk signalsBulk/mass operation — affects multiple targets

Questions about prompts_prompt_restore

What does the prompts_prompt_restore tool do? +

Restore a past version of a prompt template by version_number. Creates a new version pointing at the restored content — history is preserved. Fans out to every agent using this template without a per-agent override; the response includes affected_agents as a receipt of the fan-out. It is categorised as a Write tool in the Dialogbrain MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does prompts_prompt_restore accept? +

prompts_prompt_restore accepts 3 parameters: reason, prompt_id, version_number. Required: prompt_id, version_number. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on prompts_prompt_restore? +

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

What risk level is prompts_prompt_restore? +

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

Can I rate-limit prompts_prompt_restore? +

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

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

prompts_prompt_restore is provided by the Dialogbrain MCP server (https://api.dialogbrain.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Dialogbrain, and thousands of servers like it.

Across the catalogue

// 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 Dialogbrain'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.