Skip to main content
Mark a method as the handler for a file a client sends on its own, outside any command.
The handler takes exactly one parameter named uploaded_file, plus an optional client. The runtime fetches an upload’s bytes only when the model declares this hook. Prefer putting a file on the command it belongs to, so the schema tells the client what the file is for.