Record a site diary entry
record_diary_entryWrites one dated entry to the site diary, the team's shared record of what changed on the site and what was learned, read by every member, every connected agent and Anry's reports. This is the only tool that writes, and it writes nothing but the diary: no setting, campaign, goal or report changes. kind change: something shipped or reverted on the subject. kind observation: a dated fact learned (a test on a phone, a provider's behaviour, a decision). kind retraction: withdraws an earlier entry (retracts_entry_id); nothing is ever edited or deleted. Record what happened, never an intention or a to-do, one entry per fact at the end of an investigation, on the subject you investigated, with the reports and sessions it rests on as evidence. Never put personal data (names, emails, order numbers) in the text. Pass an idempotency_key so a retry never writes twice.
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": {
"site_id": "<site_id>",
"kind": "<kind>",
"title": "<title>"
},
"name": "record_diary_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Plain text: why, what was expected, what was tried. No personal data. | |
| kind | Yes | ||
| title | Yes | What happened, in one line | |
| site_id | Yes | Site id from list_sites (UUID) | |
| subject | No | What the entry is about. type page takes the pathname as key (/checkout); campaign takes platform:campaign_id and ad takes platform:campaign_id:ad_id, the subject keys list_reports and list_opportunities print; site takes no key | |
| evidence | No | References: report://, replay:// and heatmap:// as reports and tools give them, or https:// links (a pull request, a ticket) | |
| occurred_at | No | When it happened: an ISO date or a date-time with offset. Defaults to now; up to one year back, never in the future. Ignored on a retraction. | |
| idempotency_key | No | Any string unique to this entry; a retry with the same key returns the entry already written | |
| retracts_entry_id | No | On a retraction only: the id of the entry it withdraws. The retraction takes that entry's subject. |