Update Profile Link
update_profile_linkUpdates an existing link card or header social icon on a Linq.es Link-in-Bio profile by its unique 'key', while preserving its section placement, animation, and existing schedule timestamps. When to use: choose update_profile_link to change a link's title, URLs, badge, or visibility (set active: false to hide a link non-destructively while keeping its click history); use delete_profile_link only for permanent removal, or add_profile_link to create a new link. Prerequisites: requires Bearer lnq_live_ Pro authentication; call list_profile_links first to obtain 'key' and current values, because omitted optional string fields ('badgeText', 'iosUrl', 'androidUrl') are cleared to empty strings whereas omitted boolean flags ('isSocial', 'showCountdown', 'showClickBadge') retain their stored values. Validation: 'key', 'profile', and 'title' must be non-empty; 'url' (and any non-empty 'iosUrl' or 'androidUrl') must start with http:// or https://; returns isError: true if 'key' does not exist or is not owned by the caller. Side effects: idempotent for identical arguments; overwrites the link document in Firestore and immediately purges the owning profile's multi-layer cache. Returns: JSON text with {status, message, key}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"key": "<key>",
"profile": "<profile>",
"title": "<title>",
"url": "<url>",
"active": "<active>"
},
"name": "update_profile_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Unique Firestore document key of the link to update, retrieved from list_profile_links. | |
| url | Yes | Updated default destination URL starting with http:// or https://. | |
| title | Yes | Updated visible button label or social icon title. | |
| active | Yes | Set true to publish the link on the public profile, or false to hide it without deleting analytics. | |
| iosUrl | No | iOS http:// or https:// override URL (pass existing value to keep it, or omit/pass '' to clear iOS routing). | |
| profile | Yes | Owned Linq.es profile handle associated with the link (e.g. 'alex'). | |
| isSocial | No | Optional boolean controlling whether the item renders as a header social icon; if omitted, preserves the existing stored value. | |
| badgeText | No | Highlight pill badge text (pass existing value to keep it, or omit/pass '' to clear the badge). | |
| androidUrl | No | Android http:// or https:// override URL (pass existing value to keep it, or omit/pass '' to clear Android routing). | |
| showCountdown | No | Optional boolean toggling the countdown timer badge; if omitted, preserves the existing stored value. | |
| showClickBadge | No | Optional boolean toggling the public click-count badge; if omitted, preserves the existing stored value. |