---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/recipe-finder/use-cases/search-by-dietary-restrictions/chatgpt
---
# How to Search Recipes by Dietary Restrictions with ChatGPT

ChatGPT explains dietary restrictions alongside the recipes it finds, helping you understand why certain ingredients are excluded and what alternatives work. It can adapt any recipe to your restrictions by suggesting substitutions, making it useful even when a perfect match does not exist in the database.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

1. Configure ToolRouter in ChatGPT
2. Ask: "Search for keto-friendly dinner recipes"
3. ChatGPT returns compliant recipe options
4. Request: "Which of these has the lowest net carb count?"
5. Choose the recipe that best fits your dietary goals

## Example Prompt

```
I need dairy-free, low-sugar dessert recipes. Find options that are also easy to make with common ingredients.
```

## Tips

- ChatGPT can explain which ingredients in a recipe might be problematic and suggest alternatives
- Ask for a weekly meal plan within your dietary restrictions
- Request nutritional information for each recipe to ensure it meets your goals
