We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 498718c commit 5cfca10Copy full SHA for 5cfca10
src/Mcp/ToolExecutor.php
@@ -99,12 +99,6 @@ protected function reconstructResponse(array $data): Response
99
return Response::error($errorText);
100
}
101
102
- // Handle successful responses
103
- // Content can be either a string (from ExecuteToolCommand) or array format
104
- if (is_string($data['content'])) {
105
- return Response::text($data['content']);
106
- }
107
-
108
// Handle array format - extract text content
109
if (is_array($data['content']) && ! empty($data['content'])) {
110
$firstContent = $data['content'][0] ?? [];
0 commit comments