Create document
create_documentCreate a new document in a Shoanta collection by providing the collection ID, title, and optional markdown content or property values.
Instructions
Create a new document in a collection.
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": {
"collectionId": "<collectionId>",
"title": "<title>"
},
"name": "create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Document title | |
| content | No | Document content (markdown) | |
| properties | No | Property values keyed by property name, e.g. {"Status":"Done","Priority":"High"} | |
| collectionId | Yes | ID of the collection (database) |