Implement Core Supply Chain Tools

implementationChallenge

Prompt Content

Develop Python functions that simulate essential supply chain operations. These 'tools' should include: `get_inventory_levels(product_id)`, `place_order(product_id, quantity, supplier_id)`, `get_demand_forecast(product_id, period)`, and `update_production_plan(product_id, quantity)`. Ensure these tools return structured data that the Llama 3.3 agent can easily parse and incorporate into its reasoning process.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations