scan_table
Scan a DynamoDB table to fetch all items, with optional filtering to limit results. Ideal for browsing the full dataset when the partition key is unknown.
Instructions
Scan a DynamoDB table to read all items, optionally filtering results.
Scans read every item in the table (or index), consuming read capacity proportional to table size regardless of filters. Use queries when possible.
When to use:
To browse all items in a table
When you don't know the partition key value
For ad-hoc searches across all items
When NOT to use:
When you know the partition key (use query_table — much more efficient)
For large tables without filters (expensive and slow)
Returns: Items from the scan with count, scanned_count, and pagination key. Format controlled by 'format' parameter (json or markdown).
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": {
"input": "<input>"
},
"name": "scan_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |