ddb_generate_gsi
Generate DynamoDB Global Secondary Index configurations for alternate query patterns by specifying keys and projection type.
Instructions
Generate Global Secondary Index configurations for alternate query patterns
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>",
"index_name": "<index_name>",
"partition_key": "<partition_key>",
"projection": "<projection>"
},
"name": "ddb_generate_gsi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| sort_key | No | GSI sort key attribute | |
| index_name | Yes | GSI name | |
| projection | Yes | Projection type | |
| table_name | Yes | DynamoDB table name | |
| partition_key | Yes | GSI partition key attribute |