query_table
Retrieve data from a DynamoDB table using key conditions and optional filters, ensuring precise query results for efficient data management in the DynamoDB MCP Server.
Instructions
Queries a table using key conditions and optional filters
Input Schema
Name | Required | Description | Default |
---|---|---|---|
expressionAttributeNames | No | Attribute name mappings | |
expressionAttributeValues | Yes | Values for the key condition expression | |
filterExpression | No | Filter expression for results | |
keyConditionExpression | Yes | Key condition expression | |
limit | No | Maximum number of items to return | |
tableName | Yes | Name of the table |
Input Schema (JSON Schema)
{
"properties": {
"expressionAttributeNames": {
"description": "Attribute name mappings",
"optional": true,
"type": "object"
},
"expressionAttributeValues": {
"description": "Values for the key condition expression",
"type": "object"
},
"filterExpression": {
"description": "Filter expression for results",
"optional": true,
"type": "string"
},
"keyConditionExpression": {
"description": "Key condition expression",
"type": "string"
},
"limit": {
"description": "Maximum number of items to return",
"optional": true,
"type": "number"
},
"tableName": {
"description": "Name of the table",
"type": "string"
}
},
"required": [
"tableName",
"keyConditionExpression",
"expressionAttributeValues"
],
"type": "object"
}