Tools
Set Up
from crypto_com_agent_client import toolImplementation Examples
@tool
def greet_user(name: str) -> str:
"""
Generate a personalized greeting message.
Args:
name (str): The name of the user to greet.
Returns:
str: A greeting message addressed to the user.
"""
return f"Hello, {name}! How can I assist you today?"
Using Tools in the Agent
Query and Response
Example Query (APY)
Example Query (APR)
Last updated
Was this helpful?