shorturl_get_usage_guide
Get a comprehensive guide for using the ShortURL tools.
Provides detailed information on how to use the ShortURL tools
effectively, including parameters, examples, and best practices.
Returns:
Complete usage guide for ShortURL tools.
shorturl_get_api_info
Get information about the ShortURL API service.
Returns details about the API endpoint, pricing, and service capabilities.
Returns:
API information and service details.
shorturl_create
Create a short URL from a long URL.
Converts a long URL into a short, easy-to-share URL using the ShortURL API.
The short URL redirects to the original long URL when visited.
This is useful for:
- Sharing links on social media with character limits
- Creating clean, memorable links for marketing
- Tracking link clicks and engagement
- Making long URLs more manageable in documents and messages
Args:
url: The long URL to shorten. Must be a valid HTTP or HTTPS URL.
Returns:
JSON response containing the shortened URL.
Example:
shorturl_create(url="https://platform.acedata.cloud/documents/a2303356-6672-4eb8-9778-75f55c998fe9")
shorturl_batch_create
Create short URLs for multiple long URLs in a single batch.
Shortens multiple URLs at once, returning a mapping of original URLs
to their shortened versions. Useful for bulk URL shortening tasks.
Args:
urls: A list of long URLs to shorten (max 10 per batch).
Returns:
JSON response containing the mapping of original to shortened URLs.
Example:
shorturl_batch_create(urls=["https://example.com/long-url-1", "https://example.com/long-url-2"])