UNPKG

mcp-quickbase

Version:

Work with Quickbase via Model Context Protocol

92 lines (91 loc) 2.1 kB
import { BaseTool } from "../base"; import { QuickbaseClient } from "../../client/quickbase"; /** * Parameters for update_app tool */ export interface UpdateAppParams { /** * The ID of the application to update */ app_id: string; /** * New name for the application */ name?: string; /** * New description for the application */ description?: string; /** * Additional options for app update */ options?: Record<string, any>; } /** * Response from updating an application */ export interface UpdateAppResult { /** * The ID of the updated application */ appId: string; /** * The updated name of the application */ name?: string; /** * The updated description of the application */ description?: string; /** * The date the application was updated */ updated?: string; /** * Additional details returned from the API */ [key: string]: any; } /** * Tool for updating an existing Quickbase application */ export declare class UpdateAppTool extends BaseTool<UpdateAppParams, UpdateAppResult> { name: string; description: string; /** * Parameter schema for update_app */ paramSchema: { type: string; properties: { app_id: { type: string; description: string; }; 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 update_app tool * @param params Tool parameters * @returns Updated application details */ protected run(params: UpdateAppParams): Promise<UpdateAppResult>; }