<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [AiActions](./x-components.aiactions.md) &gt; [setUrlParams](./x-components.aiactions.seturlparams.md)

## AiActions.setUrlParams property

Checks if the URL has params on it and then updates the state with these values.

**Signature:**

```typescript
setUrlParams: (urlParams: UrlParams) => void;
```
