industry-tools
Version:
Industry Tools is a TypeScript library providing essential tools for the Industry AI Agent Platform.
67 lines (66 loc) • 2.65 kB
JSON
{
"toolSpec": {
"name": "Create_Solana_Wallet",
"description": "Creates a new Solana 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 solana",
"default": "solana"
}
},
"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"]
}
]
}
}
}
}