mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-14 08:25:03 -05:00
feat(tools): added sqs integration (#2310)
* feat(tools): added sqs integration * remove console log * fix linter issues
This commit is contained in:
@@ -86,6 +86,7 @@
|
||||
"shopify",
|
||||
"slack",
|
||||
"smtp",
|
||||
"sqs",
|
||||
"ssh",
|
||||
"stagehand",
|
||||
"stagehand_agent",
|
||||
|
||||
63
apps/docs/content/docs/en/tools/sqs.mdx
Normal file
63
apps/docs/content/docs/en/tools/sqs.mdx
Normal file
@@ -0,0 +1,63 @@
|
||||
---
|
||||
title: Amazon SQS
|
||||
description: Connect to Amazon SQS
|
||||
---
|
||||
|
||||
import { BlockInfoCard } from "@/components/ui/block-info-card";
|
||||
|
||||
<BlockInfoCard
|
||||
type="sqs"
|
||||
color="linear-gradient(45deg, #2E27AD 0%, #527FFF 100%)"
|
||||
/>
|
||||
|
||||
{/* MANUAL-CONTENT-START:intro */}
|
||||
[Amazon Simple Queue Service (SQS)](https://aws.amazon.com/sqs/) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. SQS eliminates the complexity and overhead associated with managing and operating message-oriented middleware, and empowers developers to focus on differentiating work.
|
||||
|
||||
With Amazon SQS, you can:
|
||||
|
||||
- **Send messages**: Publish messages to queues for asynchronous processing
|
||||
- **Decouple applications**: Enable loose coupling between components of your system
|
||||
- **Scale workloads**: Handle variable workloads without provisioning infrastructure
|
||||
- **Ensure reliability**: Built-in redundancy and high availability
|
||||
- **Support FIFO queues**: Maintain strict message ordering and exactly-once processing
|
||||
|
||||
In Sim, the SQS integration enables your agents to send messages to Amazon SQS queues securely and programmatically. Supported operations include:
|
||||
|
||||
- **Send Message**: Send messages to SQS queues with optional message group ID and deduplication ID for FIFO queues
|
||||
|
||||
This integration allows your agents to automate message sending workflows without manual intervention. By connecting Sim with Amazon SQS, you can build agents that publish messages to queues within your workflows—all without handling queue infrastructure or connections.
|
||||
{/* MANUAL-CONTENT-END */}
|
||||
|
||||
## Usage Instructions
|
||||
|
||||
Integrate Amazon SQS into the workflow. Can send messages to SQS queues.
|
||||
|
||||
## Tools
|
||||
|
||||
### `sqs_send`
|
||||
|
||||
Send a message to an Amazon SQS queue
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| ------------------------ | ------ | -------- | ----------------------------------------------------------------------------- |
|
||||
| `region` | string | Yes | AWS region \(e.g., us-east-1\) |
|
||||
| `accessKeyId` | string | Yes | AWS access key ID |
|
||||
| `secretAccessKey` | string | Yes | AWS secret access key |
|
||||
| `queueUrl` | string | Yes | Queue URL \(e.g., https://sqs.us-east-1.amazonaws.com/123456789012/my-queue\) |
|
||||
| `data` | object | Yes | Message body to send as JSON object |
|
||||
| `messageGroupId` | string | No | Message group ID \(optional\) |
|
||||
| `messageDeduplicationId` | string | No | Message deduplication ID for FIFO queues \(optional\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------ | --------------------------------------------------------- |
|
||||
| `message` | string | Success or error message describing the operation outcome |
|
||||
| `id` | string | Message ID |
|
||||
|
||||
## Notes
|
||||
|
||||
- Category: `tools`
|
||||
- Type: `sqs`
|
||||
Reference in New Issue
Block a user