Typical contaminant levels for a kind of food
food_categoryFor a kind of food (a category slug such as milk, rice, baby-infant-foods-beverages, cereal, water), returns FDA's typical levels of metals and perchlorate, whether FDA's foods are a close or rough stand-in, and the products in that category with lab results: the 50 lowest in the most-tested chemical by default (products below the lab's limit first), with tested_total giving the full count. Pass sort to rank by another chemical, order=high for highest first, and all=true for every tested product.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"category": "<category>"
},
"name": "food_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Optional: true returns every tested product instead of the first 50 | |
| sort | No | Optional chemical slug to rank by, e.g. "lead" (default: the chemical tested in the most products) | |
| order | No | Optional: "high" for highest first (default lowest first) | |
| category | Yes | Category slug, e.g. "milk" |