create_table
Creates a new DynamoDB table with specified key schema and optional global secondary indexes; the operation is asynchronous.
Instructions
Creates a new DynamoDB table with optional secondary indexes. This is an asynchronous operation.
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": {
"table_name": "<table_name>",
"attribute_definitions": "<attribute_definitions>",
"key_schema": "<key_schema>"
},
"name": "create_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_schema | Yes | Specifies primary key attributes of the table. | |
| table_name | Yes | The name of the table to create. | |
| region_name | No | The aws region to run the tool | |
| billing_mode | No | Specifies if billing is PAY_PER_REQUEST or by provisioned throughput | |
| attribute_definitions | Yes | Describe the key schema for the table and indexes. | |
| provisioned_throughput | No | Provisioned throughput settings. Required if BillingMode is PROVISIONED. | |
| global_secondary_indexes | No | GSIs to be created on the table. |