Skip to content

Tool Definitions

Garot Conklin edited this page May 23, 2025 · 1 revision

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
Loading

Related

Clone this wiki locally