> ## Documentation Index
> Fetch the complete documentation index at: https://notte-experiment-visibility-md-links.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# upload

> Upload a file from your local machine to storage

This file will then be available to the agent in the current session.

```python theme={null}
storage = notte.FileStorage()
with notte.Session(storage=storage) as session:
    # make the file available to the agent in the current session
    storage.upload(file_path="<local_file_path>")
```

## Parameters

<ParamField path="file_path" type="str" required />

<ParamField path="upload_file_name" type="UnionType[str, None]" default="None" />

## Returns

`bool`
