> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notte.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# EvaluateJsAction

<Tip>
  Read [the Notte skill](https://notte.cc/skill.md) 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.
</Tip>

[Source: node-sdk/src/lib/client/types.gen.ts](https://github.com/nottelabs/notte/blob/main/node-sdk/src/lib/client/types.gen.ts)

```typescript theme={null}
export type EvaluateJsAction = {
    /**
     * Type
     */
    type?: 'evaluate_js';
    /**
     * Category
     */
    category?: string;
    /**
     * Description
     */
    description?: string;
    /**
     * Code
     *
     * The JavaScript code to evaluate on the page. Use a single expression or an IIFE for multi-statement code.
     */
    code: string;
};
```

## Fields

<ParamField body="type" type={"\"evaluate_js\" | undefined"} />

<ParamField body="category" type={"string | undefined"} />

<ParamField body="description" type={"string | undefined"} />

<ParamField body="code" type={"string"} required>
  The JavaScript code to evaluate on the page. Use a single expression or an IIFE for multi-statement code.
</ParamField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.