cosmosdb_item_create
Add a new item to a Cosmos DB container using JSON data. Specify the container name and item details for efficient document storage and retrieval. Simplifies database management on Azure MCP Server.
Instructions
Create a new item in 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 | Yes | Item data to create (JSON object) |
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": "Item data to create (JSON object)",
"type": "object"
}
},
"required": [
"container_name",
"item"
],
"type": "object"
}