cosmosdb_item_delete
Delete a specific item from a Cosmos DB container by specifying the container name, item ID, and partition key. Works with Azure MCP Server for automated logging and audit tracking.
Instructions
Delete an item from a Cosmos DB container
Input Schema
Name | Required | Description | Default |
---|---|---|---|
container_name | Yes | Name of the Cosmos DB container | |
database_name | No | Name of the Cosmos DB database (optional, defaults to 'defaultdb') | |
item_id | Yes | ID of the item to delete | |
partition_key | Yes | Partition key value for the item |
Input Schema (JSON Schema)
{
"properties": {
"container_name": {
"description": "Name of the Cosmos DB container",
"type": "string"
},
"database_name": {
"description": "Name of the Cosmos DB database (optional, defaults to 'defaultdb')",
"type": "string"
},
"item_id": {
"description": "ID of the item to delete",
"type": "string"
},
"partition_key": {
"description": "Partition key value for the item",
"type": "string"
}
},
"required": [
"container_name",
"item_id",
"partition_key"
],
"type": "object"
}