Upload a file from the Dialog Lab (app-only)
dialog_lab_uploadAccepts a base64-encoded file from the Dialog Lab UI, enforces a 10 MiB limit, and returns its size and SHA-256 without storing or logging the content.
Instructions
Called by the Dialog Lab UI with a base64-encoded file. Returns its size and SHA-256; the content is not stored or logged. Limit: 10.00 MiB (UPLOAD_MAX_BYTES). Hidden from the model.
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>",
"mimeType": "<mimeType>",
"data": "<data>"
},
"name": "dialog_lab_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Standard base64, no data: prefix | |
| name | Yes | ||
| mimeType | Yes |