restoreAgentVersion
Roll back a live agent to a saved version. Current settings are backed up first, so you can undo; deleted knowledge files or integrations are skipped.
Instructions
Restore a version onto the live agent. Your current setup is saved first as a backup version, so restoring is undoable. Configuration is brought back; any knowledge files or integrations that were deleted since this version was saved can't be re-linked, and are reported in skipped.
(Tags: Agents)
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": {
"agent_id": "<agent_id>",
"version_number": "<version_number>"
},
"name": "restoreAgentVersion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The ID of the agent. | |
| requestBody | No | The JSON request body. | |
| version_number | Yes | The version number, as returned in `version_number` from the list or save endpoints. |