botwallet_rename
Change the display name of a bot's wallet to update branding or clarify its purpose for other users and in the owner portal.
Instructions
Update the wallet display name shown to other users and in the owner portal. Use when you want to rebrand or clarify the bot's purpose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New display name |
Implementation Reference
- src/tools/wallet.ts:188-196 (handler)The handler function for botwallet_rename which calls the SDK to update the wallet name.
async handler(args, ctx) { try { const { name } = args as { name: string }; const result = await ctx.sdk.updateName({ name }); return formatResult(result); } catch (e) { return formatToolError(e); } }, - src/tools/wallet.ts:184-187 (schema)The input schema definition for botwallet_rename using Zod.
inputSchema: z.object({ name: z.string().min(2).max(50) .describe('New display name'), }), - src/tools/wallet.ts:179-180 (registration)The definition object for botwallet_rename.
const rename: ToolDefinition = { name: 'botwallet_rename',