Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
json 386 lines 13.6 KB
Raw
1 {
2 "$comment": "Recorded from anthropic claude-opus-5-5 by record.ts. Do not edit by hand; record again.",
3 "fixtures": [
4 {
5 "match": {
6 "turnIndex": 0,
7 "userMessage": "In my Composio developer project, execute SLACK_SEND_MESSAGE as my test user to post \"hello from dev\" in #general.",
8 "model": "claude-opus-5-5",
9 "hasToolResult": false
10 },
11 "response": {
12 "toolCalls": [
13 {
14 "id": "toolu_01KsMZbam8hfHbvz6Dpy4gG2",
15 "name": "shell",
16 "arguments": "{\"command\":\"cat /skills/composio-cli/references/composio-dev.md\"}"
17 }
18 ],
19 "usage": {
20 "input_tokens": 2674,
21 "cache_creation_input_tokens": 0,
22 "cache_read_input_tokens": 0,
23 "cache_creation": {
24 "ephemeral_5m_input_tokens": 0,
25 "ephemeral_1h_input_tokens": 0
26 },
27 "output_tokens": 95
28 }
29 },
30 "metadata": {
31 "systemHash": "6ee9d189",
32 "toolsHash": "95a7fdfe"
33 }
34 },
35 {
36 "match": {
37 "turnIndex": 1,
38 "userMessage": "In my Composio developer project, execute SLACK_SEND_MESSAGE as my test user to post \"hello from dev\" in #general.",
39 "model": "claude-opus-5-5",
40 "hasToolResult": true,
41 "toolCallId": "toolu_01KsMZbam8hfHbvz6Dpy4gG2",
42 "toolResultContains": "\"exit_code\":0,"
43 },
44 "response": {
45 "toolCalls": [
46 {
47 "id": "toolu_017s4oFeENE22UfrhxsRXHUz",
48 "name": "shell",
49 "arguments": "{\"command\":\"composio whoami; composio dev --help; composio dev connected-accounts list --toolkits slack 2>&1 || composio dev connected-accounts list\"}"
50 }
51 ],
52 "usage": {
53 "input_tokens": 3575,
54 "cache_creation_input_tokens": 0,
55 "cache_read_input_tokens": 0,
56 "cache_creation": {
57 "ephemeral_5m_input_tokens": 0,
58 "ephemeral_1h_input_tokens": 0
59 },
60 "output_tokens": 94
61 }
62 },
63 "metadata": {
64 "systemHash": "6ee9d189",
65 "toolsHash": "95a7fdfe"
66 }
67 },
68 {
69 "match": {
70 "turnIndex": 2,
71 "userMessage": "In my Composio developer project, execute SLACK_SEND_MESSAGE as my test user to post \"hello from dev\" in #general.",
72 "model": "claude-opus-5-5",
73 "hasToolResult": true,
74 "toolCallId": "toolu_017s4oFeENE22UfrhxsRXHUz",
75 "toolResultContains": "\"exit_code\":0,"
76 },
77 "response": {
78 "toolCalls": [
79 {
80 "id": "toolu_01FKqJVkvrp5qjUcEYV8EN8Y",
81 "name": "shell",
82 "arguments": "{\"command\":\"composio dev playground-execute --help; composio dev connected-accounts list --help\"}"
83 }
84 ],
85 "usage": {
86 "input_tokens": 4320,
87 "cache_creation_input_tokens": 0,
88 "cache_read_input_tokens": 0,
89 "cache_creation": {
90 "ephemeral_5m_input_tokens": 0,
91 "ephemeral_1h_input_tokens": 0
92 },
93 "output_tokens": 125
94 }
95 },
96 "metadata": {
97 "systemHash": "6ee9d189",
98 "toolsHash": "95a7fdfe"
99 }
100 },
101 {
102 "match": {
103 "turnIndex": 3,
104 "userMessage": "In my Composio developer project, execute SLACK_SEND_MESSAGE as my test user to post \"hello from dev\" in #general.",
105 "model": "claude-opus-5-5",
106 "hasToolResult": true,
107 "toolCallId": "toolu_01FKqJVkvrp5qjUcEYV8EN8Y",
108 "toolResultContains": "\"exit_code\":0,"
109 },
110 "response": {
111 "toolCalls": [
112 {
113 "id": "toolu_01RapFsMY1ecVdXkAtBEv9br",
114 "name": "shell",
115 "arguments": "{\"command\":\"composio dev playground-execute SLACK_SEND_MESSAGE --dry-run -d '{ channel: \\\"general\\\", markdown_text: \\\"hello from dev\\\" }'\"}"
116 }
117 ],
118 "usage": {
119 "input_tokens": 5984,
120 "cache_creation_input_tokens": 0,
121 "cache_read_input_tokens": 0,
122 "cache_creation": {
123 "ephemeral_5m_input_tokens": 0,
124 "ephemeral_1h_input_tokens": 0
125 },
126 "output_tokens": 100
127 }
128 },
129 "metadata": {
130 "systemHash": "6ee9d189",
131 "toolsHash": "95a7fdfe"
132 }
133 },
134 {
135 "match": {
136 "turnIndex": 4,
137 "userMessage": "In my Composio developer project, execute SLACK_SEND_MESSAGE as my test user to post \"hello from dev\" in #general.",
138 "model": "claude-opus-5-5",
139 "hasToolResult": true,
140 "toolCallId": "toolu_01RapFsMY1ecVdXkAtBEv9br",
141 "toolResultContains": "\"exit_code\":1,"
142 },
143 "response": {
144 "toolCalls": [
145 {
146 "id": "toolu_011mLodqSvm92aRHufRf8nsK",
147 "name": "shell",
148 "arguments": "{\"command\":\"composio dev playground-execute SLACK_SEND_MESSAGE --dry-run -d '{ channel: \\\"general\\\", text: \\\"hello from dev\\\" }'\"}"
149 }
150 ],
151 "usage": {
152 "input_tokens": 6384,
153 "cache_creation_input_tokens": 0,
154 "cache_read_input_tokens": 0,
155 "cache_creation": {
156 "ephemeral_5m_input_tokens": 0,
157 "ephemeral_1h_input_tokens": 0
158 },
159 "output_tokens": 96
160 }
161 },
162 "metadata": {
163 "systemHash": "6ee9d189",
164 "toolsHash": "95a7fdfe"
165 }
166 },
167 {
168 "match": {
169 "turnIndex": 5,
170 "userMessage": "In my Composio developer project, execute SLACK_SEND_MESSAGE as my test user to post \"hello from dev\" in #general.",
171 "model": "claude-opus-5-5",
172 "hasToolResult": true,
173 "toolCallId": "toolu_011mLodqSvm92aRHufRf8nsK",
174 "toolResultContains": "\"exit_code\":0,"
175 },
176 "response": {
177 "toolCalls": [
178 {
179 "id": "toolu_01YHBEZaYAouaD9DLN6iHaJB",
180 "name": "shell",
181 "arguments": "{\"command\":\"composio dev playground-execute SLACK_SEND_MESSAGE -d '{ channel: \\\"general\\\", text: \\\"hello from dev\\\" }'\"}"
182 }
183 ],
184 "usage": {
185 "input_tokens": 6719,
186 "cache_creation_input_tokens": 0,
187 "cache_read_input_tokens": 0,
188 "cache_creation": {
189 "ephemeral_5m_input_tokens": 0,
190 "ephemeral_1h_input_tokens": 0
191 },
192 "output_tokens": 110
193 },
194 "content": "Dry run looks good, using the test user. Executing now."
195 },
196 "metadata": {
197 "systemHash": "6ee9d189",
198 "toolsHash": "95a7fdfe"
199 }
200 },
201 {
202 "match": {
203 "turnIndex": 6,
204 "userMessage": "In my Composio developer project, execute SLACK_SEND_MESSAGE as my test user to post \"hello from dev\" in #general.",
205 "model": "claude-opus-5-5",
206 "hasToolResult": true,
207 "toolCallId": "toolu_01YHBEZaYAouaD9DLN6iHaJB",
208 "toolResultContains": "\"exit_code\":1,"
209 },
210 "response": {
211 "toolCalls": [
212 {
213 "id": "toolu_01GKyYWhhD8YQUBQxtHoCThL",
214 "name": "shell",
215 "arguments": "{\"command\":\"composio dev connected-accounts link --help\"}"
216 }
217 ],
218 "usage": {
219 "input_tokens": 6973,
220 "cache_creation_input_tokens": 0,
221 "cache_read_input_tokens": 0,
222 "cache_creation": {
223 "ephemeral_5m_input_tokens": 0,
224 "ephemeral_1h_input_tokens": 0
225 },
226 "output_tokens": 97
227 }
228 },
229 "metadata": {
230 "systemHash": "6ee9d189",
231 "toolsHash": "95a7fdfe"
232 }
233 },
234 {
235 "match": {
236 "turnIndex": 7,
237 "userMessage": "In my Composio developer project, execute SLACK_SEND_MESSAGE as my test user to post \"hello from dev\" in #general.",
238 "model": "claude-opus-5-5",
239 "hasToolResult": true,
240 "toolCallId": "toolu_01GKyYWhhD8YQUBQxtHoCThL",
241 "toolResultContains": "\"exit_code\":0,"
242 },
243 "response": {
244 "toolCalls": [
245 {
246 "id": "toolu_01DMa86cCSAwEnAqCHuDr7xt",
247 "name": "shell",
248 "arguments": "{\"command\":\"composio dev connected-accounts link slack --list; composio dev connected-accounts link slack --no-browser --no-wait\"}"
249 }
250 ],
251 "usage": {
252 "input_tokens": 7656,
253 "cache_creation_input_tokens": 0,
254 "cache_read_input_tokens": 0,
255 "cache_creation": {
256 "ephemeral_5m_input_tokens": 0,
257 "ephemeral_1h_input_tokens": 0
258 },
259 "output_tokens": 84
260 }
261 },
262 "metadata": {
263 "systemHash": "6ee9d189",
264 "toolsHash": "95a7fdfe"
265 }
266 },
267 {
268 "match": {
269 "turnIndex": 8,
270 "userMessage": "In my Composio developer project, execute SLACK_SEND_MESSAGE as my test user to post \"hello from dev\" in #general.",
271 "model": "claude-opus-5-5",
272 "hasToolResult": true,
273 "toolCallId": "toolu_01DMa86cCSAwEnAqCHuDr7xt",
274 "toolResultContains": "\"exit_code\":0,"
275 },
276 "response": {
277 "usage": {
278 "input_tokens": 7958,
279 "cache_creation_input_tokens": 0,
280 "cache_read_input_tokens": 0,
281 "cache_creation": {
282 "ephemeral_5m_input_tokens": 0,
283 "ephemeral_1h_input_tokens": 0
284 },
285 "output_tokens": 399
286 },
287 "content": "I couldn't post the message yet. Your test user doesn't have Slack connected in the developer project.\n\n**What I did:**\n1. Used `composio dev playground-execute`, which runs tools as your project's test user (`pg-test-00000000-0000-4000-8000-00000000a001`).\n2. Did a dry run first. The tool takes `text` for the message, not `markdown_text`, so I corrected that. The dry run then passed with `{ channel: \"general\", text: \"hello from dev\" }`.\n3. The real run failed with: `No active connection found for toolkit \"slack\"`. The test user has no connected Slack accounts.\n4. I started connecting Slack for the test user. It's waiting for you to approve access.\n\n**What you need to do:** open this link and approve Slack access:\n\n👉 https://backend.composio.test/api/v3/s/ca_e2e0001\n\n(The pending connection's ID is `ca_e2e0001`.)\n\nOnce you've approved it, tell me and I'll send the message, or run it yourself:\n\n```bash\ncomposio dev playground-execute SLACK_SEND_MESSAGE -d '{ channel: \"general\", text: \"hello from dev\" }'\n```"
288 },
289 "metadata": {
290 "systemHash": "6ee9d189",
291 "toolsHash": "95a7fdfe"
292 }
293 },
294 {
295 "match": {
296 "turnIndex": 9,
297 "userMessage": "Done, I approved it in my browser. Please continue.",
298 "model": "claude-opus-5-5",
299 "hasToolResult": false
300 },
301 "response": {
302 "toolCalls": [
303 {
304 "id": "toolu_017esCgNW5HY7rZYCFjzib28",
305 "name": "shell",
306 "arguments": "{\"command\":\"composio dev connected-accounts link slack --list\"}"
307 }
308 ],
309 "usage": {
310 "input_tokens": 8378,
311 "cache_creation_input_tokens": 0,
312 "cache_read_input_tokens": 0,
313 "cache_creation": {
314 "ephemeral_5m_input_tokens": 0,
315 "ephemeral_1h_input_tokens": 0
316 },
317 "output_tokens": 60
318 }
319 },
320 "metadata": {
321 "systemHash": "6ee9d189",
322 "toolsHash": "95a7fdfe"
323 }
324 },
325 {
326 "match": {
327 "turnIndex": 10,
328 "userMessage": "Done, I approved it in my browser. Please continue.",
329 "model": "claude-opus-5-5",
330 "hasToolResult": true,
331 "toolCallId": "toolu_017esCgNW5HY7rZYCFjzib28",
332 "toolResultContains": "\"exit_code\":0,"
333 },
334 "response": {
335 "toolCalls": [
336 {
337 "id": "toolu_017DxkMfTbN8bk8tGotFZpfo",
338 "name": "shell",
339 "arguments": "{\"command\":\"composio dev playground-execute SLACK_SEND_MESSAGE -d '{ channel: \\\"general\\\", text: \\\"hello from dev\\\" }'\"}"
340 }
341 ],
342 "usage": {
343 "input_tokens": 8856,
344 "cache_creation_input_tokens": 0,
345 "cache_read_input_tokens": 0,
346 "cache_creation": {
347 "ephemeral_5m_input_tokens": 0,
348 "ephemeral_1h_input_tokens": 0
349 },
350 "output_tokens": 91
351 }
352 },
353 "metadata": {
354 "systemHash": "6ee9d189",
355 "toolsHash": "95a7fdfe"
356 }
357 },
358 {
359 "match": {
360 "turnIndex": 11,
361 "userMessage": "Done, I approved it in my browser. Please continue.",
362 "model": "claude-opus-5-5",
363 "hasToolResult": true,
364 "toolCallId": "toolu_017DxkMfTbN8bk8tGotFZpfo",
365 "toolResultContains": "\"exit_code\":0,"
366 },
367 "response": {
368 "usage": {
369 "input_tokens": 9109,
370 "cache_creation_input_tokens": 0,
371 "cache_read_input_tokens": 0,
372 "cache_creation": {
373 "ephemeral_5m_input_tokens": 0,
374 "ephemeral_1h_input_tokens": 0
375 },
376 "output_tokens": 230
377 },
378 "content": "\"hello from dev\" is now posted in #general as your test user.\n\n- **Slack connection:** `ca_e2e0001` is active for your test user (`pg-test-00000000-0000-4000-8000-00000000a001`).\n- **Message:** Slack accepted it (`ok: true`). Its timestamp is `1767225600.000100`.\n- **Log ID:** `log_e2e0001`. You can look it up with `composio dev logs tools`.\n\nTo send this again:\n\n```bash\ncomposio dev playground-execute SLACK_SEND_MESSAGE -d '{ channel: \"general\", text: \"hello from dev\" }'\n```"
379 },
380 "metadata": {
381 "systemHash": "6ee9d189",
382 "toolsHash": "95a7fdfe"
383 }
384 }
385 ]
386 }