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 21, 22:15 UTC
docs: document that SDK auto-upload accepts URLs for file attachment parameters (#3244)
## Summary of Changes - Updated `docs/content/docs/tools-direct/executing-tools.mdx` File Upload section: added explanatory sentence about SDK auto-conversion and a URL-based Gmail attachment example alongside the existing local file path example - Added FAQ entry to `docs/content/toolkits/faq/gmail.md` explaining how to send emails with attachments using a URL or file path string directly, with generic phrasing about applicability to other file-uploadable tools ## Reasoning - Users see the `attachment` schema as `{ s3key, name, mimetype }` and incorrectly put public URLs in the `s3key` field, which fails - The SDK's auto-upload feature (enabled by default) accepts URLs and file paths directly, but this wasn't documented with a concrete example - The Gmail FAQ had no mention of how to handle attachments at all Co-authored-by: decimal-pr-bot[bot] <264021074+decimal-pr-bot[bot]@users.noreply.github.com>