Skip to content

Commit 5891152

Browse files
committed
Removed redundant argument
1 parent c25c609 commit 5891152

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/GetFilamentResourceDataTool.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
namespace Kirschbaum\Loop\Filament;
44

55
use Exception;
6+
use Filament\Pages\Page;
67
use Filament\Resources\Pages\ListRecords;
78
use Filament\Resources\Pages\PageRegistration;
89
use Filament\Resources\Resource;
910
use Filament\Tables\Columns\Column;
11+
use Filament\Tables\TableComponent;
1012
use Illuminate\Database\Eloquent\Model;
1113
use Illuminate\Support\Facades\Log;
1214
use JsonException;
@@ -28,7 +30,7 @@ public function build(): PrismTool
2830
return app(PrismTool::class)
2931
->as($this->getName())
3032
->for('Gets the data for a given Filament resource, applying optional filters (try to use them). Always call the describe_filament_resource tool before calling this tool. Always try to use the available filters to get the data you need.')
31-
->withStringParameter('resource', 'The resource class name of the resource to get data for, from the list_filament_resources tool.', required: true)
33+
->withStringParameter('resource', 'The resource class name of the resource to get data for, from the list_filament_resources tool.')
3234
->withStringParameter('filters', 'JSON string of filters to apply (e.g., \'{"status": "published", "author_id": [1, 2]}\').', required: false)
3335
->withNumberParameter('perPage', 'The resource data is paginated. This is the number of records per page. It defaults to 10', required: false)
3436
->withNumberParameter('page', 'The resource data is paginated. This is the page the paginated results should be from.', required: false)

0 commit comments

Comments
 (0)