Skip to content

Commit db1e0d5

Browse files
authored
Fix return type annotations in MCP documentation (#10937)
1 parent e294db2 commit db1e0d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mcp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class CurrentWeatherTool extends Tool
204204
/**
205205
* Get the tool's input schema.
206206
*
207-
* @return array<string, \Illuminate\Contracts\JsonSchema\JsonSchema>
207+
* @return array<string, \Illuminate\JsonSchema\Type\Type>
208208
*/
209209
public function schema(JsonSchema $schema): array
210210
{
@@ -306,7 +306,7 @@ class CurrentWeatherTool extends Tool
306306
/**
307307
* Get the tool's input schema.
308308
*
309-
* @return array<string, JsonSchema>
309+
* @return array<string, \Illuminate\JsonSchema\Types\Type>
310310
*/
311311
public function schema(JsonSchema $schema): array
312312
{
@@ -342,7 +342,7 @@ class CurrentWeatherTool extends Tool
342342
/**
343343
* Get the tool's output schema.
344344
*
345-
* @return array<string, JsonSchema>
345+
* @return array<string, \Illuminate\JsonSchema\Types\Type>
346346
*/
347347
public function outputSchema(JsonSchema $schema): array
348348
{

0 commit comments

Comments
 (0)