documents_import
Import documents into Yonote from file content or URL. Configure publishing, templates, and destination collection or parent document.
Instructions
Import a document from a file.
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": {
"file": "<file>"
},
"name": "documents_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File content or URL | |
| publish | No | Publish immediately | |
| template | No | Import as template | |
| collectionId | No | Collection ID | |
| parentDocumentId | No | Parent document ID |