shorturl_batch_create
Shorten multiple long URLs simultaneously in a single batch operation. This tool processes up to 10 URLs at once, generating a mapping of original URLs to their shortened versions for bulk URL management tasks.
Instructions
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"])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | A list of long URLs to shorten. Each must be a valid HTTP or HTTPS URL. Maximum 10 URLs per batch. |