Upload a file
upload_fileUploads UTF-8 text or base64 bytes, at most 10 MiB, to the Oracle inbox or outbox. I show the filename, destination and byte count first. Confirm the exact preview before I send it. An existing file is not overwritten. Use it to send an input file before a data or metadata job. ZIP snapshot extraction is a separate migration workflow in list_rest_operations. For a write, I require a preview first, then confirm: true and its confirmationToken. The token lasts ten minutes and works once.
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": {
"fileName": "<fileName>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true after the user has approved the previewed change | |
| content | No | File content as UTF-8 text or canonical base64. At most 10 MiB after decoding. | |
| encoding | No | How content is encoded. | text |
| fileName | Yes | File name only, without folders. | |
| connection | No | Connection id or label from list_connections. Defaults to the user's default connection. | |
| destination | No | Oracle file destination. | inbox |
| confirmationToken | No | Single-use token from this exact preview. Send it with confirm: true after the user approves. It expires after ten minutes. |