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, 04:45 UTC
| 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": "Use a single `composio run` inline script", |
| 7 | "hasToolResult": false, |
| 8 | "turnIndex": 0 |
| 9 | }, |
| 10 | "response": { |
| 11 | "toolCalls": [ |
| 12 | { |
| 13 | "id": "call_run", |
| 14 | "name": "shell", |
| 15 | "arguments": { |
| 16 | "command": "composio run 'const sent = await execute(\"SLACK_SEND_MESSAGE\", { channel: \"general\", text: \"build passed\" }); console.log(sent.data.ts);'" |
| 17 | } |
| 18 | } |
| 19 | ] |
| 20 | } |
| 21 | }, |
| 22 | { |
| 23 | "match": { |
| 24 | "toolCallId": "call_run", |
| 25 | "toolResultContains": "1767225600.000100" |
| 26 | }, |
| 27 | "response": { |
| 28 | "content": "Sent \"build passed\" to #general; timestamp 1767225600.000100." |
| 29 | } |
| 30 | } |
| 31 | ] |
| 32 | } |