Compare Two Playbooks
compare_playbooksCompares two playbooks the user can access with bounded output. Returns summary counts, bounded samples across categories, and mergedSections sizes for the suggested merge (full merged output is not inlined). Pass category + offset (plus valueStart when an entry is sliced) to page diff findings, or mergedSection (+ optional field, recipeIndex, offset, valueStart, limit) to read sections of the suggested merge, pinning continuations with expectedRevisionToken. Text written by other operators is marked as publisher-supplied content. [Bearer scope: playbook:read | playbook:compare | playbook:export]
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": {
"aId": "<aId>",
"bId": "<bId>"
},
"name": "compare_playbooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aId | Yes | First playbook id | |
| bId | Yes | Second playbook id | |
| field | No | Optional field within mergedSection (or workflowRecipes[recipeIndex]). | |
| limit | No | Optional page size (clamped within budget). | |
| offset | No | Non-negative collection paging offset (max 10000). Requires expectedRevisionToken and category or mergedSection when > 0. | |
| category | No | Optional comparison category to page in full. | |
| valueStart | No | Non-negative served UTF-16 position (nextValueStart) for slicing scalar mergedSection text fields or oversized category findings. Requires expectedRevisionToken when > 0. | |
| recipeIndex | No | 0-based workflowRecipes index (when mergedSection is 'workflowRecipes'). | |
| mergedSection | No | Optional section of the suggested merged playbook to inspect. | |
| expectedRevisionToken | No | Revision token from page 1; required on continuation pages. |