create_geomi_api_resource_application
Create API resource applications for Aptos blockchain interactions within Geomi organizations to generate API keys for development workflows.
Instructions
Create a new Application for your Geomi Organization. Geomi is the essential toolkit for Aptos developers. This tool can be used to create an API resource application to then create api keys for general Aptos blockchain interactions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | The description of the application. | |
| name | Yes | The name of the application. Must be between 3 and 32 characters long, with only lowercase letters, numbers, dashes and underscores. | |
| network | Yes | The network to create the application for. Can be devnet, testnet or mainnet. | |
| organization_id | Yes | The organization id to create the application for. | |
| project_id | Yes | The project id to create the application for. |
Implementation Reference
- src/tools/geomi/applications.ts:39-75 (handler)The handler implementation for the "create_geomi_api_resource_application" tool.
export const createApiResourceApplicationTool = { description: "Create a new Application for your Geomi Organization. Geomi is the essential toolkit for Aptos developers. This tool can be used to create an API resource application to then create api keys for general Aptos blockchain interactions.", execute: async ( args: { description?: string; name: string; network: string; organization_id: string; project_id: string; }, context: any ) => { try { await recordTelemetry( { action: "create_api_resource_application" }, context ); const geomi = new Geomi(context); const application = await geomi.createApplication({ args: { description: args.description ?? null, name: args.name, network: args.network, service_type: "Api", }, organization_id: args.organization_id, project_id: args.project_id, }); return JSON.stringify(application); } catch (error) { return `❌ Failed to create application: ${error}`; } }, name: "create_geomi_api_resource_application", parameters: CreateApiResourceApplicationToolScheme, };