List units
list_unitsList measurement units with optional name filters, pagination, random ordering, and compact or full results for recipe and ingredient workflows.
Instructions
List measurement units. Optional: query (name filter, or similarity ranking if fuzzy search is on), limit, random. Returns {count, next, previous, results}, 50 per page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, from 1. | |
| limit | No | Maximum number of units to return. | |
| query | No | Name filter, or similarity ranking when Tandoor fuzzy search is on. | |
| format | No | slim (default) returns a compact shape. full returns the raw Tandoor object. | |
| random | No | String. Any non-empty value shuffles the order, even "false". | |
| page_size | No | Results per page. Default 50, max 200. | |
| updated_at | No | No effect: Tandoor units have no updated_at field. |