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 196 lines 6.13 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": "Check whether the Composio CLI on this machine is logged in. If it is not, log in.",
8 "model": "claude-opus-5-5",
9 "hasToolResult": false
10 },
11 "response": {
12 "toolCalls": [
13 {
14 "id": "toolu_01CgRnGM11DuSrQ9ict337eQ",
15 "name": "shell",
16 "arguments": "{\"command\":\"composio whoami 2>&1\"}"
17 }
18 ],
19 "usage": {
20 "input_tokens": 2659,
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": 55
28 }
29 },
30 "metadata": {
31 "systemHash": "6ee9d189",
32 "toolsHash": "95a7fdfe"
33 }
34 },
35 {
36 "match": {
37 "turnIndex": 1,
38 "userMessage": "Check whether the Composio CLI on this machine is logged in. If it is not, log in.",
39 "model": "claude-opus-5-5",
40 "hasToolResult": true,
41 "toolCallId": "toolu_01CgRnGM11DuSrQ9ict337eQ",
42 "toolResultContains": "\"exit_code\":1,"
43 },
44 "response": {
45 "toolCalls": [
46 {
47 "id": "toolu_01MyLdQ5L6dR4Q7Deb9npFid",
48 "name": "shell",
49 "arguments": "{\"command\":\"composio login --help 2>&1 | head -40\"}"
50 }
51 ],
52 "usage": {
53 "input_tokens": 2761,
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": 60
61 }
62 },
63 "metadata": {
64 "systemHash": "6ee9d189",
65 "toolsHash": "95a7fdfe"
66 }
67 },
68 {
69 "match": {
70 "turnIndex": 2,
71 "userMessage": "Check whether the Composio CLI on this machine is logged in. If it is not, log in.",
72 "model": "claude-opus-5-5",
73 "hasToolResult": true,
74 "toolCallId": "toolu_01MyLdQ5L6dR4Q7Deb9npFid",
75 "toolResultContains": "\"exit_code\":0,"
76 },
77 "response": {
78 "toolCalls": [
79 {
80 "id": "toolu_01PfGPKZQa4E1WiXuNTMxTku",
81 "name": "shell",
82 "arguments": "{\"command\":\"composio login --no-wait 2>&1\"}"
83 }
84 ],
85 "usage": {
86 "input_tokens": 3215,
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": 58
94 }
95 },
96 "metadata": {
97 "systemHash": "6ee9d189",
98 "toolsHash": "95a7fdfe"
99 }
100 },
101 {
102 "match": {
103 "turnIndex": 3,
104 "userMessage": "Check whether the Composio CLI on this machine is logged in. If it is not, log in.",
105 "model": "claude-opus-5-5",
106 "hasToolResult": true,
107 "toolCallId": "toolu_01PfGPKZQa4E1WiXuNTMxTku",
108 "toolResultContains": "\"exit_code\":0,"
109 },
110 "response": {
111 "toolCalls": [
112 {
113 "id": "toolu_01AVc8JXiG4QuyxCQi39iN5t",
114 "name": "shell",
115 "arguments": "{\"command\":\"composio login --poll 2>&1\"}"
116 }
117 ],
118 "usage": {
119 "input_tokens": 3543,
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": 120
127 },
128 "content": "Open this URL in your browser to log in:\n\n**https://dashboard.composio.test?cliKey=00000000-0000-4000-8000-000000050001**\n\nI'll wait for the login to finish."
129 },
130 "metadata": {
131 "systemHash": "6ee9d189",
132 "toolsHash": "95a7fdfe"
133 }
134 },
135 {
136 "match": {
137 "turnIndex": 4,
138 "userMessage": "Check whether the Composio CLI on this machine is logged in. If it is not, log in.",
139 "model": "claude-opus-5-5",
140 "hasToolResult": true,
141 "toolCallId": "toolu_01AVc8JXiG4QuyxCQi39iN5t",
142 "toolResultContains": "\"exit_code\":0,"
143 },
144 "response": {
145 "toolCalls": [
146 {
147 "id": "toolu_01HWpEgV3G3kShr9B9ZZNYHT",
148 "name": "shell",
149 "arguments": "{\"command\":\"composio whoami 2>&1\"}"
150 }
151 ],
152 "usage": {
153 "input_tokens": 3937,
154 "cache_creation_input_tokens": 0,
155 "cache_read_input_tokens": 0,
156 "cache_creation": {
157 "ephemeral_5m_input_tokens": 0,
158 "ephemeral_1h_input_tokens": 0
159 },
160 "output_tokens": 55
161 }
162 },
163 "metadata": {
164 "systemHash": "6ee9d189",
165 "toolsHash": "95a7fdfe"
166 }
167 },
168 {
169 "match": {
170 "turnIndex": 5,
171 "userMessage": "Check whether the Composio CLI on this machine is logged in. If it is not, log in.",
172 "model": "claude-opus-5-5",
173 "hasToolResult": true,
174 "toolCallId": "toolu_01HWpEgV3G3kShr9B9ZZNYHT",
175 "toolResultContains": "\"exit_code\":0,"
176 },
177 "response": {
178 "usage": {
179 "input_tokens": 4090,
180 "cache_creation_input_tokens": 0,
181 "cache_read_input_tokens": 0,
182 "cache_creation": {
183 "ephemeral_5m_input_tokens": 0,
184 "ephemeral_1h_input_tokens": 0
185 },
186 "output_tokens": 153
187 },
188 "content": "The Composio CLI wasn't logged in. It is now: you approved the login in your browser, and `composio whoami` confirms it.\n\n- **Account:** dev@acme-e2e.test\n- **Current organization:** Acme E2E (`ok_e2eacme00001`)\n\nYour account also belongs to **Globex E2E** (`ok_e2eglobex001`). To switch to it, run `composio orgs switch --org-id ok_e2eglobex001`."
189 },
190 "metadata": {
191 "systemHash": "6ee9d189",
192 "toolsHash": "95a7fdfe"
193 }
194 }
195 ]
196 }