files_upload
Upload files to Fastmail Files by providing a destination path and base64-encoded file content.
Instructions
Upload a file to Fastmail Files (WebDAV).
Args: path: Destination path (e.g. "/Documents/report.pdf"). content: Base64-encoded file content. content_type: MIME type of the file (default: application/octet-stream).
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": {
"path": "<path>",
"content": "<content>"
},
"name": "files_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| content_type | No | application/octet-stream |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |