GitHub / warm

List Pull Requests

List pull requests in a repository with optional state + branch filters.

Quick Start

aweb inspect github.list_pull_requests
aweb add github
aweb plan "use GitHub list pull requests in an agent workflow"
import Aweb, { Agent } from '@aweb/sdk';

const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });
const agent = new Agent({ tools: aweb.tools });

agent.add('github');

const plan = await agent.plan('Use GitHub for this workflow');
const tool = await aweb.tools.inspect('github.list_pull_requests');

console.log(plan.nextAction);
console.log(tool.inputSchema);

Tool Card

Tool idgithub.list_pull_requests
ProviderGitHub (github)
Tool namelist_pull_requests
Activationwarm
Healthhealthy
Trust score1.00
Transportstreamable_http
Latencynot yet measured
Cost0

Requirements and Governance

Authoauth_2_1_pkce
Credentialsetup_required
Workspacerequired
Approvalnone
RiskREAD
Permissionsrepo, read:org, workflow, read
Credential setup/api/mcp-warehouse/credentials/github/init

Schemas

{
  "type": "object",
  "properties": {
    "owner": {
      "type": "string",
      "description": "Repository owner"
    },
    "repo": {
      "type": "string",
      "description": "Repository name"
    },
    "state": {
      "type": "string",
      "enum": [
        "open",
        "closed",
        "all"
      ],
      "description": "PR state filter (default open)"
    },
    "head": {
      "type": "string",
      "description": "Filter by head branch (user:branch)"
    },
    "base": {
      "type": "string",
      "description": "Filter by base branch"
    },
    "per_page": {
      "type": "integer",
      "description": "Results per page (default 30, max 100)"
    },
    "page": {
      "type": "integer",
      "description": "Page number"
    }
  },
  "required": [
    "owner",
    "repo"
  ],
  "additionalProperties": false
}

Examples

[
  {
    "objective": "Use GitHub list pull requests in an agent workflow.",
    "args": {
      "owner": "<owner>",
      "repo": "<repo>",
      "state": "<state>",
      "head": "<head>"
    }
  }
]
Back to MCP Tool Cards