mcp-quickbase
Version:
Work with Quickbase via Model Context Protocol
71 lines (70 loc) • 2.15 kB
TypeScript
import { BaseTool } from "../base";
import { QuickbaseClient } from "../../client/quickbase";
interface RunReportParams {
report_id: string;
options?: {
filters?: Record<string, any>;
format?: "JSON" | "CSV" | "XML";
groupBy?: string[];
sortBy?: string[];
skip?: number;
top?: number;
};
}
/**
* Tool for executing Quickbase reports
*/
export declare class RunReportTool extends BaseTool<RunReportParams, any> {
readonly name = "run_report";
readonly description = "Execute a Quickbase report with optional filters and parameters";
readonly paramSchema: {
type: string;
properties: {
report_id: {
type: string;
description: string;
};
options: {
type: string;
description: string;
properties: {
filters: {
type: string;
description: string;
};
format: {
type: string;
description: string;
enum: string[];
};
groupBy: {
type: string;
description: string;
items: {
type: string;
};
};
sortBy: {
type: string;
description: string;
items: {
type: string;
};
};
skip: {
type: string;
description: string;
};
top: {
type: string;
description: string;
};
};
};
};
required: string[];
};
constructor(client: QuickbaseClient);
protected run(params: RunReportParams): Promise<any>;
}
export {};