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

next
json 95 lines 10.4 KB
Raw
1 {
2 "journey": "developer-auth-configs-and-execute",
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": "I am building an app on Composio. In my developer project, list the auth configs, then 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": "`composio dev auth-configs list` ran and exited 0",
20 "ok": true
21 },
22 {
23 "name": "the auth configs were read from the developer project",
24 "ok": true
25 },
26 {
27 "name": "the tool ran once on the developer project as the global test user",
28 "ok": false,
29 "seen": "[]"
30 },
31 {
32 "name": "it ran through `composio dev playground-execute`",
33 "ok": false
34 },
35 {
36 "name": "nothing was executed or linked on the consumer project",
37 "ok": false
38 }
39 ],
40 "commands": [
41 {
42 "command": "cat /skills/composio-cli/references/composio-dev.md 2>/dev/null || echo \"NOT_FOUND\"",
43 "exitCode": 0,
44 "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",
45 "stderr": ""
46 },
47 {
48 "command": "composio whoami",
49 "exitCode": 0,
50 "stdout": "{\"account_type\":\"human\",\"email\":\"dev@acme-e2e.test\",\"current_org_name\":\"Acme E2E\",\"enhanced_controls_enabled\":false}\n",
51 "stderr": ""
52 },
53 {
54 "command": "composio dev auth-configs list",
55 "exitCode": 0,
56 "stdout": "[\n {\n \"id\": \"ac_e2e0001\",\n \"name\": \"slack-developer\",\n \"toolkit_slug\": \"slack\",\n \"auth_scheme\": \"OAUTH2\",\n \"type\": \"default\",\n \"status\": \"ENABLED\",\n \"no_of_connections\": 1,\n \"is_composio_managed\": true\n },\n {\n \"id\": \"ac_e2e0002\",\n \"name\": \"github-developer\",\n \"toolkit_slug\": \"github\",\n \"auth_scheme\": \"OAUTH2\",\n \"type\": \"default\",\n \"status\": \"ENABLED\",\n \"no_of_connections\": 0,\n \"is_composio_managed\": true\n },\n {\n \"id\": \"ac_e2e0003\",\n \"name\": \"gmail-developer\",\n \"toolkit_slug\": \"gmail\",\n \"auth_scheme\": \"OAUTH2\",\n \"type\": \"default\",\n \"status\": \"ENABLED\",\n \"no_of_connections\": 0,\n \"is_composio_managed\": true\n }\n]\n",
57 "stderr": ""
58 },
59 {
60 "command": "composio execute --help 2>&1 | head -80",
61 "exitCode": 0,
62 "stdout": "DESCRIPTION\n Execute a tool by slug. Validates inputs against cached schemas and checks connections\nautomatically — just try it and it will tell you what to fix.\n\nUSAGE\n composio 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\nGLOBAL FLAGS\n --help, -h Show help information\n --version, -v Show version information\n\nEXAMPLES\n # Send an email\n composio 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 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 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 execute GMAIL_SEND_EMAIL --get-schema\n\n # Read arguments from a file\n composio execute GITHUB_CREATE_ISSUE -d @issue.json\n\n # Execute multiple tools concurrently\n composio execute -p GMAIL_SEND_EMAIL -d '{ recipient_email: \"a@b.com\" }' GITHUB_CREATE_AN_ISSUE -d '{ owner: \"acme\", repo: \"app\", title: \"Bug\" }'\n",
63 "stderr": ""
64 },
65 {
66 "command": "composio execute SLACK_SEND_MESSAGE --get-schema",
67 "exitCode": 0,
68 "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",
69 "stderr": ""
70 },
71 {
72 "command": "composio dev connected-accounts list",
73 "exitCode": 0,
74 "stdout": "[\n {\n \"id\": \"ca_e2e0001\",\n \"alias\": null,\n \"word_id\": \"slack_e2e_0001\",\n \"user_id\": \"pg-test-00000000-0000-4000-8000-00000000a001\",\n \"toolkit_slug\": \"slack\",\n \"auth_config_id\": \"ac_e2e0001\",\n \"auth_scheme\": \"OAUTH2\",\n \"status\": \"ACTIVE\",\n \"created_at\": \"2026-01-01T00:00:00.000Z\"\n }\n]\n",
75 "stderr": ""
76 },
77 {
78 "command": "composio execute SLACK_SEND_MESSAGE --account slack_e2e_0001 -d '{ channel: \"general\", text: \"hello from dev\" }'",
79 "exitCode": 1,
80 "stdout": "",
81 "stderr": "No connected account matched \"slack_e2e_0001\" for toolkit \"slack\". No active connected accounts were found for that toolkit.\n"
82 },
83 {
84 "command": "composio execute SLACK_SEND_MESSAGE -d '{ channel: \"general\", text: \"hello from dev\" }'",
85 "exitCode": 1,
86 "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",
87 "stderr": ""
88 }
89 ],
90 "messages": [
91 "The `--account` selector didn't match. I'll retry without it and let the CLI choose the default Slack connection.",
92 "I listed the auth configs, but I did not post the Slack message. The CLI can't use the test user's Slack connection.\n\n**Auth configs in your developer project (Acme E2E):**\n\n| Name | ID | Toolkit | Auth | Status | Connections |\n|---|---|---|---|---|---|\n| slack-developer | ac_e2e0001 | slack | OAUTH2 | ENABLED | 1 |\n| github-developer | ac_e2e0002 | github | OAUTH2 | ENABLED | 0 |\n| gmail-developer | ac_e2e0003 | gmail | OAUTH2 | ENABLED | 0 |\n\n**Sending the message:**\n\n- `SLACK_SEND_MESSAGE` takes `channel` and `text`, so I sent `{ channel: \"general\", text: \"hello from dev\" }`.\n- The developer project has one active Slack connected account (`ca_e2e0001`, user `pg-test-00000000-0000-4000-8000-00000000a001`). That is probably your test user.\n- `composio execute --account slack_e2e_0001` failed: no active Slack connected account matched.\n- Running without `--account` failed with `ToolRouterV2_NoActiveConnection`: no active Slack connection for the CLI's own user, `dev@acme-e2e.test`.\n\nThe top-level `execute` command only sees connections owned by the CLI's signed-in user. It cannot act as an arbitrary end user from your developer project.\n\nTo post as the test user, you can:\n1. Run `composio link slack` to connect Slack for `dev@acme-e2e.test`, then retry. This posts as that account, not the test user. It needs a browser OAuth step, so I haven't started it without your go-ahead.\n2. Call the Slack send through your app's own Composio SDK, using the test user's ID (`pg-test-00000000-0000-4000-8000-00000000a001`) so it resolves to `ca_e2e0001`.\n\nWhich would you like?"
93 ],
94 "replies": []
95 }