Skip to content

Commit e8c70da

Browse files
committed
fix: clarify ListRoutes name parameter doesn't support wildcards
1 parent ee1e448 commit e8c70da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Mcp/Tools/ListRoutes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ public function description(): string
2323
public function schema(ToolInputSchema $schema): ToolInputSchema
2424
{
2525
// Mirror the most common `route:list` options. All are optional.
26-
$schema->string('method')->description('Filter the routes by HTTP method.')->required(false);
27-
$schema->string('action')->description('Filter the routes by action.')->required(false);
28-
$schema->string('name')->description('Filter the routes by name.')->required(false);
26+
$schema->string('method')->description('Filter the routes by HTTP method (e.g., GET, POST, PUT, DELETE).')->required(false);
27+
$schema->string('action')->description('Filter the routes by controller action (e.g., UserController@index).')->required(false);
28+
$schema->string('name')->description('Filter the routes by route name (no wildcards supported).')->required(false);
2929
$schema->string('domain')->description('Filter the routes by domain.')->required(false);
3030
$schema->string('path')->description('Only show routes matching the given path pattern.')->required(false);
3131
// Keys with hyphens are converted to underscores for PHP variable compatibility.

0 commit comments

Comments
 (0)