create_table
Create a new table in a database and optionally provide initial data rows, with the first row usable as field names to define the schema.
Instructions
Create a new table in a database. Optionally provide initial data rows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"database_id": "<database_id>",
"name": "<name>"
},
"name": "create_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional initial rows. Each row is an array of values in field order. | |
| name | Yes | The name for the new table (max 255 chars). | |
| database_id | Yes | The database ID to create the table in. | |
| first_row_header | No | If true, the first row of data is used as field names. Default: false. |