Upload local files for ask_stefanbrain to see
Pre-stage up to 10 files from your machine (image/* except SVG; text/* (including code/CSV); PDF; JSON/XML; Word/PowerPoint/Excel; OpenDocument; RTF; EPUB; ZIP; MP4 and MOV video for upload_creative and prepare_launch) so an MCP ask_stefanbrain call can attach them via file_ids. ask_stefanbrain refuses videos: pass a video’s id to upload_creative (source {kind: "upload", upload_id}) or prepare_launch (file). Each file is at most 100 MB; for a larger video, pass a public https link as prepare_launch file or upload_creative source.url. Send multipart/form-data with repeated files fields, e.g. curl -F "files=@ad.png" -F "files=@brief.pdf". Uploads expire after 24 hours and can be reused across asks. Rate-limited but never metered. With developer_v1_file_attachments enabled, use JSON source upload as the primary path for every size: supply name, mime_type and exact bytes (1 byte to 5 GiB, the web batch limit); PUT directly to storage using all returned transfer headers, then POST source complete with the saved upload ID, revision and SHA-256 and a new Idempotency-Key. Multipart completion also needs transfer.uploadId and ordered part ETags. Direct files accept web attachment types including audio/video and are retained; expires_at is absent. transfer.expires_at is a separate 15-minute deadline. Only state ready is askable through file_ids. URL/base64 and multipart remain compatibility paths; enabled accounts may attach their media too.

