GitHub

list_discussions

List discussions for a repository or organisation.

Remote github

Other tools also called list_discussions? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "repo": {
      "type": "string",
      "description": "Repository name. If not provided, discussions will be queried at the organisation level."
    },
    "after": {
      "type": "string",
      "description": "Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs."
    },
    "owner": {
      "type": "string",
      "description": "Repository owner"
    },
    "orderBy": {
      "enum": [
        "CREATED_AT",
        "UPDATED_AT"
      ],
      "type": "string",
      "description": "Order discussions by field. If provided, the 'direction' also needs to be provided."
    },
    "perPage": {
      "type": "number",
      "maximum": 100,
      "minimum": 1,
      "description": "Results per page for pagination (min 1, max 100)"
    },
    "category": {
      "type": "string",
      "description": "Optional filter by discussion category ID. If provided, only discussions with this category are listed."
    },
    "direction": {
      "enum": [
        "ASC",
        "DESC"
      ],
      "type": "string",
      "description": "Order direction."
    }
  }
}
          

Provider

GitHub →