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 162 lines 6.72 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": "I am building an app on Composio. In my developer project, list the auth configs, then 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_01EeMhtrZbPm6vQsK7eQygXq",
15 "name": "shell",
16 "arguments": "{\"command\":\"cat /skills/composio-cli/references/composio-dev.md\"}"
17 }
18 ],
19 "usage": {
20 "input_tokens": 2689,
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": 94
28 }
29 },
30 "metadata": {
31 "systemHash": "6ee9d189",
32 "toolsHash": "95a7fdfe"
33 }
34 },
35 {
36 "match": {
37 "turnIndex": 1,
38 "userMessage": "I am building an app on Composio. In my developer project, list the auth configs, then 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_01EeMhtrZbPm6vQsK7eQygXq",
42 "toolResultContains": "\"exit_code\":0,"
43 },
44 "response": {
45 "toolCalls": [
46 {
47 "id": "toolu_01CziAJ2Rd7jxguoAjDdhAb8",
48 "name": "shell",
49 "arguments": "{\"command\":\"composio dev auth-configs list; echo ---; composio dev connected-accounts list; echo ---; composio dev --help\"}"
50 }
51 ],
52 "usage": {
53 "input_tokens": 3591,
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": 84
61 }
62 },
63 "metadata": {
64 "systemHash": "6ee9d189",
65 "toolsHash": "95a7fdfe"
66 }
67 },
68 {
69 "match": {
70 "turnIndex": 2,
71 "userMessage": "I am building an app on Composio. In my developer project, list the auth configs, then 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_01CziAJ2Rd7jxguoAjDdhAb8",
75 "toolResultContains": "\"exit_code\":0,"
76 },
77 "response": {
78 "toolCalls": [
79 {
80 "id": "toolu_01YD8N3UU1CDVH3xSXpGNTAL",
81 "name": "shell",
82 "arguments": "{\"command\":\"composio dev playground-execute --help; composio dev playground-execute SLACK_SEND_MESSAGE --get-schema\"}"
83 }
84 ],
85 "usage": {
86 "input_tokens": 4935,
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": 86
94 }
95 },
96 "metadata": {
97 "systemHash": "6ee9d189",
98 "toolsHash": "95a7fdfe"
99 }
100 },
101 {
102 "match": {
103 "turnIndex": 3,
104 "userMessage": "I am building an app on Composio. In my developer project, list the auth configs, then 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_01YD8N3UU1CDVH3xSXpGNTAL",
108 "toolResultContains": "\"exit_code\":0,"
109 },
110 "response": {
111 "toolCalls": [
112 {
113 "id": "toolu_013GTDHe6gGd2mGJ56sgpun9",
114 "name": "shell",
115 "arguments": "{\"command\":\"composio dev playground-execute SLACK_SEND_MESSAGE -d '{ \\\"channel\\\": \\\"general\\\", \\\"text\\\": \\\"hello from dev\\\" }'\"}"
116 }
117 ],
118 "usage": {
119 "input_tokens": 6451,
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": 93
127 }
128 },
129 "metadata": {
130 "systemHash": "6ee9d189",
131 "toolsHash": "95a7fdfe"
132 }
133 },
134 {
135 "match": {
136 "turnIndex": 4,
137 "userMessage": "I am building an app on Composio. In my developer project, list the auth configs, then 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_013GTDHe6gGd2mGJ56sgpun9",
141 "toolResultContains": "\"exit_code\":0,"
142 },
143 "response": {
144 "usage": {
145 "input_tokens": 6706,
146 "cache_creation_input_tokens": 0,
147 "cache_read_input_tokens": 0,
148 "cache_creation": {
149 "ephemeral_5m_input_tokens": 0,
150 "ephemeral_1h_input_tokens": 0
151 },
152 "output_tokens": 576
153 },
154 "content": "I listed your project's auth configs and posted \"hello from dev\" to #general as your test user.\n\n**Auth configs** (`composio dev auth-configs list`): all three are Composio-managed, use OAuth2 and are enabled.\n\n| ID | Name | Toolkit | Connections |\n|---|---|---|---|\n| `ac_e2e0001` | slack-developer | slack | 1 |\n| `ac_e2e0002` | github-developer | github | 0 |\n| `ac_e2e0003` | gmail-developer | gmail | 0 |\n\n**Sending the message:** Your project has one connected account, an active Slack account (`ca_e2e0001`, word_id `slack_e2e_0001`) for test user `pg-test-00000000-0000-4000-8000-00000000a001`, using `slack-developer`. I checked the tool's inputs (`channel` and `text`), then ran:\n\n```bash\ncomposio dev playground-execute SLACK_SEND_MESSAGE -d '{ \"channel\": \"general\", \"text\": \"hello from dev\" }'\n```\n\nSlack returned `ok: true`. The message timestamp is `1767225600.000100` and the log ID is `log_e2e0001`.\n\nI didn't pass `--user-id`, so the command used the default test user. The output didn't say which user that was, but the project's only Slack connection belongs to the test user above, so that's the one that posted. To pick the user explicitly, add `--user-id <id>`. You can see the run with `composio dev logs tools`.\n\nGitHub and Gmail have no connected accounts yet. Before you test those tools, connect an account with `composio dev connected-accounts link`."
155 },
156 "metadata": {
157 "systemHash": "6ee9d189",
158 "toolsHash": "95a7fdfe"
159 }
160 }
161 ]
162 }