List discussions with list_discussions
Goal: retrieve a repository’s Discussions (up to the first 50).
Prerequisites
Section titled “Prerequisites”- Read access to the target repository.
-
Call
list_discussions:{ "owner": "your-org", "repo": "your-repo" } -
Read the response — an array of
{ id, number, title, url, category }.
Verify it worked
Section titled “Verify it worked”- Cross-check titles/numbers against the repository’s Discussions tab.
- Note the tool returns only the first 50 discussions; for a repository with more, you’ll need pagination not currently exposed by this tool.
See also: tool reference.