tinyurl_set_expiration
Set or clear a TinyURL link's expiration date and verify the updated expiry, so you can control when individual short links stop working.
Instructions
Set or clear one exact TinyURL expiration through PATCH /update using new_expires_at, then verify the returned or re-read expiry. Requires alias and new_expires_at (string or null). Token permission: Update TinyURL.
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": {
"alias": "<alias>",
"new_expires_at": "<new_expires_at>"
},
"name": "tinyurl_set_expiration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | Exact alias: 1-30 letters, digits, underscore or hyphen. | |
| domain | No | Fixed tinyurl.com domain. | |
| new_expires_at | Yes | ISO 8601 date-time or duration accepted by TinyURL, or null for never. |