@devries-cameron20 / composio Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 06:00 UTC

next
json 83 lines 2.25 KB
Raw
1 {
2 "$comment": "Hand-authored: no model produced this file. It scripts the path the composio-cli skill teaches, one fixture per model turn. After the first turn each fixture is gated on the id of the previous shell call and on a substring of what that command printed, so a CLI that answers differently leaves the next turn without a match and the strict replay fails.",
3 "fixtures": [
4 {
5 "match": {
6 "userMessage": "In my developer project, list the auth configs",
7 "hasToolResult": false,
8 "turnIndex": 0
9 },
10 "response": {
11 "toolCalls": [
12 {
13 "id": "call_reference",
14 "name": "shell",
15 "arguments": {
16 "command": "cat /skills/composio-cli/references/composio-dev.md"
17 }
18 }
19 ]
20 }
21 },
22 {
23 "match": {
24 "toolCallId": "call_reference",
25 "toolResultContains": "composio dev auth-configs list"
26 },
27 "response": {
28 "toolCalls": [
29 {
30 "id": "call_auth_configs",
31 "name": "shell",
32 "arguments": {
33 "command": "composio dev auth-configs list"
34 }
35 }
36 ]
37 }
38 },
39 {
40 "match": {
41 "toolCallId": "call_auth_configs",
42 "toolResultContains": "ac_e2e0001"
43 },
44 "response": {
45 "toolCalls": [
46 {
47 "id": "call_dev_help",
48 "name": "shell",
49 "arguments": {
50 "command": "composio dev --help"
51 }
52 }
53 ]
54 }
55 },
56 {
57 "match": {
58 "toolCallId": "call_dev_help",
59 "toolResultContains": "playground-execute"
60 },
61 "response": {
62 "toolCalls": [
63 {
64 "id": "call_playground",
65 "name": "shell",
66 "arguments": {
67 "command": "composio dev playground-execute SLACK_SEND_MESSAGE -d '{\"channel\":\"general\",\"text\":\"hello from dev\"}'"
68 }
69 }
70 ]
71 }
72 },
73 {
74 "match": {
75 "toolCallId": "call_playground",
76 "toolResultContains": "log_e2e0001"
77 },
78 "response": {
79 "content": "Listed the auth configs and posted \"hello from dev\" to #general as the test user."
80 }
81 }
82 ]
83 }