strale_balance
Check your Strale wallet balance in EUR and EUR cents using this tool. It retrieves current financial data for account monitoring and validation purposes.
Instructions
Returns the current Strale wallet balance in EUR cents and EUR. Requires an API key.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The _run method of StraleBalanceTool in packages/crewai-strale/crewai_strale/toolkit.py handles the execution of the strale_balance tool by calling client.get_balance().
def _run(self, **kwargs: Any) -> str: try: result = self.client.get_balance() return json.dumps(result) except Exception as e: return f"Error checking balance: {e}" - The class definition and schema for StraleBalanceTool which uses _EmptyInput.
class StraleBalanceTool(BaseTool): """Check your Strale wallet balance.""" name: str = "strale_balance" description: str = "Check your Strale wallet balance. Returns balance in EUR cents." args_schema: Type[BaseModel] = _EmptyInput