diff
Compare two agent configs and show changes section by section, including field paths with old/new values. Preview draft vs live to verify edits before publishing.
Instructions
Compare two agent configs and show what changed, section by section (field paths with old/new values). Each side is a reference: a revision_id (from list_revisions) or "<branch_id>:draft" for a branch's open draft (branch_id from list_branches). E.g. diff a branch's draft against the live head to preview a publish.
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>",
"a": "<a>",
"b": "<b>"
},
"name": "diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Left side: a revision_id, or "<branch_id>:draft" for a branch's open draft | |
| b | Yes | Right side: a revision_id, or "<branch_id>:draft" for a branch's open draft | |
| agent_id | Yes | The agent ID |