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}).
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": {
"resource": "<resource>",
"data": "<data>"
},
"name": "log_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| resource | Yes |