跳转到主要内容
PATCH
Update skill

请求头

X-Workspace-Id
string

Workspace ID

路径参数

id
string
必填

Skill ID

请求体

application/json
name
string
示例:

"web-research"

description
string
示例:

"Advanced web research techniques..."

content
string
示例:

"# Web Research\n\n## When to use..."

响应

200 - application/json
id
string
必填
示例:

"550e8400-e29b-41d4-a716-446655440000"

name
string
必填
示例:

"web-research"

description
string
必填
示例:

"Advanced web research techniques..."

content
string
必填
示例:

"# Web Research\n\n## When to use..."

isEnabled
boolean
默认值:true
必填
示例:

true

isBuiltin
boolean
必填
示例:

false

createdAt
string<date-time>
必填
updatedAt
string<date-time>
必填
createdBy
string | null
必填
示例:

"550e8400-e29b-41d4-a716-446655440000"