dynamodb_create_table
Create a DynamoDB table in LocalStack. Define table name, partition key, and optional sort key with types. Choose billing mode and key attribute types (string, number, binary).
Instructions
Create a new DynamoDB table in LocalStack
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": {
"tableName": "<tableName>",
"partitionKey": "<partitionKey>",
"partitionKeyType": "<partitionKeyType>"
},
"name": "dynamodb_create_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sortKey | No | Sort key attribute name | |
| tableName | Yes | Table name | |
| billingMode | No | Billing mode (default: PAY_PER_REQUEST) | |
| sortKeyType | No | Sort key type | |
| partitionKey | Yes | Partition key attribute name | |
| partitionKeyType | Yes | Partition key type: S (String), N (Number), B (Binary) |