Tool Definitions - fleXRPL/github-mcp GitHub Wiki

Tool Definitions

This page describes the schema and structure of tool calls in the GitHub MCP Server.

Tool Call Schema

  • name: Name of the tool (string)
  • parameters: Tool-specific parameters (object)

Example Tool Call

{
  "name": "list_issues",
  "parameters": {
    "owner": "octocat",
    "repo": "Hello-World"
  }
}

Tool Call Process

sequenceDiagram
    participant Client
    participant MCPServer
    participant ToolHandler
    Client->>MCPServer: POST /tool
    MCPServer->>ToolHandler: Validate & Execute
    ToolHandler-->>MCPServer: Tool Result
    MCPServer-->>Client: Response

Related