get_identity_config
Retrieve effective configuration for identity fields of a specific identity by providing its identityId.
Instructions
Get configuration for identity fields of a specific identity. Required to filter by a specific identityId to see the effective configuration for that identity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identityId | Yes |
Implementation Reference
- src/tools/getIdentityConfig.ts:11-16 (handler)The actual handler function that executes the tool logic. It gets the API client, extracts identityId from filters, constructs query params from remaining fields, and makes an API call to /identity/configuration/configuration/{identityId}.
export async function getIdentityConfig(filters: IdentityConfigFilters) { const client = getClient(); const { identityId, ...rest } = filters; const queryParams = filtersToParams(rest); return client.makeApiCall(`/identity/configuration/configuration/${identityId}`, queryParams); } - src/tools/getIdentityConfig.ts:5-7 (schema)Zod schema defining the input: an object with a required identityId string field.
export const IdentityConfigFiltersSchema = z.object({ identityId: z.string(), }); - src/index.ts:212-217 (registration)Tool registration in the ListToolsRequestSchema handler: defines the tool name 'get_identity_config', its description, and input schema.
{ name: "get_identity_config", description: "Get configuration for identity fields of a specific identity. Required to filter by a specific identityId to see the effective configuration for that identity.", inputSchema: zodToJsonSchema(IdentityConfigFiltersSchema), }, - src/index.ts:317-317 (registration)Tool handler registration in the toolHandlers map: maps the name 'get_identity_config' to an async function that parses input with IdentityConfigFiltersSchema and calls getIdentityConfig.
get_identity_config: async (input) => getIdentityConfig(IdentityConfigFiltersSchema.parse(input)), - src/tools/index.ts:18-18 (helper)Re-export of getIdentityConfig module from the tools barrel index file.
export * from "./getIdentityConfig.js";