> ## 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.

# CompletionResult

Defined in: [server/completion.ts:33](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/server/completion.ts#L33)

The paginated shape a completion callback MAY return for full control over the
`total` / `hasMore` hints. Mirrors the wire `CompleteResult.completion` object.
Returning a bare `string[]` instead is the common case.

## Properties

### hasMore?

```ts theme={null}
optional hasMore?: boolean;
```

Defined in: [server/completion.ts:39](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/server/completion.ts#L39)

Whether more matches exist beyond `values`.

***

### total?

```ts theme={null}
optional total?: number;
```

Defined in: [server/completion.ts:37](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/server/completion.ts#L37)

Total number of matches available, if larger than `values`.

***

### values

```ts theme={null}
values: string[];
```

Defined in: [server/completion.ts:35](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/server/completion.ts#L35)

Suggested values. Capped to 100 on the wire (the spec's maximum).
