hello_aigent_subscribe
Subscribes a principal to a Hello Aigent feed by fetching the site's discovery file and recording consent for updates, offers, or transactional messages.
Instructions
Subscribe to a Hello Aigent feed. Fetches the site's discovery file (/.well-known/hello-aigent.json), picks the feed, and subscribes on behalf of a principal (the account/user this agent acts for). IMPORTANT: subscribing is a consent decision — confirm with your principal before calling. Returns the stored subscription (token is persisted locally, not shown).
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": {
"discovery_url": "<discovery_url>",
"principal": "<principal>",
"consent_scope": "<consent_scope>"
},
"name": "hello_aigent_subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feed_id | No | Feed id; defaults to the only/first feed | |
| principal | Yes | The account/user this agent acts for | |
| consent_scope | Yes | What the principal consents to receive | |
| discovery_url | Yes | URL of the discovery file, e.g. https://helloaigent.dev/.well-known/hello-aigent.json |