File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 22
33namespace Laravel \AiAssistant \Mcp \Tools ;
44
5+ use Laravel \Mcp \Tools \Annotations \IsReadOnly ;
56use Laravel \Mcp \Tools \ToolResult ;
67use Laravel \Mcp \Tools \ToolInputSchema ;
78use Laravel \Mcp \Tools \Tool ;
89use Illuminate \Support \Facades \Artisan ;
910use Illuminate \Support \Str ;
1011
12+ #[IsReadOnly()]
1113class DatabaseSchema extends Tool
1214{
1315 public function description (): string
Original file line number Diff line number Diff line change 66use Laravel \Mcp \Tools \Tool ;
77use Laravel \Mcp \Tools \ToolResult ;
88use Laravel \Mcp \Tools \ToolInputSchema ;
9+ use Laravel \Mcp \Tools \Annotations \IsReadOnly ;
910
11+ #[IsReadOnly()]
1012class LaravelBestPractices extends Tool
1113{
1214 public function description (): string
Original file line number Diff line number Diff line change 88use Laravel \Mcp \Tools \Tool ;
99use Laravel \Mcp \Tools \ToolInputSchema ;
1010use Laravel \Mcp \Tools \ToolResult ;
11+ use Laravel \Mcp \Tools \Annotations \IsReadOnly ;
1112
13+ #[IsReadOnly()]
1214class LogReader extends Tool
1315{
1416 /**
You can’t perform that action at this time.
0 commit comments