Search Gems
search_gemsSearch RubyGems by keyword in name/description. Returns matching gems sorted by relevance with name, version, downloads, and info text.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "authentication"
},
"name": "search_gems"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based, default 1). | |
| limit | No | Max results to return (1–30, default 10). API caps at 30/page. | |
| query | Yes | Keyword(s) to search for (e.g., "authentication", "json parser") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gems | Yes | List of matching gems | |
| page | Yes | Page number of results | |
| count | Yes | Number of gems returned | |
| query | Yes | Search query that was used |