> ## Documentation Index
> Fetch the complete documentation index at: https://fastmcp-ts.docs.prefect.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ResourceResult

Defined in: [server/resource.ts:56](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/server/resource.ts#L56)

Escape hatch for full control over resource response content.
Return this from a resource handler to specify content directly.

## Constructors

### Constructor

```ts theme={null}
new ResourceResult(contents): ResourceResult;
```

Defined in: [server/resource.ts:57](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/server/resource.ts#L57)

#### Parameters

##### contents

\{
`blob?`: `string`;
`mimeType?`: `string`;
`text?`: `string`;
`uri`: `string`;
}\[]

#### Returns

`ResourceResult`

## Properties

### contents

```ts theme={null}
readonly contents: {
  blob?: string;
  mimeType?: string;
  text?: string;
  uri: string;
}[];
```

Defined in: [server/resource.ts:58](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/server/resource.ts#L58)

#### blob?

```ts theme={null}
optional blob?: string;
```

#### mimeType?

```ts theme={null}
optional mimeType?: string;
```

#### text?

```ts theme={null}
optional text?: string;
```

#### uri

```ts theme={null}
uri: string;
```
