get_store
Retrieve specific store details from Mailchimp's Marketing API to access comprehensive e-commerce data for marketing analysis and campaign management.
Instructions
Get details of a specific store
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store_id | Yes | The store ID |
Implementation Reference
- src/tools/index.ts:1059-1068 (handler)Handler case in handleToolCall function that executes the get_store tool by calling the service method and returning formatted JSON response.case "get_store": const store = await service.getStore(args.store_id); return { content: [ { type: "text", text: JSON.stringify(store, null, 2), }, ], };
- src/tools/index.ts:439-447 (schema)Input schema defining the required 'store_id' parameter for the get_store tool.inputSchema: { type: "object", properties: { store_id: { type: "string", description: "The store ID", }, }, required: ["store_id"],
- src/tools/index.ts:436-449 (registration)Registration of the get_store tool in the getToolDefinitions array, including name, description, and schema.{ name: "get_store", description: "Get details of a specific store", inputSchema: { type: "object", properties: { store_id: { type: "string", description: "The store ID", }, }, required: ["store_id"], }, },
- src/services/mailchimp.ts:304-306 (helper)Helper method in MailchimpService that performs the actual API request to fetch store details from Mailchimp's e-commerce endpoint.async getStore(storeId: string): Promise<MailchimpStore> { return await this.makeRequest(`/ecommerce/stores/${storeId}`); }