Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
LOG_LEVEL | No | 日志级别 | info |
API_VERSION | No | API版本 | v1 |
MAX_RETRIES | No | 最大重试次数 | 3 |
REMOTE_API_KEY | Yes | API密钥 | |
REMOTE_BASE_URL | Yes | 远程短网址服务地址 | |
REQUEST_TIMEOUT | No | 请求超时时间(ms) | 10000 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
create_short_url | 创建一个新的短网址。支持自定义域名、短代码、标题和描述信息。 |
get_url_info | 根据短网址ID获取详细信息,包括原始URL、点击统计、创建时间等。 |
list_short_urls | 列出用户的短网址列表,支持分页、域名筛选和关键词搜索。 |
delete_short_url | 删除指定的短网址。删除后无法恢复,请谨慎操作。 |
batch_create_short_urls | 批量创建多个短网址,提高创建效率。最多支持50个URL。 |
list_domains | 获取所有可用的域名列表,包括域名配置信息和状态。 |