> ## Documentation Index
> Fetch the complete documentation index at: https://colin-feat-client-cache-mode.mintlify.site/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/8976c37f79efa6b87809b884f29a1f235a8c4ad1/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/8976c37f79efa6b87809b884f29a1f235a8c4ad1/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/8976c37f79efa6b87809b884f29a1f235a8c4ad1/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;
```
