dynamodb_query
Query a DynamoDB table in LocalStack using key condition expressions to filter and retrieve matching items.
Instructions
Query items in a DynamoDB table by key condition 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>",
"keyConditionExpression": "<keyConditionExpression>",
"expressionAttributeValues": "<expressionAttributeValues>"
},
"name": "dynamodb_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return | |
| tableName | Yes | Table name | |
| filterExpression | No | Additional filter expression | |
| keyConditionExpression | Yes | Key condition expression (e.g. pk = :pk) | |
| expressionAttributeValues | Yes | Expression attribute values as JSON string (e.g. {":pk": "123"}) |