全部产品
Search
文档中心

无影云手机:CreateAgentSkill - 创建自定义skill

更新时间:Sep 04, 2026

创建自定义skill。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

GET  HTTP/1.1

请求参数

名称

类型

必填

描述

示例值

IconKey

string

否

自定义 skill 的图标。

枚举值:

  • icon07 :

    优化增强

  • icon08 :

    开发技术

  • icon09 :

    安全防护

  • icon03 :

    办公文档

  • icon04 :

    本土友好

  • icon05 :

    研究探索

  • icon06 :

    数据金融

  • icon01 :

    默认图标

  • icon02 :

    成长型

icon01

SkillName

string

否

技能名称。

weather-enhanced

SkillDescription

string

否

技能描述。

Current weather and forecasts with wttr.in via curl for locations, rain, temperature, travel planning.

PackageOssKey

string

否

技能 OSS 包路径,系统预留,不需要填写。

test/sk-test/current/skill.zip

SkillPackageUrl

string

否

技能包的 OSS 下载链接,API 调用必须填写。

https://test.oss-cn-hangzhou.aliyuncs.com/weather_skill.zip?Expires=1788168088&OSSAccessKeyId=****

FileList

array

否

技能包中的文件列表。

string

否

技能包中的文件。

SKILL.md

返回参数

名称

类型

描述

示例值

object

PlainResult

RequestId

string

请求 ID。

425F351C-3F8E-5218-A520-B6311D0D****

Code

string

状态码。返回 200 代表成功。

200

Message

string

返回消息。

Success.

SkillInfo

array<object>

技能信息。

object

技能信息。

SkillId

string

技能唯一标识符 ID。

sk-051j4pbwxzgol****

SkillName

string

技能名称。

dev-spec

Type

string

技能类型。

CUSTOM

Status

string

技能状态。

ACTIVE

Description

string

技能描述。

Current weather and forecasts with wttr.in via curl for locations, rain, temperature, travel planning.

Instruction

string

技能摘要。

Current weather and forecasts.

示例

正常返回示例

JSON格式

{
  "RequestId": "425F351C-3F8E-5218-A520-B6311D0D****",
  "Code": "200",
  "Message": "Success.",
  "SkillInfo": [
    {
      "SkillId": "sk-051j4pbwxzgol****",
      "SkillName": "dev-spec",
      "Type": "CUSTOM",
      "Status": "ACTIVE",
      "Description": "Current weather and forecasts with wttr.in via curl for locations, rain, temperature, travel planning.",
      "Instruction": "Current weather and forecasts."
    }
  ]
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情。