export interface AppMcpTool { /** Configured MCP server id. */ serverId: string; /** Original, unprefixed name reported by the MCP server. */ name: string; title?: string; description: string; inputSchema: Record; outputSchema?: Record; annotations?: Record; _meta?: Record; } export interface ListVisibleMcpToolsOptions { /** Restrict the result to one configured server. */ serverId?: string; } export declare class McpAppApiError extends Error { readonly statusCode: 401 | 403 | 503; constructor(message: string, statusCode: 401 | 403 | 503); } /** * List MCP tools that the authenticated request may expose to an app. * * The manager owns connection state and credentials; this API deliberately * projects only the tool contract and never returns server configuration. */ export declare function listVisibleMcpTools(options?: ListVisibleMcpToolsOptions): Promise; /** * Call an app-visible MCP tool by server id and its original server-reported * name. The prefixed manager name is built only after the tool is found in * that server's current, request-visible tool list. */ export declare function callMcpTool(serverId: string, originalToolName: string, args?: Record): Promise; //# sourceMappingURL=app-api.d.ts.map