log_record
Create a new record for a baby's routine by specifying the resource type (e.g., feeding, sleep) and the data. Use to log events such as feedings, sleep, diapers, or purchases.
Instructions
Create one record.
resource is one of the known record types; data follows its schema
(see describe_resources). Omit baby_id when the mother has a single baby.
Example: log_record("feedings", {"started_at": "2026-03-15T14:00:00Z",
"feeding_type": "bottle", "volume_ml": 120}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| resource | Yes |