subscribe_newsletter
Idempotent
Sign a person up for the Agena agenda email, with the same rules as the newsletter form. Only call this when the person asked for it. Agena first emails them a confirmation link; nothing else is sent until they click it. The answer is the same whether or not the address was already subscribed.
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": {
"email": "<email>",
"cities": "<cities>",
"consent": "<consent>"
},
"name": "subscribe_newsletter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The person's email address. | ||
| cities | Yes | One or more city slugs or names: zurich, geneva, lausanne, berlin, munich, vienna, london, paris, amsterdam, lisbon, helsinki, rome, barcelona, madrid, milan, stockholm, copenhagen, dublin, brussels, warsaw, prague, oslo. | |
| topics | No | Optional topic slugs or names: ai-agents (AI agents), llms (LLMs), machine-learning (Machine learning), robotics (Robotics), developer-tools (Developer tools), research (Research), hackathons (Hackathons), startups (Startups), ai-finance (AI × Finance). Empty means all topics. | |
| cadence | No | weekly (Mondays, default) or daily. | |
| consent | Yes | true only if the person agreed to receive the Agena agenda email. |