attachments_create
Generate a pre-signed URL for uploading file attachments to a Yonote document. Specify file name, MIME type, size, and optional document ID to receive an upload link.
Instructions
Create an attachment upload URL.
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": {
"name": "<name>",
"contentType": "<contentType>",
"size": "<size>"
},
"name": "attachments_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name | |
| size | Yes | File size in bytes | |
| documentId | No | Associated document ID | |
| contentType | Yes | MIME content type |