update_business_profile
Modify WhatsApp Business profile details including description, address, email, and website URLs to maintain accurate business information.
Instructions
Update the WhatsApp Business profile information.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_business_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| about | No | Short description (max 139 chars) | |
| description | No | Business description (max 512 chars) | |
| address | No | Business address | |
| No | Business email | ||
| websites | No | Business website URLs (max 2) |
Implementation Reference
- src/whatsapp-client.ts:252-258 (handler)The actual implementation of the WhatsApp Business profile update API call using the WhatsAppClient class.
async updateBusinessProfile(profile: Record<string, unknown>) { return this.request( `/${this.config.phoneNumberId}/whatsapp_business_profile`, "POST", { messaging_product: "whatsapp", ...profile } ); } - src/index.ts:351-365 (registration)MCP tool registration for "update_business_profile", defining the input schema using zod and linking to the WhatsAppClient implementation.
server.tool( "update_business_profile", "Update the WhatsApp Business profile information.", { about: z.string().optional().describe("Short description (max 139 chars)"), description: z.string().optional().describe("Business description (max 512 chars)"), address: z.string().optional().describe("Business address"), email: z.string().optional().describe("Business email"), websites: z.array(z.string()).optional().describe("Business website URLs (max 2)"), }, async (params) => executeWithHooks("update_business_profile", params, config, () => wa.updateBusinessProfile(params) ) );