# Class LittleGhost::MCP::Result

Documentation version: Edge

Canonical HTML: https://littleghostai.org/docs/LittleGhost/MCP/Result.html

Represents one MCP Tool result without discarding server fields. Mapping
callbacks can inspect normalized content, structured content, metadata, or the
complete protocol value.

## Inheritance

`LittleGhost::MCP::Result < Data`

## Attributes

<a id="attribute-i-content"></a>
### `content` (R)

Deeply frozen MCP content blocks.

<a id="attribute-i-error"></a>
### `error` (R)

Whether the server marked the result with `isError`.

<a id="attribute-i-metadata"></a>
### `metadata` (R)

Deeply frozen MCP result `_meta`.

<a id="attribute-i-raw"></a>
### `raw` (R)

A deeply frozen copy of the complete server result object.

<a id="attribute-i-structured_content"></a>
### `structured_content` (R)

The optional deeply frozen structured result object.

## Instance methods

<a id="method-i-error-3F"></a>
### `#error?`

```ruby
#error?()
```

Whether the server marked the result as an error.
