search_packages
Query pub.dev to find Dart and Flutter packages, filtering results by SDK, topic, platform, or limit for relevant dependencies.
Instructions
Search for packages on pub.dev by query with optional filters
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sdk | No | Filter by SDK: dart, flutter | |
| limit | No | Maximum number of results (default 10) | |
| query | Yes | Search query string | |
| topic | No | Filter by topic (e.g., http, firebase, state-management) | |
| platform | No | Filter by platform: android, ios, web, linux, macOS, windows |