Create a link-in-bio site
unulu_create_siteCreate a link-in-bio site with a name, bio, and links. Returns a live URL on unu.lu that expires in 1 hour unless claimed. Do NOT call until you have at least a name and one link from the user — gather real content first, never create with placeholder or empty content. If the user provides a handle (e.g. '_guy.a' for Instagram), construct the full URL yourself — do not ask them to paste it. When feasible, offer to find all public links for the person. Before calling: tell the user they can choose a skin on the preview page for the overall aesthetic; ask permission before adding emoji leading_icons to decorate links (for not-well-known social URLs). The response includes an assistant_message with the site URL and claim details — present these to the user. Persist claim_token and claim_code_short for subsequent updates — never ask the user for them back in the same conversation. Never create a duplicate site; always update the existing one. After creation: tell the user they can pick a custom handle when they claim; share the preview URL in a copy-paste block; offer to refine bio, links, or ordering. Keep iteration fast — apply changes immediately, don't re-confirm minor edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bio | No | Short bio in first person, 1–3 sentences, capturing what's distinctive — no filler phrases like 'passionate about' or 'dedicated to'. If you lack context, write something short and honest rather than generic. Supports markdown. | |
| name | Yes | Display name / heading for the site | |
| links | No | Link-in-bio links. Order matters — place the most important link first. Well-known social links display branded icons automatically — omit leading_icon for these. | |
| skin_id | No | Optional theme skin. When omitted, the live site includes a visual theme chooser — prefer omitting so the user can pick their own. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Live URL on unu.lu — always present as a clickable markdown link when showing to the user | |
| site_id | Yes | Unique site identifier | |
| expires_at | Yes | ISO 8601 expiry timestamp (~1 hour from creation) | |
| claim_token | No | HMAC token for updating ephemeral (pre-claim) sites via updateSite. Present when the site is unclaimed. | |
| claim_code_short | No | Backup code (XXXX-XXXX) for claiming the site via the short-code flow | |
| assistant_message | Yes | Pre-formatted message with the live site link, expiry notice, and short-code claim instructions. Share with the user as-is — do not paraphrase or restructure. |