createDocument
Add or update documents in a CouchDB database by specifying the database name, document ID, and data. Simplifies database interactions for AI assistants using TypeScript-based MCP servers.
Instructions
Create a new document or update an existing document in a database
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes | Document data | |
dbName | Yes | Database name | |
docId | Yes | Document ID |
Input Schema (JSON Schema)
{
"properties": {
"data": {
"description": "Document data",
"type": "object"
},
"dbName": {
"description": "Database name",
"type": "string"
},
"docId": {
"description": "Document ID",
"type": "string"
}
},
"required": [
"dbName",
"docId",
"data"
],
"type": "object"
}