delete_item
Remove a single item from a DynamoDB table by specifying its full primary key. Add a condition to confirm the item exists before deletion.
Instructions
Delete a single item from a DynamoDB table by its primary key.
The item is permanently removed. Use condition_expression to ensure the item exists before deleting.
When to use:
To remove a specific item from a table
When you know the item's full primary key
When NOT to use:
To delete all items (use prune_table instead)
To delete by non-key attributes (scan first, then delete)
Returns: JSON confirmation with the deleted item's key.
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": "delete_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |