McpToolTriggerHandler type

MCP 工具觸發器的處理函數。

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