tinyurl_archive
Archives, unarchives, or toggles a specific TinyURL alias by reading its current state first, so archive or unarchive calls only write when a change is needed and then verify the result.
Instructions
Toggle, archive or unarchive one exact TinyURL through PATCH /archive. The vendor body is only domain+alias, so the endpoint toggles; this tool reads the current state first and toggles only when archive/unarchive requires a change. action=toggle always sends one toggle. Verifies the resulting archived boolean. Token permission: Archive TinyURL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | Exact alias: 1-30 letters, digits, underscore or hyphen. | |
| action | Yes | toggle flips once; archive/unarchive are idempotent and skip the write when already in that state. | |
| domain | No | Fixed tinyurl.com domain. |