# AIQuickActionsConfig

interface

The configuration of the [AI Quick Actions feature](module_ai_aiquickactions_aiquickactions-AIQuickActions.md).

The properties defined in this config are set in the `config.ai.quickActions` namespace.

```typescript
ClassicEditor
	.create( {
		ai: {
			quickActions: {
				// AI Quick Actions configuration.
			}
		}
	} )
	.then( ... )
	.catch( ... );
```

See [the full AI configuration](module_ai_aiconfig-AIConfig.md).

See [all editor options](module_core_editor_editorconfig-EditorConfig.md).

<a id="properties">

## Properties

<a id="member-extraCommands">

### `extraCommands?: Array<AIQuickActionCustomDefinition>`

The extra commands to add to the AI Quick Actions feature to become available for the user. You can fine-tune the commands by specifying the type, prompt, and other properties. By default, the extra commands land in the "Other" group in the user interface.

The following example will add 3 new commands to the AI Quick Actions feature:

```typescript
ClassicEditor
	.create( {
		// ... Other configuration options ...
		ai: {
			quickActions: {
				extraCommands: [
					{
						id: 'add-quote-from-famous-person',
						label: 'Add a quote from a famous person',
						prompt: 'Add a quote from a known person, which would make sense in the context of the selected text.',
						type: 'action'
						// No `model` specified — uses the default configured in `ai.models.defaultModelId`.
					},
					{
						id: 'summarize-in-bullet-points',
						label: 'Summarize',
						displayedPrompt: 'Summarize in 5 bullet points',
						prompt: 'Summarize the selected text in 5 bullet points.',
						type: 'chat'
					},
					{
						id: 'include-more-sarcasm',
						label: 'Add sarcasm',
						prompt: 'Rewrite using a sarcastic tone.',
						type: 'action',
						model: 'claude-4-6-sonnet' // Pin a specific model for this action.
					}
				],
			},
		}
	} )
	.then( ... )
	.catch( ... );
```

<a id="member-isSearchEnabled">

### `isSearchEnabled?: boolean`

Whether to enable search functionality in the AI Quick Actions dropdown.

When enabled, users can search through available quick actions using a search input field. When disabled, the search input is hidden and all actions are displayed in a list.

Defaults to `true`

<a id="member-removeCommands">

### `removeCommands?: Array<string>`

The IDs of the commands to remove from the AI Quick Actions feature. Removing all commands from a specific category will remove the category from the user interface.

The defaults are as follows:

* `'ask-ai`,

* "Chat commands" category

  * `'explain'`,
  * `'summarize'`,
  * `'highlight-key-points'`,

* `'improve-writing'`,

* `'continue'`,

* `'fix-grammar'`,

* "Adjust length" category

  * `'make-shorter'`,
  * `'make-longer'`,

* "Change tone" category

  * `'make-tone-casual'`,
  * `'make-tone-direct'`,
  * `'make-tone-friendly'`,
  * `'make-tone-confident'`,
  * `'make-tone-professional'`,

* "Translate" category

  * `'translate-to-english'`,
  * `'translate-to-chinese'`,
  * `'translate-to-french'`,
  * `'translate-to-german'`,
  * `'translate-to-italian'`,
  * `'translate-to-portuguese'`,
  * `'translate-to-russian'`

The following example will remove the "Explain" and "Summarize" commands from the user interface:

```typescript
ClassicEditor
	.create( {
		// ... Other configuration options ...
		ai: {
			quickActions: {
				removeCommands: [
					'explain',
					'summarize',
					// ...
				]
			},
		}
	} )
	.then( ... )
	.catch( ... );
```

---

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