Update the Library
update_libraryChange the workspace's public Library: its heading, website and privacy policy links, header links, whether the user is emailed for each new lead, the sender name and subject of the email every new lead receives, and the order of its lead magnets. The Library is public, so nothing is applied on the first call: it returns the exact changes; show them to the user and repeat the same call with confirmLiveChange: true only after they agree. Applying needs the magnets:publish permission; the order can only be changed by the workspace owner.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | Lead magnet ids, top first, for the Library's order. Ones left out keep their place. Owner only. | |
| navLinks | No | Up to 5 links in the Library's header, each a short label and an https:// address. Replaces the list. | |
| privacyUrl | No | The user's privacy policy (https://...), linked under every form. null or '' clears it. | |
| websiteUrl | No | The user's website (https://...), the Library's 'Back to' link. null or '' clears it. | |
| emailSubject | No | The subject of the email every new lead receives. null or '' uses the default. | |
| libraryTitle | No | The Library's heading. null or '' clears it. | |
| notifyOnLead | No | Whether the user gets an email for each new lead. | |
| emailSenderName | No | The sender name on the email every new lead receives. null or '' uses the default. | |
| confirmLiveChange | No | The Library is public, so nothing is applied without this. Call first without it, show the user the returned changes, and repeat with true only after they agree. |