| name | fetch-btc-price |
| description | Fetch the current Bitcoin spot price from Binance API and report it conversationally |
| argument-hint | [trading-pair] |
| allowed-tools | ["WebPlugin.FetchWebContent"] |
Fetch the BTC spot price from Binance.
- Call
WebPlugin.FetchWebContent with URL https://api.binance.com/api/v3/ticker/price?symbol=$ARGUMENTS
- If no argument is provided, default to
BTCUSDT.
- Common pairs: BTCUSDT, BTCUSD, ETHUSDT.
- Parse the JSON response and extract the
price field.
- Report conversationally: "The current [pair] price on Binance is $[price]."
If the API call fails, try the fallback pair (BTCUSD). If still failing, tell the user honestly that the price cannot be retrieved right now.