subscribe
Durably subscribe to a task's terminal settlement using a server-configured notification alias. Repeated subscriptions share a stable event ID, so receivers should deduplicate deliveries.
Instructions
Durably subscribe to one task's observed terminal settlement using a configured alias.
Direct callers only. The server administrator configures HARFLOW_NOTIFY_DESTINATIONS; caller URLs and secrets are refused. Repeated task/alias subscriptions share a stable event ID. Delivery retries at most six times and can duplicate after a crash: receivers must deduplicate IDs. Pending delivery resumes while a configured server is active, not while every server is down. Delivery failure never changes task execution. See docs/task-notifications.md.
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": {
"task_id": "<task_id>",
"notify": "<notify>"
},
"name": "subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notify | Yes | ||
| task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||