@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 104 lines 15.8 KB
Raw
1 {
2 "journey": "developer-execute-unconnected",
3 "provider": "anthropic",
4 "model": "claude-opus-5-5",
5 "recordedOn": "2026-11-11",
6 "revision": "82e851aad",
7 "cliPackageModified": true,
8 "skillSha256": "72d9d691700d76a4b417df3888b29a74c7cf8b01d42de55e3e6fcc92f8006e97",
9 "prompt": "In my Composio developer project, execute SLACK_SEND_MESSAGE as my test user to post \"hello from dev\" in #general.",
10 "reachedGoal": true,
11 "stop": "finished",
12 "modelTurns": 12,
13 "checks": [
14 {
15 "name": "the model finished by itself, within the turn limit",
16 "ok": true
17 },
18 {
19 "name": "the tool ran once on the developer project as the global test user",
20 "ok": true
21 },
22 {
23 "name": "the account was linked on the developer project for the test user",
24 "ok": true
25 },
26 {
27 "name": "the last `composio dev playground-execute` exited 0",
28 "ok": true
29 }
30 ],
31 "commands": [
32 {
33 "command": "cat /skills/composio-cli/references/composio-dev.md",
34 "exitCode": 0,
35 "stdout": "# Composio Dev\n\nLoad this file only when the user explicitly needs developer-project workflows. Do not lead with `composio dev` for ordinary top-level CLI usage.\n\n## Use `dev init` To Bind A Directory\n\nUse `composio dev init` when the user wants to attach the current directory to a developer project.\n\nIf later commands complain about missing developer project context, come back to `dev init`.\n\n```bash\ncomposio dev init -y --no-browser\n```\n\n## Inspect Toolkits And Versions\n\nUse toolkit commands to inspect developer-scoped capabilities:\n\n```bash\ncomposio dev toolkits list\ncomposio dev toolkits info github\ncomposio dev toolkits search \"email\"\ncomposio dev toolkits version github\n```\n\n## Manage Auth Configs\n\nUse auth-config commands when the user is configuring developer-project authentication behavior:\n\n```bash\ncomposio dev auth-configs list\n```\n\n## Manage Connected Accounts\n\nUse developer connected-account commands when the user is working with developer-project users or auth-config-specific flows.\n\nTop-level `composio link` is consumer-only. Use `dev connected-accounts link` for developer-project flows.\n\n```bash\ncomposio dev connected-accounts list\n```\n\n## Work With Triggers\n\nUse trigger commands when the user is creating, inspecting, or listening to developer-project triggers.\n\n```bash\ncomposio dev triggers list\ncomposio dev triggers info AGENT_MAIL_NEW_EMAIL_TRIGGER\n```\n\n## Inspect Logs\n\nUse logs when the user is debugging tool executions or trigger deliveries inside a developer project.\n\n```bash\ncomposio dev logs tools\ncomposio dev logs triggers\n```\n\n## Switch Or Inspect Org And Project Context\n\nUse these commands when the user needs to confirm or change the active developer scope:\n\nIf the user only wants to connect and execute tools as an end user, return to the top-level workflow instead of staying in `composio dev`.\n\n```bash\ncomposio orgs list\ncomposio dev projects list\n```\n",
36 "stderr": ""
37 },
38 {
39 "command": "composio whoami; composio dev --help; composio dev connected-accounts list --toolkits slack 2>&1 || composio dev connected-accounts list",
40 "exitCode": 0,
41 "stdout": "{\"account_type\":\"human\",\"email\":\"dev@acme-e2e.test\",\"current_org_name\":\"Acme E2E\",\"enhanced_controls_enabled\":false}\nDESCRIPTION\n Developer workflows: init, playground execution, logs, projects, toolkits, accounts, and triggers.\n\nUSAGE\n composio dev <subcommand> [flags]\n\nFLAGS\n --mode choice Set developer mode on or off. (choices: on, off)\n --user-id string User id to act as or filter by. Without it, commands that act as a user use the test user id of this directory (for its own project), then the global one, and name it on stderr.\n --project-name string Developer project to use instead of the one configured in this directory\n\nINHERITED FLAGS\n --log-level choice Define log level (choices: All, Fatal, Error, Warn, Info, Debug, Trace, None)\n\nGLOBAL FLAGS\n --help, -h Show help information\n --version, -v Show version information\n\nSUBCOMMANDS\n init Initialize this directory with a developer project.\n playground-execute Test tool executions against playground users using your developer project auth configs.\n listen Listen to realtime trigger events for your developer project and optionally forward them into your local dev environment.\n logs Inspect trigger and tool execution logs.\n toolkits Discover and inspect Composio toolkits.\n auth-configs View and manage Composio auth configs.\n connected-accounts View and manage Composio connected accounts.\n triggers Inspect and subscribe to trigger events.\n projects Inspect developer projects and project context helpers.\nEXAMPLES\n composio dev --mode on\n composio dev --mode off\n",
42 "stderr": ""
43 },
44 {
45 "command": "composio dev playground-execute --help; composio dev connected-accounts list --help",
46 "exitCode": 0,
47 "stdout": "DESCRIPTION\n Test tool executions against playground users using your developer project auth configs.\nUses --user-id when provided, otherwise falls back to your local or global playground test user id.\nArguments are validated against cached tool schemas in `~/.composio/tool_definitions/` when available.\n\nUSAGE\n composio dev playground-execute [flags] <slug> [<additional-slugs...>]\n\nARGUMENTS\n slug string Tool slug (e.g. \"GITHUB_CREATE_ISSUE\")\n additional-slugs... string Additional tool slugs for --parallel (optional)\n\nFLAGS\n --parallel, -p Execute repeated tool slug/data groups concurrently\n --data, -d string JSON arguments, @file, or - for stdin\n --file string Inject a local file path into the single file_uploadable input\n --account string Connected account selector for the inferred toolkit. Matches alias, word_id, or connected account id.\n --get-schema Fetch and print the CLI-facing input schema without executing\n --dry-run Validate and preview the tool call without executing\n --skip-connection-check Skip the connected-account check\n --skip-tool-params-check Skip input validation against cached schema\n --skip-checks Skip both connection and input validation checks\n\nINHERITED FLAGS\n --log-level choice Define log level (choices: All, Fatal, Error, Warn, Info, Debug, Trace, None)\n --user-id string User id to act as or filter by. Without it, commands that act as a user use the test user id of this directory (for its own project), then the global one, and name it on stderr.\n --project-name string Developer project to use instead of the one configured in this directory\n\nGLOBAL FLAGS\n --help, -h Show help information\n --version, -v Show version information\n\nEXAMPLES\n # Send an email\n composio dev playground-execute GMAIL_SEND_EMAIL -d '{ recipient_email: \"a@b.com\", subject: \"Hello\", body: \"World\" }'\n\n # Create a GitHub issue with a named account\n composio dev playground-execute GITHUB_CREATE_ISSUE --account work -d '{ owner: \"acme\", repo: \"app\", title: \"Bug report\", body: \"Steps to reproduce...\" }'\n\n # Preview what a tool call would send without executing\n composio dev playground-execute SLACK_SEND_MESSAGE --dry-run -d '{ channel: \"general\", markdown_text: \"Hello team\" }'\n\n # Print the tool input schema as JSON (--help shows command options)\n composio dev playground-execute GMAIL_SEND_EMAIL --get-schema\n\n # Read arguments from a file\n composio dev playground-execute GITHUB_CREATE_ISSUE -d @issue.json\n\n # Execute multiple tools concurrently\n composio dev playground-execute -p GMAIL_SEND_EMAIL -d '{ recipient_email: \"a@b.com\" }' GITHUB_CREATE_AN_ISSUE -d '{ owner: \"acme\", repo: \"app\", title: \"Bug\" }'\nDESCRIPTION\n List connected accounts.\n\nUSAGE\n composio dev connected-accounts list [flags]\n\nFLAGS\n --toolkits string Filter by toolkit slugs, comma-separated (e.g. \"gmail\" or \"gmail,slack\")\n --status choice Filter by connection status (choices: INITIALIZING, INITIATED, ACTIVE, FAILED, EXPIRED, INACTIVE, REVOKED)\n --limit integer Number of results per page (1-1000)\n\nINHERITED FLAGS\n --log-level choice Define log level (choices: All, Fatal, Error, Warn, Info, Debug, Trace, None)\n --user-id string User id to act as or filter by. Without it, commands that act as a user use the test user id of this directory (for its own project), then the global one, and name it on stderr.\n --project-name string Developer project to use instead of the one configured in this directory\n\nGLOBAL FLAGS\n --help, -h Show help information\n --version, -v Show version information\n",
48 "stderr": ""
49 },
50 {
51 "command": "composio dev playground-execute SLACK_SEND_MESSAGE --dry-run -d '{ channel: \"general\", markdown_text: \"hello from dev\" }'",
52 "exitCode": 1,
53 "stdout": "",
54 "stderr": "\r\n💥 ToolInputValidationError • Input validation failed for SLACK_SEND_MESSAGE.\nSchema: /home/journey/.composio/tool_definitions/SLACK_SEND_MESSAGE.json\n- <root>: Unknown key \"markdown_text\". Use \"text\" instead. Allowed top-level keys: channel, text\n- text: Instance does not have required property \"text\".\nCaused by: <root>: Unknown key \"markdown_text\". Use \"text\" instead. Allowed top-level keys: channel, text\ntext: Instance does not have required property \"text\". \r\n\r\n◯\r\n╰─ composio-cli\r\n at lZe (/$bunfs/root/composio:1193:9290) \r\n \r\n\n"
55 },
56 {
57 "command": "composio dev playground-execute SLACK_SEND_MESSAGE --dry-run -d '{ channel: \"general\", text: \"hello from dev\" }'",
58 "exitCode": 0,
59 "stdout": "{\n \"successful\": true,\n \"dryRun\": true,\n \"slug\": \"SLACK_SEND_MESSAGE\",\n \"arguments\": {\n \"channel\": \"general\",\n \"text\": \"hello from dev\"\n },\n \"userId\": \"pg-test-00000000-0000-4000-8000-00000000a001\",\n \"schemaPath\": \"/home/journey/.composio/tool_definitions/SLACK_SEND_MESSAGE.json\",\n \"schemaVersion\": \"20260101_00\"\n}\n",
60 "stderr": ""
61 },
62 {
63 "command": "composio dev playground-execute SLACK_SEND_MESSAGE -d '{ channel: \"general\", text: \"hello from dev\" }'",
64 "exitCode": 1,
65 "stdout": "{\n \"successful\": false,\n \"error\": \"No active connection found for toolkit \\\"slack\\\". Run `composio dev connected-accounts link slack` (with the same `--user-id`, if you passed one), then retry.\",\n \"slug\": \"ToolRouterV2_NoActiveConnection\"\n}\n",
66 "stderr": ""
67 },
68 {
69 "command": "composio dev connected-accounts link --help",
70 "exitCode": 0,
71 "stdout": "DESCRIPTION\n Connect an external account (GitHub, Gmail, Slack, etc.) so tools can act on your behalf.\nOpens a browser for OAuth authorization and waits for confirmation.\n\nUSAGE\n composio dev connected-accounts link [flags] [<toolkit>]\n\nARGUMENTS\n toolkit string Toolkit slug to link (e.g. \"github\", \"gmail\") (optional)\n\nFLAGS\n --auth-config string Auth config ID (e.g. \"ac_...\"). Uses legacy flow (no Tool Router).\n --no-wait Do not wait for authorization; only print link info\n --no-browser Do not open the browser automatically; print the URL to open manually\n --alias string Alias to assign to the connected account. Required when creating an additional account for the same toolkit/auth config.\n --list List existing connected accounts for the toolkit instead of creating a new link\n\nINHERITED FLAGS\n --log-level choice Define log level (choices: All, Fatal, Error, Warn, Info, Debug, Trace, None)\n --user-id string User id to act as or filter by. Without it, commands that act as a user use the test user id of this directory (for its own project), then the global one, and name it on stderr.\n --project-name string Developer project to use instead of the one configured in this directory\n\nGLOBAL FLAGS\n --help, -h Show help information\n --version, -v Show version information\n\nEXAMPLES\n composio link github\n composio link gmail --alias work\n composio link github --list\n",
72 "stderr": ""
73 },
74 {
75 "command": "composio dev connected-accounts link slack --list; composio dev connected-accounts link slack --no-browser --no-wait",
76 "exitCode": 0,
77 "stdout": "{\n \"toolkit\": \"slack\",\n \"items\": [],\n \"total\": 0\n}\n{\n \"status\": \"pending\",\n \"message\": \"Complete authorization by opening the URL\",\n \"connected_account_id\": \"ca_e2e0001\",\n \"redirect_url\": \"https://backend.composio.test/api/v3/s/ca_e2e0001\",\n \"toolkit\": \"slack\",\n \"project_type\": \"DEVELOPER\"\n}\n",
78 "stderr": ""
79 },
80 {
81 "command": "composio dev connected-accounts link slack --list",
82 "exitCode": 0,
83 "stdout": "{\n \"toolkit\": \"slack\",\n \"total\": 1,\n \"items\": [\n {\n \"id\": \"ca_e2e0001\",\n \"word_id\": \"slack_e2e_0001\",\n \"alias\": null,\n \"status\": \"ACTIVE\",\n \"status_reason\": null,\n \"is_disabled\": false,\n \"user_id\": \"pg-test-00000000-0000-4000-8000-00000000a001\",\n \"toolkit\": {\n \"slug\": \"slack\"\n },\n \"auth_config\": {\n \"id\": \"ac_e2e0001\",\n \"auth_scheme\": \"OAUTH2\",\n \"is_composio_managed\": true,\n \"is_disabled\": false\n },\n \"created_at\": \"2026-01-01T00:00:00.000Z\",\n \"updated_at\": \"2026-01-01T00:00:00.000Z\",\n \"test_request_endpoint\": \"\"\n }\n ]\n}\n",
84 "stderr": ""
85 },
86 {
87 "command": "composio dev playground-execute SLACK_SEND_MESSAGE -d '{ channel: \"general\", text: \"hello from dev\" }'",
88 "exitCode": 0,
89 "stdout": "{\n \"successful\": true,\n \"data\": {\n \"ok\": true,\n \"channel\": \"general\",\n \"ts\": \"1767225600.000100\",\n \"message\": {\n \"text\": \"hello from dev\"\n }\n },\n \"error\": null,\n \"logId\": \"log_e2e0001\"\n}\n",
90 "stderr": ""
91 }
92 ],
93 "messages": [
94 "Dry run looks good, using the test user. Executing now.",
95 "I couldn't post the message yet. Your test user doesn't have Slack connected in the developer project.\n\n**What I did:**\n1. Used `composio dev playground-execute`, which runs tools as your project's test user (`pg-test-00000000-0000-4000-8000-00000000a001`).\n2. Did a dry run first. The tool takes `text` for the message, not `markdown_text`, so I corrected that. The dry run then passed with `{ channel: \"general\", text: \"hello from dev\" }`.\n3. The real run failed with: `No active connection found for toolkit \"slack\"`. The test user has no connected Slack accounts.\n4. I started connecting Slack for the test user. It's waiting for you to approve access.\n\n**What you need to do:** open this link and approve Slack access:\n\n👉 https://backend.composio.test/api/v3/s/ca_e2e0001\n\n(The pending connection's ID is `ca_e2e0001`.)\n\nOnce you've approved it, tell me and I'll send the message, or run it yourself:\n\n```bash\ncomposio dev playground-execute SLACK_SEND_MESSAGE -d '{ channel: \"general\", text: \"hello from dev\" }'\n```",
96 "\"hello from dev\" is now posted in #general as your test user.\n\n- **Slack connection:** `ca_e2e0001` is active for your test user (`pg-test-00000000-0000-4000-8000-00000000a001`).\n- **Message:** Slack accepted it (`ok: true`). Its timestamp is `1767225600.000100`.\n- **Log ID:** `log_e2e0001`. You can look it up with `composio dev logs tools`.\n\nTo send this again:\n\n```bash\ncomposio dev playground-execute SLACK_SEND_MESSAGE -d '{ channel: \"general\", text: \"hello from dev\" }'\n```"
97 ],
98 "replies": [
99 {
100 "afterModelTurn": 9,
101 "text": "Done, I approved it in my browser. Please continue."
102 }
103 ]
104 }