Skip to content

Commit 0751de2

Browse files
authored
fix(ec2): describe the states each instance state-change tool actually returns (#9322)
1 parent 28e34a8 commit 0751de2

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎apps/docs/content/docs/integrations/ec2.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Start one or more stopped EC2 instances
145145
| --------- | ---- | ----------- |
146146
| `instances` | array | State transition for each instance |
147147
| ↳ `instanceId` | string | Instance ID |
148-
| ↳ `currentState` | string | State after the request \(e.g., pending, stopping, shutting-down\) |
148+
| ↳ `currentState` | string | State after the request \(e.g., pending, running\) |
149149
| ↳ `previousState` | string | State before the request |
150150

151151
</ReferenceDetails>
@@ -173,7 +173,7 @@ Stop one or more running EC2 instances
173173
| --------- | ---- | ----------- |
174174
| `instances` | array | State transition for each instance |
175175
| ↳ `instanceId` | string | Instance ID |
176-
| ↳ `currentState` | string | State after the request \(e.g., pending, stopping, shutting-down\) |
176+
| ↳ `currentState` | string | State after the request \(e.g., stopping, stopped\) |
177177
| ↳ `previousState` | string | State before the request |
178178

179179
</ReferenceDetails>
@@ -223,7 +223,7 @@ Permanently terminate one or more EC2 instances
223223
| --------- | ---- | ----------- |
224224
| `instances` | array | State transition for each instance |
225225
| ↳ `instanceId` | string | Instance ID |
226-
| ↳ `currentState` | string | State after the request \(e.g., pending, stopping, shutting-down\) |
226+
| ↳ `currentState` | string | State after the request \(e.g., shutting-down, terminated\) |
227227
| ↳ `previousState` | string | State before the request |
228228

229229
</ReferenceDetails>

‎apps/sim/tools/ec2/start_instances.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const startInstancesTool: InternalToolConfig<
7575
},
7676
currentState: {
7777
type: 'string',
78-
description: 'State after the request (e.g., pending, stopping, shutting-down)',
78+
description: 'State after the request (e.g., pending, running)',
7979
nullable: true,
8080
},
8181
previousState: {

‎apps/sim/tools/ec2/stop_instances.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const stopInstancesTool: InternalToolConfig<
9090
},
9191
currentState: {
9292
type: 'string',
93-
description: 'State after the request (e.g., pending, stopping, shutting-down)',
93+
description: 'State after the request (e.g., stopping, stopped)',
9494
nullable: true,
9595
},
9696
previousState: {

‎apps/sim/tools/ec2/terminate_instances.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const terminateInstancesTool: InternalToolConfig<
7575
},
7676
currentState: {
7777
type: 'string',
78-
description: 'State after the request (e.g., pending, stopping, shutting-down)',
78+
description: 'State after the request (e.g., shutting-down, terminated)',
7979
nullable: true,
8080
},
8181
previousState: {

‎apps/sim/tools/generated/tool-outputs.ts‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)