# SmartPasteRequest (@salmonui/chat/smart-paste)

> The SmartPasteRequest interface of @salmonui/chat/smart-paste: What the adapter receives: the pasted text and the field descriptors, never other page data.

Canonical: https://salmonui.dev/docs/reference/chat/smart-paste/SmartPasteRequest

```ts
import type { SmartPasteRequest } from '@salmonui/chat/smart-paste';
```

Entry index: https://salmonui.dev/docs/reference/chat/smart-paste (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/chat/smart-paste.md).

## Reference

Kind: interface

```ts
interface SmartPasteRequest {
    readonly clipboardText: string;
    readonly fields: readonly SmartPasteField[];
}
```

What the adapter receives: the pasted text and the field descriptors, never other page data.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `clipboardText` | `readonly clipboardText: string;` |  |  |
| `fields` | `readonly fields: readonly SmartPasteField[];` |  |  |
