# InlineAssistCommand (@salmonui/chat/inline-assist)

> The InlineAssistCommand interface of @salmonui/chat/inline-assist: A slash command of the command menu.

Canonical: https://salmonui.dev/docs/reference/chat/inline-assist/InlineAssistCommand

```ts
import type { InlineAssistCommand } from '@salmonui/chat/inline-assist';
```

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

## Reference

Kind: interface

```ts
interface InlineAssistCommand {
    readonly id: string;
    readonly label: string;
    readonly prompt?: string;
    readonly keywords?: readonly string[];
    readonly icon?: ReactNode;
    readonly disabled?: boolean;
}
```

A slash command of the command menu.

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: string;` |  | Stable id, reported in `onCommandSelect` and in the request. |
| `label` | `readonly label: string;` |  | Menu text; also what typing after `/` filters on. |
| `prompt` | `readonly prompt?: string;` | optional | Prompt sent when the command is chosen (default: `label`). |
| `keywords` | `readonly keywords?: readonly string[];` | optional | More words that match the filter. |
| `icon` | `readonly icon?: ReactNode;` | optional | Decorative leading icon. |
| `disabled` | `readonly disabled?: boolean;` | optional |  |
