create_geomi_organization
Create a new organization for your Geomi account to manage Aptos blockchain development workflows and API keys.
Instructions
Create a new Organization for your Geomi account. Geomi is the essential toolkit for Aptos developers.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the organization. Must be between 3 and 32 characters long, with only lowercase letters, numbers, dashes and underscores. |
Implementation Reference
- src/tools/geomi/organization.ts:14-25 (handler)The handler function for the `create_geomi_organization` tool, which executes the organization creation logic.
execute: async (args: { name: string }, context: any) => { try { await recordTelemetry({ action: "create_organization" }, context); const geomi = new Geomi(context); const organization = await geomi.createOrganization({ name: args.name, }); return JSON.stringify(organization); } catch (error) { return `❌ Failed to create organization: ${error}`; } }, - The schema used to define the input parameters for the `create_geomi_organization` tool.
parameters: CreateOrganizationToolScheme, - src/tools/geomi/organization.ts:11-28 (registration)The registration of the `create_geomi_organization` tool definition.
export const createOrganizationTool = { description: "Create a new Organization for your Geomi account. Geomi is the essential toolkit for Aptos developers.", execute: async (args: { name: string }, context: any) => { try { await recordTelemetry({ action: "create_organization" }, context); const geomi = new Geomi(context); const organization = await geomi.createOrganization({ name: args.name, }); return JSON.stringify(organization); } catch (error) { return `❌ Failed to create organization: ${error}`; } }, name: "create_geomi_organization", parameters: CreateOrganizationToolScheme, };