{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "list_blocks",
        "list_files",
        "get_progress",
        "get_file_progress",
        "get_changed_since_reviewed",
        "get_unreviewed_files"
      ],
      "description": "Operation to perform. Choose one advertised value; the remaining parameters are interpreted for that action."
    },
    "provider": {
      "type": "string",
      "enum": [
        "github"
      ],
      "description": "Source provider for the review. Commentary currently accepts GitHub for provider-backed MCP operations."
    },
    "owner": {
      "type": "string",
      "description": "Repository owner or organization login."
    },
    "repo": {
      "type": "string",
      "description": "Repository name without the owner prefix."
    },
    "prNumber": {
      "type": "number",
      "description": "Pull request number within the selected repository."
    },
    "branchRef": {
      "type": "string",
      "description": "Repository branch name or fully qualified branch reference."
    },
    "filePath": {
      "type": "string",
      "description": "Repository-relative or review-relative file path."
    },
    "fileId": {
      "type": "string",
      "description": "Stable Commentary file identifier returned by the review or revision API."
    },
    "sessionId": {
      "type": "string",
      "description": "Stable Draft, or Research session identifier, as applicable to the selected tool."
    }
  },
  "required": [
    "action"
  ]
}