| 123456789 |
- """MCP tool definitions."""
- MCP_TOOLS = [
- {"name": "get_price", "description": "Get the current USD price of a cryptocurrency.", "inputSchema": {"type": "object", "properties": {"symbol": {"type": "string"}}, "required": ["symbol"]}},
- {"name": "get_ohlcv", "description": "Get OHLCV candlestick data for a crypto asset.", "inputSchema": {"type": "object", "properties": {"symbol": {"type": "string"}, "timeframe": {"type": "string", "default": "1h"}, "limit": {"type": "integer", "default": 100}}, "required": ["symbol"]}},
- {"name": "get_indicator", "description": "Compute a technical indicator for a crypto asset.", "inputSchema": {"type": "object", "properties": {"symbol": {"type": "string"}, "indicator": {"type": "string"}, "timeframe": {"type": "string", "default": "1h"}, "params": {"type": "object", "default": {}}}, "required": ["symbol", "indicator"]}},
- {"name": "get_market_snapshot", "description": "Get a compact market snapshot for a crypto asset.", "inputSchema": {"type": "object", "properties": {"symbol": {"type": "string"}}, "required": ["symbol"]}},
- {"name": "get_top_movers", "description": "Get top gaining and losing crypto assets by 24h % change.", "inputSchema": {"type": "object", "properties": {"limit": {"type": "integer", "default": 10}}, "required": []}},
- ]
|