# AIQuickActionCustomChatDefinition

interface

A custom AI quick action definition that interacts with [AI Chat](module_ai_aichat_aichat-AIChat.md).

It will open the [AI Chat](module_ai_aichat_aichat-AIChat.md) interface for interactive conversations. If `model` is specified, it will be selected for the new chat conversation. Otherwise, the model currently selected in the AI Chat will be used:

```typescript
{
	id: 'summarize-in-bullet-points',
	label: 'Summarize',
	displayedPrompt: 'Summarize in 5 bullet points',
	prompt: 'Summarize the selected text in 5 bullet points.',
	type: 'chat'
}
```

<a id="properties">

## Properties

<a id="member-displayedPrompt">

### `displayedPrompt: string`

The prompt shown in the AI Chat UI when the action is executed. If not specified, the `prompt` property value will be used.

<a id="member-id">

### `id: string` _(readonly)_

The unique identifier of the action.

<a id="member-label">

### `label: string` _(readonly)_

The human-readable label of the action.

<a id="member-model">

### `model?: string` _(readonly)_

The AI model to use for the action. For `'action'` type, if not specified, the default model will be used. For `'chat'` type, if not specified, the model currently selected in the AI Chat will be used.

<a id="member-prompt">

### `prompt: string` _(readonly)_

The prompt to be sent to the AI Chat when the action is executed.

<a id="member-type">

### `type: 'chat'`

The type of the action.

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
