> ## Documentation Index
> Fetch the complete documentation index at: https://cognitio-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: McpPromptDefinition

> Generated from the public TypeScript API.

An SDK-hosted MCP prompt; required arguments are checked before the callback runs.

## Properties

### arguments?

```ts theme={null}
optional arguments?: object[];
```

#### description?

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

#### name

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

#### required?

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

***

### description?

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

***

### name

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

## Methods

### get()

```ts theme={null}
get(arguments_, context):
  | {
[key: string]: unknown;
}
  | Promise<{
[key: string]: unknown;
}>;
```

Render this prompt after required arguments have been validated.

#### Parameters

##### arguments\_

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

String arguments supplied by the MCP client.

##### context

[`ToolContext`](ToolContext)

Session identity and cancellation signal.

#### Returns

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

MCP prompt messages.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.