Create a Mudbase document
mudbase_create_documentCreate a new document in a Mudbase collection by providing JSON data that matches the collection's field schema, and trigger the configured webhooks and triggers.
Instructions
Create a new document in a Mudbase collection. 'data' must match the collection's declared field schema (see mudbase_get_collection). Fires the collection's configured webhooks and triggers.
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": {
"projectId": "<projectId>",
"collectionId": "<collectionId>",
"data": "<data>"
},
"name": "mudbase_create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The document fields as a plain JSON object. | |
| projectId | Yes | The Mudbase project ID. | |
| collectionId | Yes | The collection ID to operate on. |