get_organization_info
Retrieve organization details including name, unique name, status, and system language to understand your organization's configuration.
Instructions
Get information about the organization including name, unique name, status, system language, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/getOrganizationInfo.ts:9-13 (handler)The handler function that executes the 'get_organization_info' tool logic. It calls the Admina API with an empty endpoint (since the base URL already includes /organizations/{organizationId}) and no query parameters.
export async function getOrganizationInfo() { const client = getClient(); // The endpoint is just empty string since the base URL already includes /organizations/{organizationId} return client.makeApiCall("", new URLSearchParams()); } - src/tools/getOrganizationInfo.ts:5-5 (schema)Zod input schema for the tool - an empty object since no input parameters are needed (organizationId is handled by the client).
export const OrganizationInfoSchema = z.object({}); - src/index.ts:85-89 (registration)Tool registration in the ListToolsRequestHandler - declares the tool name 'get_organization_info', description, and binds the input schema.
name: "get_organization_info", description: "Get information about the organization including name, unique name, status, system language, etc.", inputSchema: zodToJsonSchema(OrganizationInfoSchema), }, - src/index.ts:298-298 (registration)Tool handler mapping in the CallToolRequestHandler - maps the tool name string to the handler function getOrganizationInfo().
get_organization_info: async () => getOrganizationInfo(),