Skip to content

Commit c7e8ea9

Browse files
committed
Removes empty schemas
1 parent 9a0ac4c commit c7e8ea9

File tree

5 files changed

+0
-45
lines changed

5 files changed

+0
-45
lines changed

src/Mcp/Tools/ApplicationInfo.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,6 @@ public function __construct(protected Roster $roster, protected GuidelineAssist
2525
*/
2626
protected string $description = 'Get comprehensive application information including PHP version, Laravel version, database engine, all installed packages with their versions, and all Eloquent models in the application. You should use this tool on each new chat, and use the package & version data to write version specific code for the packages that exist.';
2727

28-
/**
29-
* Get the tool's input schema.
30-
*
31-
* @return array<string, JsonSchema>
32-
*/
33-
public function schema(JsonSchema $schema): array
34-
{
35-
return [];
36-
}
3728

3829
/**
3930
* Handle the tool request.

src/Mcp/Tools/DatabaseConnections.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,6 @@ class DatabaseConnections extends Tool
1818
*/
1919
protected string $description = 'List the configured database connection names for this application.';
2020

21-
/**
22-
* Get the tool's input schema.
23-
*
24-
* @return array<string, JsonSchema>
25-
*/
26-
public function schema(JsonSchema $schema): array
27-
{
28-
return [];
29-
}
3021

3122
/**
3223
* Handle the tool request.

src/Mcp/Tools/LastError.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@ public function __construct()
4848
*/
4949
protected string $description = 'Get details of the last error/exception created in this application on the backend. Use browser-log tool for browser errors.';
5050

51-
/**
52-
* Get the tool's input schema.
53-
*
54-
* @return array<string, JsonSchema>
55-
*/
56-
public function schema(JsonSchema $schema): array
57-
{
58-
return [];
59-
}
6051

6152
/**
6253
* Handle the tool request.

src/Mcp/Tools/ListArtisanCommands.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@ class ListArtisanCommands extends Tool
2020
*/
2121
protected string $description = 'List all available Artisan commands registered in this application.';
2222

23-
/**
24-
* Get the tool's input schema.
25-
*
26-
* @return array<string, JsonSchema>
27-
*/
28-
public function schema(JsonSchema $schema): array
29-
{
30-
return [];
31-
}
3223

3324
/**
3425
* Handle the tool request.

src/Mcp/Tools/ListAvailableConfigKeys.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,6 @@ class ListAvailableConfigKeys extends Tool
1919
*/
2020
protected string $description = 'List all available Laravel configuration keys (from config/*.php) in dot notation.';
2121

22-
/**
23-
* Get the tool's input schema.
24-
*
25-
* @return array<string, JsonSchema>
26-
*/
27-
public function schema(JsonSchema $schema): array
28-
{
29-
return [];
30-
}
3122

3223
/**
3324
* Handle the tool request.

0 commit comments

Comments
 (0)