@devries-cameron20 / composio Mirror · read-only / commits / 2d44a07a5
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 22, 02:00 UTC

docs: use MyApp as generic company name in examples

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Dhawal Upadhyay committed Mar 23, 2026 at 14:11 UTC 2d44a07a56f3835690db2352a8de985e77237a6c
2 files changed +5 -5
docs/content/changelog/03-23-26-custom-tools-and-toolkits.mdx
+1 -1
@@ -45,7 +45,7 @@ const sendPromoEmail = experimental_createTool("SEND_PROMO_EMAIL", {
45 extendsToolkit: "gmail",
46 inputParams: z.object({ to: z.string().describe("Recipient email") }),
47 execute: async (input, ctx) => {
48 - const raw = btoa(`To: ${input.to}\r\nSubject: Try Composio Pro\r\n\r\nFree for 14 days.`);
48 + const raw = btoa(`To: ${input.to}\r\nSubject: Try MyApp Pro\r\n\r\nFree for 14 days.`);
49 const res = await ctx.proxyExecute({
50 toolkit: "gmail",
51 endpoint: "https://gmail.googleapis.com/gmail/v1/users/me/messages/send",
docs/content/docs/toolkits/custom-tools-and-toolkits.mdx
+4 -4
@@ -30,8 +30,8 @@ import { z } from "zod/v3";
30 // ctx.userId identifies which user's session is running.
31
32 const profiles: Record<string, { name: string; email: string; tier: string }> = {
33 - "user_1": { name: "Alice Johnson", email: "alice@acme.com", tier: "enterprise" },
34 - "user_2": { name: "Bob Smith", email: "bob@acme.com", tier: "free" },
33 + "user_1": { name: "Alice Johnson", email: "alice@myapp.com", tier: "enterprise" },
34 + "user_2": { name: "Bob Smith", email: "bob@myapp.com", tier: "free" },
35 };
36
37 const getUserProfile = experimental_createTool("GET_USER_PROFILE", {
@@ -58,8 +58,8 @@ const sendPromoEmail = experimental_createTool("SEND_PROMO_EMAIL", {
58 to: z.string().describe("Recipient email address"),
59 }),
60 execute: async (input, ctx) => {
61 - const subject = "You're invited to try Composio Pro";
62 - const body = "Hi there,\n\nWe'd love for you to try Composio Pro — free for 14 days.\n\nBest,\nThe Composio Team";
61 + const subject = "You're invited to try MyApp Pro";
62 + const body = "Hi there,\n\nWe'd love for you to try MyApp Pro — free for 14 days.\n\nBest,\nThe MyApp Team";
63 const raw = btoa(`To: ${input.to}\r\nSubject: ${subject}\r\nContent-Type: text/plain; charset=UTF-8\r\n\r\n${body}`);
64
65 const res = await ctx.proxyExecute({