Auth.Set Link Visibility
auth.set_link_visibilitySet the public/private visibility of an affiliate link within a product.
Public links appear in the product's Affilio storefront listing; private links are hidden. Visibility is scoped to the product the link belongs to.
Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
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": {
"product_id": "<product_id>",
"link_id": "<link_id>",
"visibility": "<visibility>"
},
"name": "auth.set_link_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | Yes | Link ID returned by auth.create_link or auth.list_links. | |
| product_id | Yes | Product ID that owns this link. Returned by auth.create_product or auth.get_product. | |
| visibility | Yes | Visibility setting for the link. Accepted values: 'public' — link is visible in the product's storefront listing; 'private' — link is hidden from storefront listings. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||