Prepare Upload
mcp_prepare_uploadApp-only: create an Inbox interview and return a presigned R2 upload URL (or multipart upload_id for large files). Pass interview_id (+ upload_id for multipart) to resume without a new card.
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>",
"size_bytes": "<size_bytes>"
},
"name": "mcp_prepare_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional interview title (defaults to sanitized filename). | |
| filename | Yes | Original filename. | |
| upload_id | No | Optional multipart upload id from a previous prepare (resume). | |
| size_bytes | Yes | File size in bytes. | |
| content_type | No | MIME type for the PUT (optional). | |
| interview_id | No | Optional: existing empty interview UUID — resume upload without creating a new card. |