defillama_tvl
Fetch the current USD TVL value for one DefiLlama protocol slug such as uniswap and return it as a bare number rather than an object. Use defillama_protocol for the complete record or defillama_chain_history for a chain TVL series.
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": {
"slug": "<slug>"
},
"name": "defillama_tvl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | DefiLlama protocol slug, e.g. uniswap. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |