diffAgentVersion
Compare an agent version with the previous version, its live config, or another version. See exactly what changed before restoring a config.
Instructions
Get a record-level diff for this version. By default it shows what changed in this version compared with the version before it. Use against=current to compare with the agent's live config (what restoring this version would change), or against=<number> to compare with another version.
(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": "diffAgentVersion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| against | No | What to compare against. Omit or `previous` for the version before this one (the default). `current` for the agent's live config. A version number to compare with that version. | |
| agent_id | Yes | The ID of the agent. | |
| version_number | Yes | The version number, as returned in `version_number` from the list or save endpoints. |