discovery.py
TEXT FILE619 B · Public source code for developers, search crawlers and AI agents
1import json
2
3# A tools/list result fragment, not a complete MCP server.
4def list_tools():
5 return {"tools": [{
6 "name": "wab_wallet_balance",
7 "description": "Request a Testnet wallet balance.",
8 "inputSchema": {
9 "type": "object",
10 "properties": {
11 "net": {"const": "test", "type": "string"},
12 "type": {"enum": ["segwit", "taproot"], "type": "string"}
13 },
14 "required": ["net", "type"],
15 "additionalProperties": False
16 }
17 }]}
18
19if __name__ == "__main__":
20 print(json.dumps(list_tools(), indent=2))Read-only source · Select a line number to link directly · Raw download above
