sync_mastodon
Sync recent Mastodon posts from a public or hashtag timeline into memory. Supports optional instance, hashtag, and access token parameters.
Instructions
Sync recent Mastodon posts from a public or hashtag timeline into memory.
Uses the Mastodon REST API. Public and hashtag timelines require no authentication. An access token is only needed for home timeline or private accounts.
Optional environment variables: MASTODON_INSTANCE - Mastodon instance URL (default: https://mastodon.social) MASTODON_HASHTAG - default hashtag to sync (without #) MASTODON_ACCESS_TOKEN - access token for authenticated requests (optional)
Args: instance: Mastodon instance base URL (e.g. https://fosstodon.org). Uses MASTODON_INSTANCE env var if not provided. hashtag: Hashtag to sync (without #, e.g. 'python'). Uses MASTODON_HASHTAG env var or public timeline if not provided. access_token: OAuth access token. Uses MASTODON_ACCESS_TOKEN env var if not provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | ||
| hashtag | No | ||
| access_token | No |