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

# AddScriptTagOptions

Input options for the 'addScriptTag' mutation.

## Definition

```graphql theme={null}
input AddScriptTagOptions {
  content: String
  id: String
  path: String
  type: String
  url: URL
}
```

## Fields

### `content`

[String](/reference/graphql/scalars/string)

The inline JavaScript content of the script tag. Use this or 'url' or 'path'.
Example: `"console.log('Hello from injected script');"`

### `id`

[String](/reference/graphql/scalars/string)

The ID attribute for the new script tag. Example: `"my-custom-script"`.

### `path`

[String](/reference/graphql/scalars/string)

Path to a local JavaScript file to load. Not typically used in remote execution; prefer 'content' or 'url'.

### `type`

[String](/reference/graphql/scalars/string)

The type attribute for the script tag (e.g., 'module'). Defaults to 'text/javascript'.

### `url`

[URL](/reference/graphql/scalars/url)

The URL source for the script tag. Use this or 'content' or 'path'. Example: `"https://example.com/myscript.js"`.
