restore_agent_version
Roll back an agent to a previous version while automatically saving the current configuration as a new snapshot for easy undo capability.
Instructions
Restore an agent to a previous version (rollback). The current config is automatically saved as a new snapshot before restoring, so you can always undo a restore. Use list_agent_versions first to see available versions.
Requires role: owner, admin, or developer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agentId": "<agentId>",
"version": "<version>"
},
"name": "restore_agent_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | The MongoDB ID of the agent | |
| version | Yes | Version number to restore (from list_agent_versions) |