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, 13:15 UTC
chore: get rid of bad commit
jkomyno committed
Jan 24, 2026 at 22:23 UTC
457c2c0cab73eedd4436e3122ea215deebb08ea2
1 file changed
+3
-4
ts/examples/file-handling/src/index.ts
+3
-4
@@ -27,7 +27,7 @@ async function main() {
27
console.log('🚀 Starting File-handling Example...');
28
29
// Get available tools
30
- const tools = await composio.tools.get('jkomyno', 'GMAIL_SEND_EMAIL');
30
+ const tools = await composio.tools.get('default', 'GMAIL_SEND_EMAIL');
31
32
console.log(`✅ Found ${tools.length} tools`);
33
@@ -35,15 +35,14 @@ async function main() {
35
console.log(`Sending file from ${filePath}`);
36
37
const result = await composio.tools.execute('GMAIL_SEND_EMAIL', {
38
- userId: 'jkomyno',
38
+ userId: 'default',
39
arguments: {
40
attachment: filePath,
41
- recipient_email: 'alberto.schiabel@gmail.com',
41
+ recipient_email: 'musthaq@composio.dev',
42
user_id: 'me',
43
body: 'Hello, this is a test email with a file attachment.',
44
subject: 'Test Email with Attachment',
45
},
46
- dangerouslySkipVersionCheck: true,
46
});
47
48
console.log(result);