validate_campaign_accounts
Check account eligibility for campaign creation by verifying status and requirements to resolve campaign setup issues.
Instructions
Validate which accounts are eligible for campaign creation. This tool helps debug campaign creation issues by showing the status of all accounts and which ones meet the requirements for sending campaigns.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_list | No | Optional: Specific email addresses to validate. If not provided, shows all account statuses. |
Implementation Reference
- src/validation.ts:570-573 (schema)Zod schema definition for the validate_campaign_accounts tool input validation, accepting an optional array of email addresses.export const ValidateCampaignAccountsSchema = z.object({ email_list: z.array(EmailSchema).optional() });
- src/validation.ts:787-789 (handler)Handler function that performs input validation specifically for the validate_campaign_accounts tool using the defined Zod schema.export function validateCampaignAccountsData(args: unknown): z.infer<typeof ValidateCampaignAccountsSchema> { return validateWithSchema(ValidateCampaignAccountsSchema, args, 'validate_campaign_accounts'); }
- src/validation.ts:844-844 (registration)Registration of the validate_campaign_accounts tool's validator function in the central TOOL_VALIDATORS mapping used for tool parameter validation.'validate_campaign_accounts': validateCampaignAccountsData,