tofupilot attachments

Last updated on May 21, 2026

The attachments command exposes the two-step upload primitives used internally by runs create-attachment and units create-attachment. Use these directly when you script raw multipart uploads.

initialize

The initialize subcommand initializes an upload. The required flag is --name, and the command returns an upload ID and a presigned URL.

init upload
tofupilot attachments initialize --name report.pdf

finalize

The finalize subcommand finalizes an upload after the bytes have been pushed to the presigned URL, and the required flag is --id.

finalize upload
tofupilot attachments finalize --id upload_abc

How is this guide?

On this page