check_post
Verify a social post against a platform's actual character limit before publishing. Get the counted length, allowed limit, and the factors that affect the count under that platform's rules.
Instructions
Check a social post against one platform's real character limit and report whether it fits. Returns the counted length, the limit, and what drove the count (URLs billed at a fixed width, non-Latin characters billed double, emoji sequences collapsed to one grapheme). Use this before publishing anything with a hard limit — the counting rules are per-platform and are not text.length.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The post text, exactly as it will be published. Leading and trailing whitespace is trimmed, as the platforms do. `[URL]`-style placeholders are priced as a real link. | |
| platform | Yes | Which platform's rules to apply: x, x_premium, bluesky, linkedin, threads, mastodon, discord. |