create_agent_wallet
Create a managed wallet for AI agents to handle cryptocurrency transactions, trading, payments, and DeFi operations with secure key management.
Instructions
Create a new wallet for an AI agent with managed keys.
Args: agent_name: Name identifier for the agent agent_type: Type of agent. Options: trading, payment, defi, general
Returns: New wallet address and management details.
Price: $1.00
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_name | Yes | ||
| agent_type | No | trading |
Implementation Reference
- coinrailz_mcp/__init__.py:887-903 (handler)The `create_agent_wallet` function is decorated with `@mcp.tool()` and implements the tool logic by calling the `agent-create-wallet` service via `call_coinrailz_service`.
@mcp.tool() async def create_agent_wallet(agent_name: str, agent_type: str = "trading") -> str: """ Create a new wallet for an AI agent with managed keys. Args: agent_name: Name identifier for the agent agent_type: Type of agent. Options: trading, payment, defi, general Returns: New wallet address and management details. Price: $1.00 """ payload = {"agentName": agent_name, "agentType": agent_type} result = await call_coinrailz_service("agent-create-wallet", payload) return json.dumps(result, indent=2)