quickbase_delete_record
Remove a specific record from a QuickBase table by providing the table ID and record ID. This tool simplifies data management within the QuickBase MCP Server.
Instructions
Delete a record from a table
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recordId | Yes | Record ID to delete | |
| tableId | Yes | Table ID |
Implementation Reference
- src/quickbase/client.ts:221-228 (handler)Core implementation of the delete record logic using QuickBase REST API DELETE /records with where clause targeting the specific record ID (field 3).async deleteRecord(tableId: string, recordId: number): Promise<void> { await this.axios.delete('/records', { data: { from: tableId, where: `{3.EX.${recordId}}` } }); }
- src/index.ts:283-295 (registration)MCP server switch case handler that processes tool calls for quickbase_delete_record, validates arguments, calls the client method, and returns success response.case 'quickbase_delete_record': if (!args || typeof args !== 'object') { throw new Error('Invalid arguments'); } await this.qbClient.deleteRecord(args.tableId as string, args.recordId as number); return { content: [ { type: 'text', text: `Record ${args.recordId} deleted successfully`, }, ], };
- src/tools/index.ts:316-327 (schema)Tool registration and input schema definition used by MCP server for listing and validating quickbase_delete_record tool parameters.{ name: 'quickbase_delete_record', description: 'Delete a record from a table', inputSchema: { type: 'object', properties: { tableId: { type: 'string', description: 'Table ID' }, recordId: { type: 'number', description: 'Record ID to delete' } }, required: ['tableId', 'recordId'] } },