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

# IPromptsClient

Defined in: [client/interfaces.ts:44](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/interfaces.ts#L44)

## Extended by

* [`IClient`](/api/client/interfaces/IClient)

## Methods

### getPrompt()

```ts theme={null}
getPrompt(
   name, 
   args?, 
   options?): Promise<{
[key: string]: unknown;
}>;
```

Defined in: [client/interfaces.ts:46](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/interfaces.ts#L46)

#### Parameters

##### name

`string`

##### args?

`Record`\<`string`, `string`>

##### options?

[`RequestOptions`](/api/client/interfaces/RequestOptions)

#### Returns

`Promise`\<\{
\[`key`: `string`]: `unknown`;
}>

***

### listPrompts()

```ts theme={null}
listPrompts(options?): Promise<{
}[]>;
```

Defined in: [client/interfaces.ts:45](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/interfaces.ts#L45)

#### Parameters

##### options?

[`RequestOptions`](/api/client/interfaces/RequestOptions)

#### Returns

`Promise`\<\{
}\[]>
