Skip to content

Commit a95bf02

Browse files
committed
tool: search-docs: let AI agent know it works for tailwind
1 parent 340a7bd commit a95bf02

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Mcp/Tools/SearchDocs.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@ class SearchDocs extends Tool
1616
{
1717
use MakesHttpRequests;
1818

19-
public function __construct(protected Roster $roster)
20-
{
21-
}
19+
public function __construct(protected Roster $roster) {}
2220

2321
public function description(): string
2422
{
25-
return 'Search for up-to-date version-specific documentation related to this project and its packages. This tool will search Laravel hosted documentation based on the packages installed and is perfect for all Laravel related packages. Laravel, inertia, pest, livewire, filament, nova, nightwatch, and more.'.PHP_EOL.'You must use this tool to search for Laravel-ecosystem docs before using other approaches. The results provided are for this project\'s package version and does not cover all versions of the package.';
23+
return 'Search for up-to-date version-specific documentation related to this project and its packages. This tool will search Laravel hosted documentation based on the packages installed and is perfect for all Laravel ecosystem packages. Laravel, Inertia, Pest, Livewire, Filament, Nova, Tailwind, and more.'.PHP_EOL.'You must use this tool to search for Laravel-ecosystem docs before using other approaches. The results provided are for this project\'s package version and does not cover all versions of the package.';
2624
}
2725

2826
public function schema(ToolInputSchema $schema): ToolInputSchema

0 commit comments

Comments
 (0)