# ToolResult (@salmonui/mcp)

> The ToolResult interface of @salmonui/mcp.

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

```ts
import type { ToolResult } 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 ToolResult {
    readonly content: readonly {
        readonly type: 'text';
        readonly text: string;
    }[];
    readonly isError?: boolean;
}
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `content` | `readonly content: readonly {     readonly type: 'text';     readonly text: string; }[];` |  |  |
| `isError` | `readonly isError?: boolean;` | optional |  |
