19 lines
881 B
TypeScript
19 lines
881 B
TypeScript
/**
|
|
* Vibn MCP tool definitions for the Gemini chat assistant.
|
|
*
|
|
* These mirror the full MCP surface documented in AI_CAPABILITIES.md.
|
|
* Tool names use underscores (e.g. apps_create) which map 1:1 to the
|
|
* MCP action names (e.g. apps.create) by replacing _ with .
|
|
*
|
|
* Non-MCP tools (github_search, github_file, http_fetch) are handled
|
|
* locally at the bottom of this file.
|
|
*/
|
|
export type ToolDefinition = any;
|
|
export declare const VIBN_TOOL_DEFINITIONS: ToolDefinition[];
|
|
/**
|
|
* Execute any Vibn tool. Non-MCP tools (GitHub, http_fetch) run locally.
|
|
* All MCP tools forward to POST /api/mcp — the tool name maps to the MCP
|
|
* action by replacing underscores with dots (e.g. apps_create → apps.create).
|
|
*/
|
|
export declare function executeMcpTool(toolName: string, args: Record<string, unknown>, mcpToken: string, baseUrl: string, projectId?: string): Promise<string>;
|