Skip to main content

File attachments

Pass files or directories as an array:
Use helpers when you want a simpler API:

Blob attachments

Use the blob type to attach Base64-encoded data inline. This lets you send binary payloads such as images without writing temp files.
selection and github_reference currently have limited official SDK documentation. Details may change.
For the latest updates, see the GitHub repository.
Last modified on April 19, 2026