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/DescribeFilamentResourceTool.php
+37-33Lines changed: 37 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -38,18 +38,10 @@ public function build(): PrismTool
38
38
{
39
39
returnapp(PrismTool::class)
40
40
->as($this->getName())
41
-
->for('Describes the structure, fields, columns, actions, and relationships for a given Filament resource')
41
+
->for('Describes the structure, fields, columns, actions, and relationships for a given Filament resource. Always call the list_filament_resources tool before calling this tool.')
42
42
->withStringParameter('resource', 'The class name of the resource to describe.', required: true)
Copy file name to clipboardExpand all lines: src/ExecuteResourceActionTool.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ public function build(): PrismTool
24
24
{
25
25
returnapp(PrismTool::class)
26
26
->as($this->getName())
27
-
->for('Executes a specified action on a Filament resource. Always double check with the user before executing any action.')
27
+
->for('Executes a specified action on a Filament resource. Always double check with the user before executing any action. Always call the describe_filament_resource tool before calling this tool.')
28
28
->withStringParameter('resource', 'The class name of the resource to execute action on.', required: true)
29
29
->withStringParameter('action', 'The name of the action to execute.', required: true)
30
30
->withStringParameter('actionType', 'The type of action: "bulk".', required: false)
Copy file name to clipboardExpand all lines: src/GetFilamentResourceDataTool.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ public function build(): PrismTool
22
22
{
23
23
returnapp(PrismTool::class)
24
24
->as($this->getName())
25
-
->for('Gets the data for a given Filament resource, applying optional filters provided in the describe_filament_resource tool.')
25
+
->for('Gets the data for a given Filament resource, applying optional filters provided in the describe_filament_resource tool. Always call the describe_filament_resource tool before calling this tool. Try to use the available filters to get the data you need.')
26
26
->withStringParameter('resource', 'The resource class name of the resource to get data for, from the list_filament_resources tool.', required: true)
27
27
->withStringParameter('filters', 'JSON string of filters to apply (e.g., \'{"status": "published", "author_id": [1, 2]}\').', required: false)
Copy file name to clipboardExpand all lines: src/ListFilamentResourcesTool.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ public function build(): PrismTool
25
25
{
26
26
returnapp(PrismTool::class)
27
27
->as('list_filament_resources')
28
-
->for('Lists all available Filament resources. Filament resources are used to list, fetch and manage data for a given data resource (database table, model, etc.). You cannot use a resource that is not listed here.')
28
+
->for('Lists all available Filament resources. Filament resources are used to list, fetch and manage data for a given data resource (database table, model, etc.). You cannot use a resource that is not listed here. Always call this tool first to know which resources are available.')
0 commit comments