Skip to content

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

6.8 KB
Raw Blame
>




































────────────────────────────────────────────────────────────────────────────────
> # Execeute a tool, with no connected account associated
>



































────────────────────────────────────────────────────────────────────────────────
> # Execeute a tool, with no connected account associated
> composio tools execute GMAIL_CREATE_EMAIL_DRAFT \



































────────────────────────────────────────────────────────────────────────────────
> # Execeute a tool, with no connected account associated
> composio tools execute GMAIL_CREATE_EMAIL_DRAFT \
>


































────────────────────────────────────────────────────────────────────────────────
> # Execeute a tool, with no connected account associated
> composio tools execute GMAIL_CREATE_EMAIL_DRAFT \
>   -d '{"recipient":"[email protected]","subject":"Draft","body":"Draft body"}' \


































────────────────────────────────────────────────────────────────────────────────
> # Execeute a tool, with no connected account associated
> composio tools execute GMAIL_CREATE_EMAIL_DRAFT \
>   -d '{"recipient":"[email protected]","subject":"Draft","body":"Draft body"}' \
>

































────────────────────────────────────────────────────────────────────────────────
> # Execeute a tool, with no connected account associated
> composio tools execute GMAIL_CREATE_EMAIL_DRAFT \
>   -d '{"recipient":"[email protected]","subject":"Draft","body":"Draft body"}' \
>   --user-id default

































────────────────────────────────────────────────────────────────────────────────
> # Execeute a tool, with no connected account associated
> composio tools execute GMAIL_CREATE_EMAIL_DRAFT \
>   -d '{"recipient":"[email protected]","subject":"Draft","body":"Draft body"}' \
>   --user-id default

































────────────────────────────────────────────────────────────────────────────────
> # Execeute a tool, with no connected account associated
> composio tools execute GMAIL_CREATE_EMAIL_DRAFT \
>   -d '{"recipient":"[email protected]","subject":"Draft","body":"Draft body"}' \
>   --user-id default

































────────────────────────────────────────────────────────────────────────────────
> # Execeute a tool, with no connected account associated
> composio tools execute GMAIL_CREATE_EMAIL_DRAFT \
>   -d '{"recipient":"[email protected]","subject":"Draft","body":"Draft body"}' \
>   --user-id default
│
◒  Executing tool "GMAIL_CREATE_EMAIL_DRAFT"...
▲  Executing tool "GMAIL_CREATE_EMAIL_DRAFT"...
│
■  No connected account found for entity ID default for toolkit gmail
│
◇  Error details ───────────────────────────────────────────────────────────────╮
│                                                                               │
│  {                                                                            │
│    "message": "No connected account found for entity ID default for toolkit   │
│  gmail",                                                                      │
│    "code": 1810,                                                              │
│    "slug": "ActionExecute_ConnectedAccountNotFound",                          │
│    "status": 400,                                                             │
│    "request_id": "<REDACTED>",                                                │
│    "suggested_fix": ""                                                        │
│  }                                                                            │
│                                                                               │
├───────────────────────────────────────────────────────────────────────────────╯
│
◇  Tips ────────────────────────────────────────────────────────────────────╮
│                                                                           │
│  Create or find an auth config: composio auth-configs list --toolkits     │
│  <toolkit>                                                                │
│  Link the account: composio connected-accounts link --auth-config         │
│  <AUTH_CONFIG_ID> --user-id <USER_ID>                                     │
│  Verify the link: composio connected-accounts list --toolkits <toolkit>   │
│  --user-id <USER_ID>                                                      │
│  Retry the tool or pass --connected-account-id <ID>                       │
│                                                                           │
├───────────────────────────────────────────────────────────────────────────╯
>

────────────────────────────────────────────────────────────────────────────────