File tree Expand file tree Collapse file tree 11 files changed +22
-11
lines changed
Expand file tree Collapse file tree 11 files changed +22
-11
lines changed Original file line number Diff line number Diff line change 55namespace Laravel \Boost \Mcp \Tools ;
66
77use 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, \Illuminate\JsonSchema\Types\ Type>
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 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, \Illuminate\JsonSchema\Types\ Type>
27+ * @return array<string, Type>
2728 */
2829 public function schema (JsonSchema $ schema ): array
2930 {
Original file line number Diff line number Diff line change 66
77use Exception ;
88use 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, \Illuminate\JsonSchema\Types\ Type>
32+ * @return array<string, Type>
3233 */
3334 public function schema (JsonSchema $ schema ): array
3435 {
Original file line number Diff line number Diff line change 55namespace Laravel \Boost \Mcp \Tools ;
66
77use 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, \Illuminate\JsonSchema\Types\ Type>
25+ * @return array<string, Type>
2526 */
2627 public function schema (JsonSchema $ schema ): array
2728 {
Original file line number Diff line number Diff line change 55namespace Laravel \Boost \Mcp \Tools ;
66
77use 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, \Illuminate\JsonSchema\Types\ Type>
23+ * @return array<string, Type>
2324 */
2425 public function schema (JsonSchema $ schema ): array
2526 {
Original file line number Diff line number Diff line change 55namespace Laravel \Boost \Mcp \Tools ;
66
77use 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, \Illuminate\JsonSchema\Types\ Type>
25+ * @return array<string, Type>
2526 */
2627 public function schema (JsonSchema $ schema ): array
2728 {
Original file line number Diff line number Diff line change 55namespace Laravel \Boost \Mcp \Tools ;
66
77use 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, \Illuminate\JsonSchema\Types\ Type>
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 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, \Illuminate\JsonSchema\Types\ Type>
28+ * @return array<string, Type>
2829 */
2930 public function schema (JsonSchema $ schema ): array
3031 {
Original file line number Diff line number Diff line change 66
77use Generator ;
88use 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, \Illuminate\JsonSchema\Types\ Type>
24+ * @return array<string, Type>
2425 */
2526 public function schema (JsonSchema $ schema ): array
2627 {
Original file line number Diff line number Diff line change 66
77use Generator ;
88use Illuminate \Contracts \JsonSchema \JsonSchema ;
9+ use Illuminate \JsonSchema \Types \Type ;
910use Laravel \Boost \Concerns \MakesHttpRequests ;
1011use Laravel \Mcp \Request ;
1112use Laravel \Mcp \Response ;
@@ -28,7 +29,7 @@ public function __construct(protected Roster $roster) {}
2829 /**
2930 * Get the tool's input schema.
3031 *
31- * @return array<string, \Illuminate\JsonSchema\Types\ Type>
32+ * @return array<string, Type>
3233 */
3334 public function schema (JsonSchema $ schema ): array
3435 {
You can’t perform that action at this time.
0 commit comments