smartlead_get_vendors
Retrieve all active domain vendors and their corresponding IDs to manage email marketing infrastructure and sender domains.
Instructions
Retrieve all active domain vendors with their corresponding IDs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/smartSenders.ts:5-17 (schema)Schema definition for the smartlead_get_vendors tool, including empty input schema as parameters are handled by API client.export const GET_VENDORS_TOOL: CategoryTool = { name: 'smartlead_get_vendors', description: 'Retrieve all active domain vendors with their corresponding IDs.', category: ToolCategory.SMART_SENDERS, inputSchema: { type: 'object', properties: { // This endpoint doesn't require specific parameters beyond the API key // which is handled at the API client level }, required: [], }, };
- src/index.ts:231-234 (registration)Registration of smartSendersTools array (containing smartlead_get_vendors) into the tool registry, conditional on feature flag.// Register smart senders tools if enabled if (enabledCategories.smartSenders) { toolRegistry.registerMany(smartSendersTools); }
- src/index.ts:360-361 (registration)Dispatch to category-specific handler (handleSmartSendersTool) for SMART_SENDERS tools including smartlead_get_vendors.case ToolCategory.SMART_SENDERS: return await handleSmartSendersTool(name, toolArgs, apiClient, withRetry);
- src/types/smartSenders.ts:3-7 (schema)TypeScript interface for input parameters of smartlead_get_vendors (empty object).// Get Vendors export interface GetVendorsParams { // This endpoint doesn't require specific parameters beyond the API key // which is handled at the API client level }
- src/types/smartSenders.ts:49-53 (schema)Type guard function for validating input arguments to smartlead_get_vendors (accepts any object).export function isGetVendorsParams(args: unknown): args is GetVendorsParams { // Since this endpoint doesn't require specific parameters beyond the API key // Any object is valid return typeof args === 'object' && args !== null; }