sns_publish
Publish a message to an SNS topic in LocalStack to trigger event-driven workflows and test message delivery locally.
Instructions
Publish a message to an SNS topic in LocalStack
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": {
"topicArn": "<topicArn>",
"message": "<message>"
},
"name": "sns_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Message body | |
| subject | No | Message subject (used for email subscriptions) | |
| topicArn | Yes | Topic ARN |