McpToolTriggerHandler type

دالة معالج لمشغلات أداة MCP.

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