# ToolDefinition (@salmonui/mcp)

> The ToolDefinition interface of @salmonui/mcp.

Canonical: https://salmonui.dev/docs/reference/mcp/ToolDefinition

```ts
import type { ToolDefinition } from '@salmonui/mcp';
```

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

## Reference

Kind: interface

```ts
interface ToolDefinition {
    readonly name: string;
    readonly title: string;
    readonly description: string;
    readonly inputSchema: Readonly<Record<string, unknown>>;
    readonly annotations: Readonly<Record<string, unknown>>;
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `name` | `readonly name: string;` |  |  |
| `title` | `readonly title: string;` |  |  |
| `description` | `readonly description: string;` |  |  |
| `inputSchema` | `readonly inputSchema: Readonly<Record<string, unknown>>;` |  |  |
| `annotations` | `readonly annotations: Readonly<Record<string, unknown>>;` |  |  |
