Create Short URL
create_short_urlCreate a short link (s.gooo.name) for an HTTP or HTTPS URL (compatible with shorten_url). Use when the user explicitly requests URL shortening, custom short codes, password protection, or link tagging. Automatically associates the link with the user's account when authenticated.
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": {
"url": "<url>"
},
"name": "create_short_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target HTTP or HTTPS URL to shorten (e.g., https://github.com/openai/openai-node) | |
| tags | No | Optional category tags (e.g., ["AI", "work"]) | |
| channel | No | Optional AI client identifier (e.g., chatgpt, codex, gemini, cursor, claude) | |
| password | No | Optional password to protect the short link upon redirect | |
| session_id | No | Optional session identifier when not using OAuth Bearer token | |
| custom_code | No | Optional custom short code (at least 5 alphanumeric, hyphen, or underscore characters, e.g., my-doc) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Extracted webpage title | |
| channel | No | Recorded creation channel | |
| link_id | Yes | Unique link identifier / short code | |
| is_custom | No | Whether a custom code was used | |
| short_url | Yes | Generated short URL (https://s.gooo.name/...) | |
| short_code | No | Short code | |
| has_password | No | Whether password protection is enabled | |
| original_url | No | Target original URL |