You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Mcp/Tools/Tinker.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ public function description(): string
18
18
return <<<'DESCRIPTION'
19
19
Execute PHP code in the Laravel application context, like artisan tinker.
20
20
Use this for debugging issues, checking if functions exist, and testing code snippets.
21
-
You should not create models directly without explicit user approval. Prefer Unit/Feature tests using factories for functionality testing.
21
+
You should not create models directly without explicit user approval. Prefer Unit/Feature tests using factories for functionality testing. Prefer existing artisan commands over custom tinker code.
22
22
Returns the output of the code, as well as whatever is "returned" using "return".
0 commit comments