| { |
| "version": "1.0.0", |
| "agents": { |
| "researcher": { |
| "system_prompt": "You are a professional market researcher. Use web search to find trends, competitor data, and customer insights. Use analyze_product_trends to find profitable products.", |
| "tools": ["web_search", "summarize_content", "analyze_product_trends"] |
| }, |
| "operations_lead": { |
| "system_prompt": "You are the COO of this dropshipping business. You manage databases, coordinate agents, and make strategic decisions based on data.", |
| "tools": ["get_airtable_records", "fetch_hubspot_contacts", "sql_query_db"] |
| }, |
| "customer_service": { |
| "system_prompt": "You are a helpful customer support agent. You check order statuses, look up customer info in HubSpot, and draft empathetic responses.", |
| "tools": ["get_order_status", "get_hubspot_contact", "generate_email_draft"] |
| }, |
| "shopify_manager": { |
| "system_prompt": "You are the Shopify store manager. You oversee inventory, update product details, manage orders, and ensure smooth store operations. Use your tools to maintain accurate records.", |
| "tools": ["get_order_status", "update_inventory", "list_products", "ucp_get_order_details", "get_product_details"] |
| }, |
| "fulfillment_agent": { |
| "system_prompt": "You are the fulfillment agent. You process Shopify orders, create fulfillment records, and log activities in Airtable.", |
| "tools": ["fulfill_shopify_order"] |
| }, |
| "product_builder": { |
| "system_prompt": "You are the product builder agent. You create new products in the Shopify store, manage descriptions, and set pricing.", |
| "tools": ["create_shopify_product"] |
| }, |
| "creative_studio": { |
| "system_prompt": "You are a creative director. You generate marketing images, manage document conversions (PDF/EPUB), and design Storefront Web Component layouts.", |
| "tools": ["generate_image", "convert_to_pdf", "convert_to_epub", "render_storefront_component"] |
| }, |
| "seo_specialist": { |
| "system_prompt": "You are an SEO expert. You analyze topics, identify high-volume keywords, and inject them into content.", |
| "tools": ["web_search", "generate_seo_content"] |
| }, |
| "email_secretary": { |
| "system_prompt": "You are the email secretary for brett@brettapps.com. You manage the inbox, prioritize messages, and draft responses.", |
| "tools": ["list_emails", "send_email"] |
| }, |
| "auditor_agent": { |
| "system_prompt": "You are the internal auditor. You review agent tool executions, verify margin constraints, and flag non-compliant actions.", |
| "tools": ["check_margin", "log_audit_event"] |
| }, |
| "supplier_evaluator": { |
| "system_prompt": "You are the supplier evaluator. You critically analyze potential dropshipping suppliers against strict criteria (API support, shipping speed, return policy, blind dropshipping).", |
| "tools": ["evaluate_supplier", "log_evaluation"] |
| } |
| }, |
| "tool_definitions": { |
| "web_search": { |
| "description": "Searches the live web for up-to-date information.", |
| "parameters": {"topic": "string", "max_results": "integer"} |
| }, |
| "check_margin": { |
| "description": "Checks if the product margin exceeds the minimum required threshold.", |
| "parameters": {"price": "number", "cost": "number", "threshold": "number"} |
| }, |
| "log_audit_event": { |
| "description": "Logs an audit event for a transaction.", |
| "parameters": {"session_id": "integer", "agent_name": "string", "tool_name": "string", "is_compliant": "boolean"} |
| }, |
| "evaluate_supplier": { |
| "description": "Evaluates supplier data against dropshipping criteria.", |
| "parameters": {"supplier_data": "string"} |
| }, |
| "log_evaluation": { |
| "description": "Logs a supplier evaluation to Airtable.", |
| "parameters": {"supplier_name": "string", "evaluation": "string"} |
| }, |
| "list_emails": { |
| "description": "Lists recent emails from the inbox.", |
| "parameters": {"count": "integer"} |
| }, |
| "send_email": { |
| "description": "Sends an email to a recipient.", |
| "parameters": {"to": "string", "subject": "string", "body": "string"} |
| }, |
| "analyze_product_trends": { |
| "description": "Analyzes a category to identify high-margin, top-selling products.", |
| "parameters": {"category": "string"} |
| }, |
| "get_order_status": { |
| "description": "Retrieves Shopify order status by order ID.", |
| "parameters": {"order_id": "string"} |
| }, |
| "ucp_get_order_details": { |
| "description": "Retrieves order details using UCP.", |
| "parameters": {"order_id": "string", "merchant_domain": "string"} |
| }, |
| "get_product_details": { |
| "description": "Retrieves details of a Shopify product by handle.", |
| "parameters": {"handle": "string"} |
| }, |
| "fulfill_shopify_order": { |
| "description": "Marks a Shopify order as fulfilled and logs it to Airtable.", |
| "parameters": {"order_id": "string", "tracking_number": "string"} |
| }, |
| "create_shopify_product": { |
| "description": "Creates a new Shopify product.", |
| "parameters": {"title": "string", "body_html": "string", "vendor": "string", "product_type": "string", "tags": "string", "price": "string"} |
| }, |
| "update_inventory": { |
| "description": "Updates inventory level for a product variant.", |
| "parameters": {"variant_id": "string", "quantity": "integer"} |
| }, |
| "list_products": { |
| "description": "Lists store products.", |
| "parameters": {"limit": "integer"} |
| }, |
| "get_hubspot_contact": { |
| "description": "Finds a contact in HubSpot by email.", |
| "parameters": {"email": "string"} |
| }, |
| "generate_image": { |
| "description": "Generates an image via Z-Image-Turbo.", |
| "parameters": {"prompt": "string", "overlay_text": "string"} |
| }, |
| "render_storefront_component": { |
| "description": "Renders a Shopify Storefront Web Component.", |
| "parameters": {"component_type": "string", "product_handle": "string"} |
| }, |
| "generate_seo_content": { |
| "description": "Synthesizes research and injects keywords.", |
| "parameters": {"topic": "string", "keywords": "list"} |
| } |
| }, |
| "routing_logic": { |
| "default_agent": "customer_service", |
| "intent_mapping": { |
| "order": "customer_service", |
| "shipping": "customer_service", |
| "inventory": "shopify_manager", |
| "product": "shopify_manager", |
| "fulfill": "fulfillment_agent", |
| "fulfillment": "fulfillment_agent", |
| "create": "product_builder", |
| "research": "researcher", |
| "trend": "researcher", |
| "design": "creative_studio", |
| "image": "creative_studio", |
| "seo": "seo_specialist", |
| "email": "email_secretary", |
| "evaluate": "supplier_evaluator", |
| "database": "operations_lead" |
| } |
| } |
| } |
|
|