Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
| 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": "Use a single `composio run` inline script to send \"build passed\" to #general on Slack and print the timestamp of the sent message.", |
| 8 | "model": "claude-opus-5-5", |
| 9 | "hasToolResult": false |
| 10 | }, |
| 11 | "response": { |
| 12 | "toolCalls": [ |
| 13 | { |
| 14 | "id": "toolu_01XyE4ywTvLamSYfRXUJdJuq", |
| 15 | "name": "shell", |
| 16 | "arguments": "{\"command\":\"composio execute SLACK_SEND_MESSAGE --get-schema 2>&1 | head -50\"}" |
| 17 | } |
| 18 | ], |
| 19 | "usage": { |
| 20 | "input_tokens": 2670, |
| 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": 195 |
| 28 | }, |
| 29 | "content": "I'll check the Slack tool's schema first so the script uses the right arguments." |
| 30 | }, |
| 31 | "metadata": { |
| 32 | "systemHash": "6ee9d189", |
| 33 | "toolsHash": "95a7fdfe" |
| 34 | } |
| 35 | }, |
| 36 | { |
| 37 | "match": { |
| 38 | "turnIndex": 1, |
| 39 | "userMessage": "Use a single `composio run` inline script to send \"build passed\" to #general on Slack and print the timestamp of the sent message.", |
| 40 | "model": "claude-opus-5-5", |
| 41 | "hasToolResult": true, |
| 42 | "toolCallId": "toolu_01XyE4ywTvLamSYfRXUJdJuq", |
| 43 | "toolResultContains": "\"exit_code\":0," |
| 44 | }, |
| 45 | "response": { |
| 46 | "toolCalls": [ |
| 47 | { |
| 48 | "id": "toolu_01Aif6hvKXTrN3oVJXyXcvKJ", |
| 49 | "name": "shell", |
| 50 | "arguments": "{\"command\":\"composio run '\\n const res = await execute(\\\"SLACK_SEND_MESSAGE\\\", { channel: \\\"#general\\\", text: \\\"build passed\\\" });\\n const d = res.data ?? {};\\n const ts = d.ts ?? d.message?.ts ?? d.response_data?.ts;\\n if (!ts) { console.log(\\\"No ts found; full response:\\\", JSON.stringify(res, null, 2)); }\\n else console.log(\\\"Message timestamp:\\\", ts);\\n' 2>&1\"}" |
| 51 | } |
| 52 | ], |
| 53 | "usage": { |
| 54 | "input_tokens": 3159, |
| 55 | "cache_creation_input_tokens": 0, |
| 56 | "cache_read_input_tokens": 0, |
| 57 | "cache_creation": { |
| 58 | "ephemeral_5m_input_tokens": 0, |
| 59 | "ephemeral_1h_input_tokens": 0 |
| 60 | }, |
| 61 | "output_tokens": 200 |
| 62 | } |
| 63 | }, |
| 64 | "metadata": { |
| 65 | "systemHash": "6ee9d189", |
| 66 | "toolsHash": "95a7fdfe" |
| 67 | } |
| 68 | }, |
| 69 | { |
| 70 | "match": { |
| 71 | "turnIndex": 2, |
| 72 | "userMessage": "Use a single `composio run` inline script to send \"build passed\" to #general on Slack and print the timestamp of the sent message.", |
| 73 | "model": "claude-opus-5-5", |
| 74 | "hasToolResult": true, |
| 75 | "toolCallId": "toolu_01Aif6hvKXTrN3oVJXyXcvKJ", |
| 76 | "toolResultContains": "\"exit_code\":0," |
| 77 | }, |
| 78 | "response": { |
| 79 | "usage": { |
| 80 | "input_tokens": 3444, |
| 81 | "cache_creation_input_tokens": 0, |
| 82 | "cache_read_input_tokens": 0, |
| 83 | "cache_creation": { |
| 84 | "ephemeral_5m_input_tokens": 0, |
| 85 | "ephemeral_1h_input_tokens": 0 |
| 86 | }, |
| 87 | "output_tokens": 322 |
| 88 | }, |
| 89 | "content": "I sent \"build passed\" to #general on Slack with one `composio run` script.\n\n**Timestamp of the sent message:** `1767225600.000100`\n\nThe command I ran:\n```bash\ncomposio run '\n const res = await execute(\"SLACK_SEND_MESSAGE\", { channel: \"#general\", text: \"build passed\" });\n const d = res.data ?? {};\n const ts = d.ts ?? d.message?.ts ?? d.response_data?.ts;\n if (!ts) { console.log(\"No ts found; full response:\", JSON.stringify(res, null, 2)); }\n else console.log(\"Message timestamp:\", ts);\n'\n```\n\nBefore running it, I checked the tool's inputs with `composio execute SLACK_SEND_MESSAGE --get-schema`. The only required fields are `channel` and `text`.\n\nThe script looks for the timestamp in a few places in the response, because the schema doesn't say where it is. If it doesn't find one, it prints the full response instead." |
| 90 | }, |
| 91 | "metadata": { |
| 92 | "systemHash": "6ee9d189", |
| 93 | "toolsHash": "95a7fdfe" |
| 94 | } |
| 95 | } |
| 96 | ] |
| 97 | } |