skavio_upload_bytes
Upload a small source supplied directly as standard base64 content to the authenticated company's storage. Use for inline documents or media up to49152 decoded bytes; filename identifies the file type, data_base64 contains the bytes, and idempotency_key identifies this exact filename/content. Use skavio_upload for operator-staged larger files. Returns uploads containing source id, detected kind, size_bytes, pages and duration; pass those IDs to skavio_estimate. Identical completed retries replay the upload, changed content conflicts, and uncertain uploads require operator reconciliation. Uploading creates stored input, not a billable processing job.
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>",
"data_base64": "<data_base64>",
"idempotency_key": "<idempotency_key>"
},
"name": "skavio_upload_bytes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Source basename including extension, for example invoice.pdf. No directory separators or URLs; begins with a letter/digit and may contain letters, digits, spaces, underscore, dot or hyphen. For skavio_upload it must already exist in the configured input directory. | |
| data_base64 | Yes | Standard base64-encoded raw file bytes without a data: URL prefix. Decoded content must be nonempty and no larger than49152 bytes; keep filename extension consistent with the content. | |
| idempotency_key | Yes | Caller-selected stable identifier8-128 characters (letters, digits, underscore, dot, colon or hyphen) for exactly one upload or job intent. Reuse the same key with identical arguments after a retry; use a different key only for a genuinely new intent, never to bypass an uncertain outcome. |