get_trending_coins
Retrieve trending cryptocurrency data from CoinGecko to monitor market movements and identify popular assets for investment analysis.
Instructions
Get trending coins on CoinGecko
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_trending_coins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/apis/crypto/coingecko.ts:57-59 (handler)The handler function for the 'get_trending_coins' tool, which delegates to the client's getTrending method.
async get_trending_coins() { return client.getTrending(); }, - src/apis/crypto/coingecko.ts:35-39 (registration)Registration of the 'get_trending_coins' tool including name, description, and input schema.
{ name: "get_trending_coins", description: "Get trending coins on CoinGecko", inputSchema: { type: "object", properties: {} }, }, - src/apis/crypto/coingecko.ts:38-38 (schema)Input schema for the 'get_trending_coins' tool, which requires no parameters.
inputSchema: { type: "object", properties: {} }, - src/apis/crypto/coingecko.ts:13-15 (helper)Helper method in CoinGeckoClient that fetches trending coins from the CoinGecko API.
getTrending() { return this.request(`/search/trending`); }