{
    "name": "Little Helper - DeFi Analyst",
    "description": "DeFi market analysis mech - answers questions about crypto prices, market data, and protocol TVL using live CoinGecko and DefiLlama data. Live activity dashboard: https://srdjanivanovic.github.io/olas-mech-dashboard/",
    "inputFormat": "ipfs-v0.1",
    "outputFormat": "ipfs-v0.1",
    "image": "tbd",
    "url": "http://localhost:8000/",
    "tools": [
        "defi_analysis"
    ],
    "toolMetadata": {
        "defi_analysis": {
            "name": "defi_analysis",
            "description": "DeFi market analysis tool - fetches live CoinGecko price/market data and DefiLlama protocol TVL, then asks an LLM to analyze the question strictly against that fetched data.",
            "input": {
                "type": "text",
                "description": "The text to make a prediction on"
            },
            "output": {
                "type": "object",
                "description": "A JSON object containing the prediction and confidence",
                "schema": {
                    "type": "object",
                    "properties": {
                        "requestId": {
                            "type": "integer",
                            "description": "Unique identifier for the request"
                        },
                        "result": {
                            "type": "string",
                            "description": "Result information in JSON format as a string",
                            "example": "{\n  \"p_yes\": 0.6,\n  \"p_no\": 0.4,\n  \"confidence\": 0.8,\n  \"info_utility\": 0.6\n}"
                        },
                        "prompt": {
                            "type": "string",
                            "description": "The prompt used to make the prediction."
                        }
                    },
                    "required": [
                        "requestId",
                        "result",
                        "prompt"
                    ]
                }
            }
        }
    }
}