balance
Check wallet balance to monitor funds and troubleshoot payment issues. This tool helps verify available funds before making purchases through the Fewsats MCP Server.
Instructions
Retrieve the balance of the user's wallet. You will rarely need to call this unless instructed by the user, or to troubleshoot payment issues. Fewsats will automatically add balance when needed.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/fewsats_mcp/server.py:14-19 (handler)The handler function for the 'balance' MCP tool. It is decorated with @mcp.tool() for registration and executes the logic by calling Fewsats().balance() via the handle_response helper.@mcp.tool() async def balance() -> str: """Retrieve the balance of the user's wallet. You will rarely need to call this unless instructed by the user, or to troubleshoot payment issues. Fewsats will automatically add balance when needed.""" return handle_response(Fewsats().balance())