Azure MCP Server

by mashriram
Verified

cosmosdb_item_replace

Replace an item in a Cosmos DB container

Input Schema

NameRequiredDescriptionDefault
container_nameYesName of the Cosmos DB container
database_nameNoName of the Cosmos DB database (optional, defaults to 'defaultdb')
itemYesUpdated item data (JSON object)
item_idYesID of the item to replace
partition_keyYesPartition 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": { "description": "Updated item data (JSON object)", "type": "object" }, "item_id": { "description": "ID of the item to replace", "type": "string" }, "partition_key": { "description": "Partition key value for the item", "type": "string" } }, "required": [ "container_name", "item_id", "partition_key", "item" ], "type": "object" }