AI agent instructions
AI agent instructions
<localDir>/<filename> and return the local path. The
file is written atomically (temporary file + rename). Rejects with
FileExistsError when the destination exists unless force is set.
Parameters
Returns
Raises
- NotteAPIError if the storage API request fails.
- InvalidRequestError if storage has not been bound to a session.
- FileExistsError if the destination exists and
forceis false. Filesystem errors also propagate.