@devries-cameron20 / composio-1 / commits / 0170972eb
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.

Fix example

haxzie committed Jun 20, 2025 at 12:53 UTC 0170972ebdfebf05e0e2def624f1ef87302e04b5
1 file changed +1 -14
fern/pages/src/tool-calling/executing-tools.mdx
+1 -14
@@ -322,7 +322,7 @@ print(result.data["file"]["uri"]) # "/path/to/downloaded/file.pdf"
322
323 ### Disabling Auto File Handling
324
325 -You can disable automatic file handling when initializing the SDK:
325 +You can disable automatic file handling when initializing the Typescript SDK:
326
327 <CodeGroup>
328 ```typescript TypeScript maxLines=60 wordWrap
@@ -338,19 +338,6 @@ const fileData = await composio.files.upload({
338 toolkitSlug: 'googledrive'
339 });
340 ```
341 -
342 -```python Python maxLines=60 wordWrap
343 -composio = Composio(
344 - auto_upload_download_files=False
345 -)
346 -
347 -# Now you need to handle files manually using composio.files API
348 -file_data = composio.files.upload(
349 - file_path=os.path.join(os.getcwd(), "document.pdf"),
350 - tool_slug="GOOGLEDRIVE_UPLOAD_FILE",
351 - toolkit_slug="googledrive"
352 -)
353 -```
341 </CodeGroup>
342
343 For more details on file handling, see [Auto Upload and Download Files](/docs/advanced/auto-upload-download).
\ No newline at end of file