agents_prompt_restore

Restore a past version of an agent's prompt_text by version_number. Creates a new version pointing at the restored content — history is preserved. Use agents.prompt_history first to find the version_number you want.

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/agents-prompt-restore.md

What agents_prompt_restore does on Dialogbrain

AI agents use agents_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)
agent_id integer Yes ID of the agent
version_number integer Yes The version_number to restore (get it from agents.prompt_history)

Parameters from the server's own tool schema.

Why agents_prompt_restore is rated Medium

This tool modifies agent configuration by restoring and versioning prompt text. While it does not permanently delete data (history is preserved), it does create new versions and change the active prompt content that an agent uses.

From the tool's definition Tool 'agents_prompt_restore' restores and creates a new version of an agent's prompt_text—it modifies the agent's configuration by creating a new version that points to restored content.

Questions about agents_prompt_restore

What does the agents_prompt_restore tool do? +

Restore a past version of an agent's prompt_text by version_number. Creates a new version pointing at the restored content — history is preserved. Use agents.prompt_history first to find the version_number you want. 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 agents_prompt_restore accept? +

agents_prompt_restore accepts 3 parameters: reason, agent_id, version_number. Required: agent_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 agents_prompt_restore? +

Register the Dialogbrain MCP server in PolicyLayer and add a rule for agents_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 agents_prompt_restore? +

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

Can I rate-limit agents_prompt_restore? +

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

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

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

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