capability_id: pr.diff.view
version: "1.0.0"
description: View the unified diff for a pull request.
input_schema:
  type: object
  required: [owner, name, prNumber]
  properties:
    owner: { type: string, minLength: 1 }
    name: { type: string, minLength: 1 }
    prNumber: { type: integer, minimum: 1 }
  additionalProperties: false
output_schema:
  type: object
  required: [diff]
  properties:
    diff: { type: string }
  additionalProperties: false
routing:
  preferred: cli
  fallbacks: []
cli:
  command: pr diff
