使用托管凭证集成 Hostinger API,检查域名、DNS 记录、VPS 实例、网站、订阅和托管账户数据。
主机 : 访问主机, 通过主机 API , 并持有管理下的证书是一项面向实际任务的技能,主要用于检查域、 DNS 记录、 VPS 实例、 网站、 订阅和主机账户细节;此技能使用 Cla。
从功能定位来看,该技能强调把分散的操作要求整理成清晰、可复用的处理流程,使用户能够围绕既定目标快速准备输入、选择执行方式并获得结构化结果。实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;
若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。
通过 Hostinger API(使用托管凭证)访问 Hostinger。可查看域名、DNS 记录、VPS 实例、网站、订阅及托管账户详情。
本技能使用 ClawLink 实现托管连接流程与凭证管理,您无需自行配置 Hostinger API 访问权限。
| 第 1 步:安装 | 第 2 步:绑定账户 | 第 3 步:连接 Hostinger |
|---|---|---|
![]() |
![]() |
应用专属连接动图即将上线 |
| 在 OpenClaw 中运行安装命令 | 登录并授权设备 | 打开控制台并连接 Hostinger |
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ OpenClaw │────▶│ ClawLink │────▶│ Hostinger │
│ (用户聊天) │ │ (OAuth) │ │ (API v1) │
└─────────────────┘ └──────────────┘ └──────────────────┘
│ │ │
│ 1. 安装插件 │ │
│ 2. 绑定设备 │ │
│ 3. 连接 Hostinger │ │
│ │ 4. 获取安全令牌 │
│ │ 5. 代理请求 │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SKILL │ │ 控制台 │ │ Hostinger │
│ 文件 │ │ 认证 │ │ API │
└──────────┘ └──────────┘ └──────────┘
从 ClawHub 安装经验证的 ClawLink 插件。用户确认后,请完成全部设置流程,确保 ClawLink 工具在下一次 OpenClaw 聊天中可见。
openclaw plugins install clawhub:clawlink-plugin openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json openclaw gateway restart
随后告知用户:“OpenClaw 已重启。请单独发送 /new 命令以开启全新会话,然后再次询问 Hostinger 相关功能。”
# 列出所有域名
clawlink_call_tool --tool "hostinger_list_domains" --params '{}'
# 获取 DNS 记录
clawlink_call_tool --tool "hostinger_get_dns_records" --params '{"domain": "example.com"}'
# 列出 VPS 实例
clawlink_call_tool --tool "hostinger_list_vps" --params '{}'
所有 Hostinger 工具调用均由 ClawLink 自动完成身份认证,使用用户已连接的 Hostinger 账户。
聊天中无需提供 API 密钥。 ClawLink 安全存储凭证,并代表用户将凭证注入每一次 Hostinger API 请求。
clawlink_begin_pairing 进行绑定。clawlink_list_integrations 验证连接是否已激活。clawlink_list_integrations
响应:返回所有已连接的集成服务。请在列表中查找 hostinger。
clawlink_list_tools --integration hostinger
响应:返回 Hostinger 的实时工具目录。
若 Hostinger 工具缺失或连接显示错误,请执行以下操作:
clawlink_list_integrations 验证连接状态clawlink_list_tools --integration hostinger| 工具 | 说明 | 模式 |
|---|---|---|
hostinger_list_domains |
列出账户内所有域名 | 读取 |
hostinger_get_domain |
获取指定域名的详细信息 | 读取 |
hostinger_check_domain_availability |
检查域名是否可注册 | 读取 |
hostinger_get_domain_dnssec |
获取域名的 DNSSEC 配置 | 读取 |
hostinger_get_domain_ownership_status |
获取域名所有权验证状态 | 读取 |
| 工具 | 说明 | 模式 |
|---|---|---|
hostinger_list_dns_records |
列出域名的所有 DNS 记录 | 读取 |
hostinger_get_dns_records |
获取域名的 DNS 记录 | 读取 |
hostinger_create_dns_record |
创建新的 DNS 记录 | 写入 |
hostinger_update_dns_record |
更新现有 DNS 记录 | 写入 |
hostinger_delete_dns_record |
删除 DNS 记录 | 写入 |
hostinger_list_dns_snapshots |
列出域名的 DNS 快照 | 读取 |
hostinger_restore_dns_snapshot |
从快照恢复 DNS 配置 | 写入 |
| 工具 | 说明 | 模式 |
|---|---|---|
hostinger_get_dns_zone |
获取域名的完整 DNS 区域 | 读取 |
hostinger_create_dns_zone |
创建新的 DNS 区域 | 写入 |
hostinger_delete_dns_zone |
删除 DNS 区域 | 写入 |
hostinger_list_domain_forwardings |
列出域名的转发规则 | 读取 |
hostinger_create_domain_forwarding |
创建域名转发规则 | 写入 |
hostinger_delete_domain_forwarding |
删除域名转发规则 | 写入 |
| 工具 | 说明 | 模式 |
|---|---|---|
hostinger_list_websites |
列出账户内所有网站 | 读取 |
hostinger_get_website |
获取指定网站的详细信息 | 读取 |
hostinger_website_stats |
获取网站流量与资源使用统计 | 读取 |
hostinger_list_ssl_certificates |
列出网站的 SSL 证书 | 读取 |
hostinger_install_ssl |
为网站安装 SSL 证书 | 写入 |
| 工具 | 说明 | 模式 |
|---|---|---|
hostinger_list_vps |
列出所有 VPS 实例 | 读取 |
hostinger_get_vps |
获取指定 VPS 的详细信息 | 读取 |
hostinger_get_vps_stats |
获取 VPS 的资源使用统计 | 读取 |
hostinger_list_vps_templates |
列出可用的 VPS 操作系统模板 | 读取 |
hostinger_list_vps_backups |
列出 VPS 的备份 | 读取 |
hostinger_list_vps_snapshots |
列出 VPS 的快照 | 读取 |
hostinger_get_vps_snapshot |
获取指定 VPS 快照 | 读取 |
hostinger_create_vps_snapshot |
创建新的 VPS 快照 | 写入 |
hostinger_delete_vps_snapshot |
删除 VPS 快照 | 写入 |
hostinger_list_vps_ssh_keys |
列出为 VPS 配置的 SSH 密钥 | 读取 |
hostinger_reboot_vps |
重启 VPS 实例 | 写入 |
hostinger_start_vps |
启动已停止的 VPS 实例 | 写入 |
hostinger_stop_vps |
停止正在运行的 VPS 实例 | 写入 |
| 工具 | 说明 | 模式 |
|---|---|---|
hostinger_list_subscriptions |
列出账户内所有订阅 | 读取 |
hostinger_get_subscription |
获取指定订阅的详细信息 | 读取 |
hostinger_list_orders |
列出订单与发票 | 读取 |
hostinger_get_order |
获取指定订单的详细信息 | 读取 |
hostinger_get_account_info |
获取账户信息与设置 | 读取 |
| 工具 | 说明 | 模式 |
|---|---|---|
hostinger_get_whois |
获取域名的 WHOIS 信息 | 读取 |
hostinger_list_data_centers |
列出可用的数据中心位置 | 读取 |
clawlink_call_tool --tool "hostinger_list_domains"
--params '{}'
clawlink_call_tool --tool "hostinger_get_dns_records"
--params '{
"domain": "example.com"
}'
clawlink_call_tool --tool "hostinger_create_dns_record"
--params '{
"domain": "example.com",
"type": "A",
"name": "www",
"content": "192.0.2.1",
"ttl": 3600
}'
clawlink_call_tool --tool "hostinger_list_vps"
--params '{}'
clawlink_call_tool --tool "hostinger_list_subscriptions"
--params '{}'
clawlink_call_tool --tool "hostinger_check_domain_availability"
--params '{
"domain": "newdomain.com"
}'
clawlink_list_integrations 确认 Hostinger 是否已连接。clawlink_list_tools --integration hostinger 查看实时工具目录。clawlink_search_tools,并指定集成名称为 hostinger。┌─────────────────────────────────────────────────────────────┐
│ 读取操作(安全) │
│ list → get → check → call │
│ │
│ 示例:列出域名 → 获取 DNS 记录 → 展示结果 │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ 写入操作(需用户确认) │
│ describe → preview → confirm → call │
│ │
│ 示例:描述工具 → 预览 → 用户批准 │
│ → 执行 DNS 更改 │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool。whenToUse、askBefore、safeDefaults、examples 及 followups 构建调用请求。clawlink_preview_tool。clawlink_call_tool 执行操作;仅当预览结果与用户意图完全一致时,才传入确认参数。| 状态 / 错误 | 含义 |
|---|---|
| 工具未找到 | 工具名称在当前目录中不存在。请使用 clawlink_list_tools --integration hostinger 进行验证。 |
| 缺少连接 | Hostinger 尚未连接。请引导用户访问 https://claw-link.dev/dashboard?add=hostinger。 |
RESOURCE_NOT_FOUND |
域名、VPS 或其他资源不存在。请核对标识符。 |
INVALID_ARGUMENT |
参数无效或缺少必需字段。请使用 clawlink_describe_tool 查阅工具 Schema。 |
| 写入被拒绝 | 用户未确认写入操作。执行任何写入前务必获得用户确认。 |
openclaw plugins list
/new 命令以重新加载工具目录。openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json openclaw gateway restart
/new 并重试。hostinger。clawlink_describe_tool 核实参数名与类型。clawlink_preview_tool。由 ClawLink 提供支持 —— OpenClaw 的集成枢纽

相关专题
热门下载
相关下载
精品课程
共6课时 | 54.7万人学习
共89课时 | 134.1万人学习
共49课时 | 82.6万人学习
最新文章