quickbase_create_table
Create a custom table in QuickBase by specifying a name and description using this tool. It enables structured data management within applications hosted on the QuickBase MCP Server.
Instructions
Create a new table in QuickBase
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | Table description | |
| name | Yes | Table name |
Implementation Reference
- src/quickbase/client.ts:58-67 (handler)Core handler function that executes the QuickBase API call to create a new table.async createTable(table: { name: string; description?: string }): Promise<string> { const response = await this.axios.post('/tables', { appId: this.config.appId, name: table.name, description: table.description, singleRecordName: table.name.slice(0, -1), // Remove 's' for singular pluralRecordName: table.name }); return response.data.id; }
- src/index.ts:95-110 (handler)MCP server handler that processes the tool call and delegates to QuickBaseClient.createTable.case 'quickbase_create_table': if (!args || typeof args !== 'object') { throw new Error('Invalid arguments'); } const tableId = await this.qbClient.createTable({ name: args.name as string, description: args.description as string }); return { content: [ { type: 'text', text: `Table created with ID: ${tableId}`, }, ], };
- src/tools/index.ts:137-147 (registration)Tool registration in the quickbaseTools array, including name, description, and input schema.name: 'quickbase_create_table', description: 'Create a new table in QuickBase', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Table name' }, description: { type: 'string', description: 'Table description' } }, required: ['name'] } },
- src/tools/index.ts:14-17 (schema)Zod schema for validating create table input parameters.const CreateTableSchema = z.object({ name: z.string().describe('Table name'), description: z.string().optional().describe('Table description') });