industry-tools
Version:
Industry Tools is a TypeScript library providing essential tools for the Industry AI Agent Platform.
68 lines (67 loc) • 2.71 kB
JSON
{
"toolSpec": {
"name": "Create_EVM_Wallet",
"description": "Creates a new Ethereum wallet for a character, this is used when there is a request to create a new wallet for a character",
"inputSchema": {
"json": {
"type": "object",
"properties": {
"userId": {
"type": "string",
"description": "The user ID that owns the wallet",
"pattern": "^user_[a-zA-Z0-9]{27}$"
},
"characterId": {
"type": "string",
"description": "The character ID that the wallet will be associated with"
},
"network": {
"type": "string",
"description": "The network that the wallet will be associated with, defaults to base",
"enum": ["base", "polygon", "scroll"],
"default": "base"
}
},
"required": ["userId", "characterId"]
}
},
"outputSchema": {
"json": {
"type": "object",
"oneOf": [
{
"properties": {
"wallet": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "The address of the wallet"
}
}
},
"message": {
"type": "string",
"description": "Message indicating the success of the wallet creation"
}
},
"required": ["wallet", "message"]
},
{
"properties": {
"error": {
"type": "string",
"description": "Error type if wallet creation fails"
},
"message": {
"type": "string",
"description": "Detailed error message"
}
},
"required": ["error", "message"]
}
]
}
}
}
}