UNPKG

mcp-quickbase

Version:

Work with Quickbase via Model Context Protocol

88 lines (87 loc) 1.98 kB
import { BaseTool } from "../base"; import { QuickbaseClient } from "../../client/quickbase"; /** * Parameters for create_app tool */ export interface CreateAppParams { /** * Name of the application to create */ name: string; /** * Description of the application */ description?: string; /** * Additional options for app creation */ options?: Record<string, any>; } /** * Response from creating an application */ export interface CreateAppResult { /** * The ID of the created application */ appId: string; /** * The name of the created application */ name: string; /** * The description of the created application */ description?: string; /** * The date the application was created */ created?: string; /** * The URL to access the application */ appUrl?: string; /** * Additional details returned from the API */ [key: string]: any; } /** * Tool for creating a new Quickbase application */ export declare class CreateAppTool extends BaseTool<CreateAppParams, CreateAppResult> { name: string; description: string; /** * Parameter schema for create_app */ paramSchema: { type: string; properties: { name: { type: string; description: string; }; description: { type: string; description: string; }; options: { type: string; description: string; }; }; required: string[]; }; /** * Constructor * @param client Quickbase client */ constructor(client: QuickbaseClient); /** * Run the create_app tool * @param params Tool parameters * @returns Created application details */ protected run(params: CreateAppParams): Promise<CreateAppResult>; }