You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewBadMethodCallException('Schema generation from ReflectionClass is not implemented yet. Use ReflectionMethod or ReflectionFunction instead.');
106
+
}
107
+
108
+
if (!$reflectioninstanceof \ReflectionMethod && !$reflectioninstanceof \ReflectionFunction) {
109
+
thrownewBadMethodCallException(\sprintf('Schema generation from %s is not supported. Use ReflectionMethod or ReflectionFunction instead.', $reflection::class));
110
+
}
111
+
104
112
// Only return outputSchema if explicitly provided in McpTool attribute
0 commit comments