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 Result of executing a run, the counterpart of FunctionRunResponse in Python.

Fields

string
required
string
required
string | null
required
unknown
required
The value returned by the script’s run function, decoded from JSON.
"failed" | "rejected" | "closed" | "active"
required
rejected when the function raised an ExpectedFunctionError (a deliberate refusal), failed for any other exception. Neither is a success. An API without rejected support reports deliberate refusals as failed too; error.kind is then still expected when the API sends error.
FunctionRunError | undefined
What a failed or rejected run’s exception means, when the API reports it.