Set a Boolean Journal factor
bevel_set_journal_booleanSet a yes/no Bevel Journal factor for a specific day, updating an existing entry in place or creating a new one; skips changes when the value is already set.
Instructions
Sets a yes/no Journal factor (e.g. Added Sugar) for one day, the way the app does: if an entry for that factor and day exists it is updated in place (same uuid and createdAt), otherwise a new entry is created. Does nothing if the value is already set. Requires BEVEL_ENABLE_WRITES=true unless dryRun is set. Success means Bevel listed the entry's uuid as succeeded; confirm it in the app after restarting it.
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": {
"factorKey": "<factorKey>",
"value": "<value>"
},
"name": "bevel_set_journal_boolean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Calendar day YYYY-MM-DD in the configured time zone. Defaults to today. | |
| value | Yes | true = the factor applied that day, false = it did not. | |
| dryRun | No | If true, look up the existing entry and return the exact request that would be sent, without sending it. | |
| factorKey | Yes | Bevel preset factor key. Verified keys: addedSugar (Added Sugar), deviceInBed (Device in Bed), lateMeal (Late Meal). | |
| allowUnverifiedFactorKey | No | Required to write a factor key other than the verified ones. Only use keys actually seen in bevel_get_journal output. |