File tree Expand file tree Collapse file tree 12 files changed +34
-23
lines changed
Expand file tree Collapse file tree 12 files changed +34
-23
lines changed Original file line number Diff line number Diff line change 1919 "illuminate/contracts" : " ^10.49.0|^11.45.3|^12.28.1" ,
2020 "illuminate/routing" : " ^10.49.0|^11.45.3|^12.28.1" ,
2121 "illuminate/support" : " ^10.49.0|^11.45.3|^12.28.1" ,
22- "laravel/mcp" : " ^0.3.4 " ,
22+ "laravel/mcp" : " ^0.4.1 " ,
2323 "laravel/prompts" : " 0.1.25|^0.3.6" ,
2424 "laravel/roster" : " ^0.2.9"
2525 },
Original file line number Diff line number Diff line change 44
55namespace Laravel \Boost \Mcp \Tools ;
66
7- use Illuminate \JsonSchema \JsonSchema ;
7+ use Illuminate \Contracts \JsonSchema \JsonSchema ;
8+ use Illuminate \JsonSchema \Types \Type ;
89use Laravel \Boost \Concerns \ReadsLogs ;
910use Laravel \Mcp \Request ;
1011use Laravel \Mcp \Response ;
@@ -24,7 +25,7 @@ class BrowserLogs extends Tool
2425 /**
2526 * Get the tool's input schema.
2627 *
27- * @return array<string, JsonSchema >
28+ * @return array<string, Type >
2829 */
2930 public function schema (JsonSchema $ schema ): array
3031 {
Original file line number Diff line number Diff line change 44
55namespace Laravel \Boost \Mcp \Tools ;
66
7- use Illuminate \JsonSchema \JsonSchema ;
7+ use Illuminate \Contracts \JsonSchema \JsonSchema ;
8+ use Illuminate \JsonSchema \Types \Type ;
89use Illuminate \Support \Facades \DB ;
910use Laravel \Mcp \Request ;
1011use Laravel \Mcp \Response ;
@@ -23,7 +24,7 @@ class DatabaseQuery extends Tool
2324 /**
2425 * Get the tool's input schema.
2526 *
26- * @return array<string, JsonSchema >
27+ * @return array<string, Type >
2728 */
2829 public function schema (JsonSchema $ schema ): array
2930 {
Original file line number Diff line number Diff line change 55namespace Laravel \Boost \Mcp \Tools ;
66
77use Exception ;
8- use Illuminate \JsonSchema \JsonSchema ;
8+ use Illuminate \Contracts \JsonSchema \JsonSchema ;
9+ use Illuminate \JsonSchema \Types \Type ;
910use Illuminate \Support \Arr ;
1011use Illuminate \Support \Facades \Cache ;
1112use Illuminate \Support \Facades \DB ;
@@ -28,7 +29,7 @@ class DatabaseSchema extends Tool
2829 /**
2930 * Get the tool's input schema.
3031 *
31- * @return array<string, JsonSchema >
32+ * @return array<string, Type >
3233 */
3334 public function schema (JsonSchema $ schema ): array
3435 {
Original file line number Diff line number Diff line change 44
55namespace Laravel \Boost \Mcp \Tools ;
66
7- use Illuminate \JsonSchema \JsonSchema ;
7+ use Illuminate \Contracts \JsonSchema \JsonSchema ;
8+ use Illuminate \JsonSchema \Types \Type ;
89use Laravel \Mcp \Request ;
910use Laravel \Mcp \Response ;
1011use Laravel \Mcp \Server \Tool ;
@@ -21,7 +22,7 @@ class GetAbsoluteUrl extends Tool
2122 /**
2223 * Get the tool's input schema.
2324 *
24- * @return array<string, JsonSchema >
25+ * @return array<string, Type >
2526 */
2627 public function schema (JsonSchema $ schema ): array
2728 {
Original file line number Diff line number Diff line change 44
55namespace Laravel \Boost \Mcp \Tools ;
66
7- use Illuminate \JsonSchema \JsonSchema ;
7+ use Illuminate \Contracts \JsonSchema \JsonSchema ;
8+ use Illuminate \JsonSchema \Types \Type ;
89use Illuminate \Support \Facades \Config ;
910use Laravel \Mcp \Request ;
1011use Laravel \Mcp \Response ;
@@ -19,7 +20,7 @@ class GetConfig extends Tool
1920 /**
2021 * Get the tool's input schema.
2122 *
22- * @return array<string, JsonSchema >
23+ * @return array<string, Type >
2324 */
2425 public function schema (JsonSchema $ schema ): array
2526 {
Original file line number Diff line number Diff line change 44
55namespace Laravel \Boost \Mcp \Tools ;
66
7- use Illuminate \JsonSchema \JsonSchema ;
7+ use Illuminate \Contracts \JsonSchema \JsonSchema ;
8+ use Illuminate \JsonSchema \Types \Type ;
89use Laravel \Mcp \Request ;
910use Laravel \Mcp \Response ;
1011use Laravel \Mcp \Server \Tool ;
@@ -21,7 +22,7 @@ class ListAvailableEnvVars extends Tool
2122 /**
2223 * Get the tool's input schema.
2324 *
24- * @return array<string, JsonSchema >
25+ * @return array<string, Type >
2526 */
2627 public function schema (JsonSchema $ schema ): array
2728 {
Original file line number Diff line number Diff line change 44
55namespace Laravel \Boost \Mcp \Tools ;
66
7- use Illuminate \JsonSchema \JsonSchema ;
7+ use Illuminate \Contracts \JsonSchema \JsonSchema ;
8+ use Illuminate \JsonSchema \Types \Type ;
89use Illuminate \Support \Facades \Artisan ;
910use Laravel \Mcp \Request ;
1011use Laravel \Mcp \Response ;
@@ -24,7 +25,7 @@ class ListRoutes extends Tool
2425 /**
2526 * Get the tool's input schema.
2627 *
27- * @return array<string, JsonSchema >
28+ * @return array<string, Type >
2829 */
2930 public function schema (JsonSchema $ schema ): array
3031 {
Original file line number Diff line number Diff line change 44
55namespace Laravel \Boost \Mcp \Tools ;
66
7- use Illuminate \JsonSchema \JsonSchema ;
7+ use Illuminate \Contracts \JsonSchema \JsonSchema ;
8+ use Illuminate \JsonSchema \Types \Type ;
89use Laravel \Boost \Concerns \ReadsLogs ;
910use Laravel \Mcp \Request ;
1011use Laravel \Mcp \Response ;
@@ -24,7 +25,7 @@ class ReadLogEntries extends Tool
2425 /**
2526 * Get the tool's input schema.
2627 *
27- * @return array<string, JsonSchema >
28+ * @return array<string, Type >
2829 */
2930 public function schema (JsonSchema $ schema ): array
3031 {
Original file line number Diff line number Diff line change 55namespace Laravel \Boost \Mcp \Tools ;
66
77use Generator ;
8- use Illuminate \JsonSchema \JsonSchema ;
8+ use Illuminate \Contracts \JsonSchema \JsonSchema ;
9+ use Illuminate \JsonSchema \Types \Type ;
910use Laravel \Boost \Concerns \MakesHttpRequests ;
1011use Laravel \Mcp \Request ;
1112use Laravel \Mcp \Response ;
@@ -20,7 +21,7 @@ class ReportFeedback extends Tool
2021 /**
2122 * Get the tool's input schema.
2223 *
23- * @return array<string, JsonSchema >
24+ * @return array<string, Type >
2425 */
2526 public function schema (JsonSchema $ schema ): array
2627 {
You can’t perform that action at this time.
0 commit comments