Skip to content

@maxhealth.tech/prefab / mcp / inputResponse

Function: inputResponse()

ts
function inputResponse(responses, key): McpElicitResult | undefined;

Defined in: mcp/input-required.ts:202

A client's answer for one key, or undefined when it has not arrived yet.

Parameters

ParameterType
responsesMcpInputResponses | undefined
keystring

Returns

McpElicitResult | undefined

Released under the MIT License.