@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 87 lines 12.3 KB
Raw
1 {
2 "journey": "developer-execute-unconnected",
3 "provider": "anthropic",
4 "model": "claude-haiku-5-5",
5 "recordedOn": "2026-11-11",
6 "revision": "82e851aad",
7 "cliPackageModified": false,
8 "skillSha256": "5193c95d25a111b643b6632335fdc82cde79e79608f8c9329c09d66055d8794b",
9 "prompt": "In my Composio developer project, execute SLACK_SEND_MESSAGE as my test user to post \"hello from dev\" in #general.",
10 "reachedGoal": false,
11 "stop": "finished",
12 "modelTurns": 7,
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": false,
21 "seen": "[]"
22 },
23 {
24 "name": "the account was linked on the developer project for the test user",
25 "ok": false
26 },
27 {
28 "name": "the last `composio dev playground-execute` exited 0",
29 "ok": false,
30 "seen": "[\"0 composio execute SLACK_SEND_MESSAGE --get-schema\",\"0 composio whoami\",\"0 cat /skills/composio-cli/references/composio-dev.md 2>/dev/null | head -150; echo \\\"---\\\"; composio dev --help 2>&1 | head -60\",\"0 composio dev playground-execute --help 2>&1 | head -80\",\"0 composio dev playground-execute SLACK_SEND_MESSAGE --dry-run -d '{ channel: \\\"general\\\", text: \\\"hello from dev\\\" }'\",\"1 composio dev playground-execute SLACK_SEND_MESSAGE -d '{ channel: \\\"general\\\", text: \\\"hello from dev\\\" }'\",\"0 composio dev connected-accounts list --user-id pg-test-00000000-0000-4000-8000-00000000a001 2>&1 | head -60\"]"
31 }
32 ],
33 "commands": [
34 {
35 "command": "composio execute SLACK_SEND_MESSAGE --get-schema",
36 "exitCode": 0,
37 "stdout": "{\n \"slug\": \"SLACK_SEND_MESSAGE\",\n \"version\": \"20260101_00\",\n \"schemaPath\": \"/home/journey/.composio/tool_definitions/SLACK_SEND_MESSAGE.json\",\n \"inputSchema\": {\n \"type\": \"object\",\n \"properties\": {\n \"channel\": {\n \"type\": \"string\",\n \"description\": \"Channel name or id to post to.\"\n },\n \"text\": {\n \"type\": \"string\",\n \"description\": \"Message text.\"\n }\n },\n \"required\": [\n \"channel\",\n \"text\"\n ]\n }\n}\n",
38 "stderr": ""
39 },
40 {
41 "command": "composio whoami",
42 "exitCode": 0,
43 "stdout": "{\"account_type\":\"human\",\"email\":\"dev@acme-e2e.test\",\"current_org_name\":\"Acme E2E\",\"enhanced_controls_enabled\":false}\n",
44 "stderr": ""
45 },
46 {
47 "command": "cat /skills/composio-cli/references/composio-dev.md 2>/dev/null | head -150; echo \"---\"; composio dev --help 2>&1 | head -60",
48 "exitCode": 0,
49 "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 dev orgs list\ncomposio dev projects list\n```\n---\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",
50 "stderr": ""
51 },
52 {
53 "command": "composio dev playground-execute --help 2>&1 | head -80",
54 "exitCode": 0,
55 "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\" }'\n",
56 "stderr": ""
57 },
58 {
59 "command": "composio dev playground-execute SLACK_SEND_MESSAGE --dry-run -d '{ channel: \"general\", text: \"hello from dev\" }'",
60 "exitCode": 0,
61 "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",
62 "stderr": ""
63 },
64 {
65 "command": "composio dev playground-execute SLACK_SEND_MESSAGE -d '{ channel: \"general\", text: \"hello from dev\" }'",
66 "exitCode": 1,
67 "stdout": "{\n \"successful\": false,\n \"error\": \"No active connection found for toolkit \\\"slack\\\". Run `composio link slack`, then retry.\",\n \"slug\": \"ToolRouterV2_NoActiveConnection\"\n}\n",
68 "stderr": ""
69 },
70 {
71 "command": "composio dev connected-accounts list --user-id pg-test-00000000-0000-4000-8000-00000000a001 2>&1 | head -60",
72 "exitCode": 0,
73 "stdout": "",
74 "stderr": ""
75 }
76 ],
77 "messages": [
78 "I'll check the tool's input schema and the current session first.",
79 "The schema takes `channel` and `text`. You asked for the test user, so I need to find which connected account that is before posting. I'll check the dev reference for how to list accounts.",
80 "The dev help shows `playground-execute` runs tools as a test user, and `--user-id` selects who to act as. I'll check its flags.",
81 "I'll do a dry run first to see which test user and account it would use, without posting anything.",
82 "The dry run resolved to the playground test user `pg-test-00000000-0000-4000-8000-00000000a001`. Running it for real now.",
83 "The test user has no active Slack connection. I'll check which connected accounts exist for that test user before deciding anything.",
84 "I did not post the message. The playground test user has no connected Slack account, so the call failed before reaching Slack.\n\nWhat I found:\n- **Dry run:** the request resolved to the playground test user `pg-test-00000000-0000-4000-8000-00000000a001`, with `channel: \"general\"` and `text: \"hello from dev\"`.\n- **Real run:** it failed with `No active connection found for toolkit \"slack\"`.\n- **Connected accounts:** `composio dev connected-accounts list` returns nothing for that test user.\n\nI didn't run `composio link slack`. That would connect your own account (`dev@acme-e2e.test`) through the consumer flow, not the test user, so the message would still not post as the test user.\n\nTo finish, the test user needs a Slack connection. Options:\n1. Connect Slack for the test user with `composio dev connected-accounts link` (for example with `--user-id pg-test-00000000-0000-4000-8000-00000000a001`), then I'll rerun the same command.\n2. If you meant to post as your own account instead, I can run `composio execute SLACK_SEND_MESSAGE -d '{ channel: \"general\", text: \"hello from dev\" }'` after `composio link slack` if it isn't already connected.\n\nWhich would you like?"
85 ],
86 "replies": []
87 }