McpResourceTriggerHandler type

用於 MCP 資源觸發器的處理函數。

type McpResourceTriggerHandler<T> = (
  messages: T,
  context: InvocationContext
) => FunctionResult