/** * MCP Tool Definitions * * Defines the tools that GitNexus exposes to external AI agents. * All tools support an optional `repo` parameter for multi-repo setups. */ import type { ToolAnnotations } from '@modelcontextprotocol/sdk/types.js'; export interface ToolDefinition { name: string; description: string; annotations: ToolAnnotations; inputSchema: { type: 'object'; properties: Record; required: string[]; }; } /** * Pagination bounds for the `list_repos` tool. Exported so the backend * validation (`local-backend.ts`) and the schema below stay a single source of * truth. `list_repos` is paginated to keep its response under MCP/LLM token * truncation limits when many repos are indexed (#2119); the default page is * small enough to render safely, and `LIST_REPOS_MAX_LIMIT` caps how much a * caller can pull in one request. */ export declare const LIST_REPOS_DEFAULT_LIMIT = 50; export declare const LIST_REPOS_MAX_LIMIT = 200; export declare const GITNEXUS_TOOLS: ToolDefinition[];