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

Properties

arguments?

description?

name

required?


description?


name

Methods

get()

Render this prompt after required arguments have been validated.

Parameters

arguments_
Record<string, string> String arguments supplied by the MCP client.
context
ToolContext Session identity and cancellation signal.

Returns

| { [key: string]: unknown; } | Promise<{ [key: string]: unknown; }> MCP prompt messages.