topics_subscribe
Subscribe an endpoint to a topic to receive notifications via HTTP, HTTPS, SQS, or Lambda.
Instructions
Subscribe an endpoint to a topic.
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": {
"topic_arn": "<topic_arn>",
"protocol": "<protocol>",
"endpoint": "<endpoint>"
},
"name": "topics_subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Region such as ``fr-par``. Defaults to the configured region. | |
| endpoint | Yes | The endpoint to receive notifications (URL, queue ARN, ...). | |
| protocol | Yes | One of ``http``, ``https``, ``sqs``, ``lambda``. | |
| topic_arn | Yes | The topic ARN. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||