Add a chart annotation
add_annotationAdd a note to the site's time charts, like a launch, a deploy or a price change, so later changes in traffic or revenue can be explained. ts defaults to now. Pass idempotency_key so that a retry does not add the note 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": {
"label": "<label>"
},
"name": "add_annotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ISO date or date-time. Default now. | |
| url | No | ||
| site | No | Site domain (example.com), id or public id (tb_…). Optional with a site key, or when the account has one site. | |
| label | Yes | ||
| idempotency_key | No | A fresh UUID for this create. Send the same value when you retry the same call: the first result comes back and nothing is created twice. |