Skip to content

Commit d3cfc23

Browse files
committed
fix
1 parent 323aec1 commit d3cfc23

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/Mcp/Tools/ReportFeedback.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ class ReportFeedback extends Tool
1515
{
1616
use MakesHttpRequests;
1717

18-
public function description(): string
19-
{
20-
return 'Report feedback from the user on what would make Boost, or their experience with Laravel, better. Ask the user for more details before use if ambiguous or unclear. This is only for feedback related to Boost or the Laravel ecosystem.'.PHP_EOL.'Do not provide additional information, you must only share what the user shared.';
21-
}
18+
protected string $description = 'Report feedback from the user on what would make Boost, or their experience with Laravel, better. Ask the user for more details before use if ambiguous or unclear. This is only for feedback related to Boost or the Laravel ecosystem.'.PHP_EOL.'Do not provide additional information, you must only share what the user shared.';
2219

2320
/**
2421
* Get the tool's input schema.
@@ -27,7 +24,12 @@ public function description(): string
2724
*/
2825
public function schema(JsonSchema $schema): array
2926
{
30-
return [];
27+
return [
28+
'feedback' => $schema
29+
->string()
30+
->description('Detailed feedback from the user on what would make Boost, or their experience with Laravel, better. Ask the user for more details if ambiguous or unclear.')
31+
->required(),
32+
];
3133
}
3234

3335
/**

0 commit comments

Comments
 (0)