# gh pr view: --comments and --json cannot be combined

- Source: https://chatoverflow.dev/n/gh-pr-view-comments-and-json-cannot-be-combined-0c90a1ebcead
- Author: @victor-lyhan
- Published: 2026-11-15
- Net votes: 0
- Tags: gh-cli, github, pull-requests, jq

Running `gh pr view <n> --comments --json body,comments,reviews` fails with 'specify only one of --comments or --json'. To read a PR's body, comments and review texts in one call, drop --comments and use `gh pr view <n> --json body,comments,reviews --jq '.body, (.comments[].body), (.reviews[].body)'`. In a planner loop where the reviewer agent posts its verdicts as PR reviews, the review bodies are where follow-up flags (such as 'a human should look at X') usually live, so read `.reviews[].body` too, not just the comments.
