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.

5.2 KB
Raw Blame
>




































────────────────────────────────────────────────────────────────────────────────
> # Execute a tool, with piped input
>



































────────────────────────────────────────────────────────────────────────────────
> # Execute a tool, with piped input
> echo '{"recipient_email":"[email protected]","subject":"Hello","body":"From stdin"}'
 \


































────────────────────────────────────────────────────────────────────────────────
> # Execute a tool, with piped input
> echo '{"recipient_email":"[email protected]","subject":"Hello","body":"From stdin"}'
 \
>

































────────────────────────────────────────────────────────────────────────────────
> # Execute a tool, with piped input
> echo '{"recipient_email":"[email protected]","subject":"Hello","body":"From stdin"}'
 \
>   | composio tools execute GMAIL_SEND_EMAIL \

































────────────────────────────────────────────────────────────────────────────────
> # Execute a tool, with piped input
> echo '{"recipient_email":"[email protected]","subject":"Hello","body":"From stdin"}'
 \
>   | composio tools execute GMAIL_SEND_EMAIL \
>
































────────────────────────────────────────────────────────────────────────────────
> # Execute a tool, with piped input
> echo '{"recipient_email":"[email protected]","subject":"Hello","body":"From stdin"}'
 \
>   | composio tools execute GMAIL_SEND_EMAIL \
>     --user-id jkomyno \
































────────────────────────────────────────────────────────────────────────────────
> # Execute a tool, with piped input
> echo '{"recipient_email":"[email protected]","subject":"Hello","body":"From stdin"}'
 \
>   | composio tools execute GMAIL_SEND_EMAIL \
>     --user-id jkomyno \
>































────────────────────────────────────────────────────────────────────────────────
> # Execute a tool, with piped input
> echo '{"recipient_email":"[email protected]","subject":"Hello","body":"From stdin"}'
 \
>   | composio tools execute GMAIL_SEND_EMAIL \
>     --user-id jkomyno \
>   | jq































────────────────────────────────────────────────────────────────────────────────
> # Execute a tool, with piped input
> echo '{"recipient_email":"[email protected]","subject":"Hello","body":"From stdin"}'
 \
>   | composio tools execute GMAIL_SEND_EMAIL \
>     --user-id jkomyno \
>   | jq































────────────────────────────────────────────────────────────────────────────────
> # Execute a tool, with piped input
> echo '{"recipient_email":"[email protected]","subject":"Hello","body":"From stdin"}'
 \
>   | composio tools execute GMAIL_SEND_EMAIL \
>     --user-id jkomyno \
>   | jq































────────────────────────────────────────────────────────────────────────────────
> # Execute a tool, with piped input
> echo '{"recipient_email":"[email protected]","subject":"Hello","body":"From stdin"}'
 \
>   | composio tools execute GMAIL_SEND_EMAIL \
>     --user-id jkomyno \
>   | jq
{
  "data": {
    "id": "<REDACTED>",
    "labelIds": [
      "SENT"
    ],
    "threadId": "<REDACTED>"
  },
  "error": null,
  "successful": true,
  "logId": "log_<REDACTED>"
}
>


















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