quickbase_delete_field
Remove a specific field from a QuickBase table by specifying the table ID and field ID using this tool. Simplifies field management and maintains table structure.
Instructions
Delete a field from a table
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fieldId | Yes | Field ID to delete | |
| tableId | Yes | Table ID |
Implementation Reference
- src/quickbase/client.ts:135-139 (handler)Core implementation of deleting a QuickBase field via API DELETE request to /fields/{fieldId} with tableId parameter.async deleteField(tableId: string, fieldId: number): Promise<void> { await this.axios.delete(`/fields/${fieldId}`, { params: { tableId } }); }
- src/index.ts:196-208 (handler)MCP server handler for quickbase_delete_field tool call, validates args and delegates to QuickBaseClient.deleteField.case 'quickbase_delete_field': if (!args || typeof args !== 'object') { throw new Error('Invalid arguments'); } await this.qbClient.deleteField(args.tableId as string, args.fieldId as number); return { content: [ { type: 'text', text: `Field ${args.fieldId} deleted successfully`, }, ], };
- src/tools/index.ts:226-237 (registration)Tool registration entry in quickbaseTools array, including name, description, and input schema for validation.{ name: 'quickbase_delete_field', description: 'Delete a field from a table', inputSchema: { type: 'object', properties: { tableId: { type: 'string', description: 'Table ID' }, fieldId: { type: 'number', description: 'Field ID to delete' } }, required: ['tableId', 'fieldId'] } },
- src/tools/index.ts:229-237 (schema)Input schema definition for quickbase_delete_field tool parameters: tableId (string) and fieldId (number), both required.inputSchema: { type: 'object', properties: { tableId: { type: 'string', description: 'Table ID' }, fieldId: { type: 'number', description: 'Field ID to delete' } }, required: ['tableId', 'fieldId'] } },