get_item
Retrieve a DynamoDB item's attributes by table and primary key, with eventual consistency by default or strongly consistent reads when required.
Instructions
Returns attributes for an item with the given primary key. Uses eventually consistent reads by default, or set ConsistentRead=true for strongly consistent reads.
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>",
"key": "<key>"
},
"name": "get_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The primary key of an item. Must use DynamoDB attribute value format (see IMPORTANT note about DynamoDB Attribute Value Format). | |
| table_name | Yes | Table Name or Amazon Resource Name (ARN) | |
| region_name | No | The aws region to run the tool | |
| projection_expression | No | Attributes to retrieve, can include scalars, sets, or elements of a JSON document. | |
| expression_attribute_names | No | Substitution tokens for attribute names in an expression. |