🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Exercises.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.

Project 26: Crypto Price Bot

AI Engineer
Current Task

Objective

Review day: define a tool like day 13 that a ticker agent could call to fetch a price.

Task: write a get_crypto_price tool with @tool and print its description.

index.py
from langchain_core.tools import tool @tool def get_crypto_price(symbol: str) -> str: """Get the current price for a cryptocurrency symbol.""" return "$67,000" print(get_crypto_price.description)

* Hint: Correct characters turn green, incorrect ones turn red.

Live Preview
🖼️

Verify your code to see the preview