Raw schema
{
"type": "object",
"properties": {
"params": {
"$ref": "#/$defs/UpdateSmartLinkInput"
}
},
"required": [
"params"
],
"$defs": {
"DeepLinkConfigInput": {
"additionalProperties": false,
"description": "iOS/Android app-opening configuration.",
"properties": {
"ios_app_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "iOS app deep link URL (e.g., 'amazon://...')",
"title": "Ios App Url"
},
"ios_fallback_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Fallback URL if iOS app is not installed",
"title": "Ios Fallback Url"
},
"android_app_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Android app deep link URL",
"title": "Android App Url"
},
"android_fallback_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Fallback URL if Android app is not installed",
"title": "Android Fallback Url"
}
},
"title": "DeepLinkConfigInput",
"type": "object"
},
"GeoRuleInput": {
"additionalProperties": false,
"description": "Country-specific destination URL.",
"properties": {
"country_code": {
"description": "ISO 3166-1 alpha-2 country code (e.g., 'GB', 'DE', 'JP')",
"pattern": "^[A-Z]{2}$",
"title": "Country Code",
"type": "string"
},
"destination_url": {
"description": "URL to redirect visitors from this country to",
"pattern": "^https?://.+",
"title": "Destination Url",
"type": "string"
}
},
"required": [
"country_code",
"destination_url"
],
"title": "GeoRuleInput",
"type": "object"
},
"ResponseFormat": {
"description": "Output format for tool responses.",
"enum": [
"markdown",
"json"
],
"title": "ResponseFormat",
"type": "string"
},
"UpdateSmartLinkInput": {
"additionalProperties": false,
"description": "Input for updating a smart link (partial update).",
"properties": {
"id": {
"description": "Smart link UUID to update",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"title": "Id",
"type": "string"
},
"default_url": {
"anyOf": [
{
"pattern": "^https?://.+",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "New destination URL",
"title": "Default Url"
},
"slug": {
"anyOf": [
{
"maxLength": 50,
"pattern": "^[a-z0-9-]+$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "New custom slug",
"title": "Slug"
},
"title": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "New title/label",
"title": "Title"
},
"redirect_type": {
"anyOf": [
{
"enum": [
"301",
"302"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "New redirect type",
"title": "Redirect Type"
},
"geo_rules": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/GeoRuleInput"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Replace geo rules (full replacement, not merge)",
"title": "Geo Rules"
},
"deep_link_config": {
"anyOf": [
{
"$ref": "#/$defs/DeepLinkConfigInput"
},
{
"type": "null"
}
],
"default": null,
"description": "Replace deep link config"
},
"response_format": {
"$ref": "#/$defs/ResponseFormat",
"default": "markdown",
"description": "Output format: 'markdown' or 'json'"
}
},
"required": [
"id"
],
"title": "UpdateSmartLinkInput",
"type": "object"
}
},
"title": "youfiliate_update_smart_linkArguments"
}