quickbase_delete_table
Delete a specific table from QuickBase using its table ID. This MCP tool simplifies table management by enabling precise removal to maintain organized application structures.
Instructions
Delete a table from QuickBase
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableId | Yes | QuickBase table ID to delete |
Implementation Reference
- src/quickbase/client.ts:83-87 (handler)Core implementation of the tool: sends DELETE request to QuickBase API endpoint /tables/{tableId} to delete the specified table.async deleteTable(tableId: string): Promise<void> { await this.axios.delete(`/tables/${tableId}`, { params: { appId: this.config.appId } }); }
- src/index.ts:125-137 (handler)MCP CallToolRequest handler case that validates input arguments and delegates execution to QuickBaseClient.deleteTable method.case 'quickbase_delete_table': if (!args || typeof args !== 'object') { throw new Error('Invalid arguments'); } await this.qbClient.deleteTable(args.tableId as string); return { content: [ { type: 'text', text: `Table ${args.tableId} deleted successfully`, }, ], };
- src/tools/index.ts:161-171 (registration)Tool registration object defining name, description, and JSON input schema for MCP tool listing.{ name: 'quickbase_delete_table', description: 'Delete a table from QuickBase', inputSchema: { type: 'object', properties: { tableId: { type: 'string', description: 'QuickBase table ID to delete' } }, required: ['tableId'] } },
- src/tools/index.ts:5-7 (schema)Zod schema for input validation matching the tool's tableId parameter.const TableIdSchema = z.object({ tableId: z.string().describe('QuickBase table ID (e.g., "bu65pc8px")') });