--- title: upload_post_text emoji: 🚀 colorFrom: indigo colorTo: blue sdk: static pinned: false license: mit tags: - smolagents - tool --- # upload_post_text Publish (or schedule) a text-only post on social networks through Upload-Post: X, LinkedIn, Facebook, Threads, Bluesky, Discord, Telegram, Google Business, Slack, Mastodon and more. Returns a dict with the per-platform results, or a job_id when the post is scheduled or queued. A [smolagents](https://github.com/huggingface/smolagents) tool for [Upload-Post](https://www.upload-post.com). ```python from smolagents import load_tool tool = load_tool("upload-post/upload-post-text-tool", trust_remote_code=True) ``` Set `UPLOAD_POST_API_KEY` in your environment. Source: https://github.com/Upload-Post/upload-post-smolagents