Skip to main content
anthropic.addSessionFile mounts a previously uploaded Anthropic file into a session.

Example

automations/anthropic-add-session-file.automation.ts

Inputs

Requires sessionId, type: "file", and fileId. mountPath defaults under /mnt/session/uploads. Inputs use public camelCase names and accept signals.

Output and behavior

Returns the attached file resource. Anthropic requests time out before the action lease and provider mutations are not retried after an uncertain response unless stated otherwise.