Skip to main content
Read the Notte skill and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
Source: node-sdk/src/functions.ts Upload a new version of the code, mirroring function.update(path=...).

Parameters

FunctionUpdateOptions
required
Local Python file path, optional version, and code-access settings.

Returns

Updated function metadata, including its latest version.

Raises

  • InvalidRequestError if the path is missing or does not end in .py.
  • NotteAPIError if the upload is rejected.

Example