UpdateSkillBody

Request body for updating a Skill.

Definition

TypeScript
interface UpdateSkillBody {
  name?: string | undefined;
  description?: string | undefined;
  kind?: "concept" | "procedure" | undefined;
  target?: "cli" | "assistant" | "mcp" | undefined;
  body?: string | undefined;
  resources?: Array<{ path: string; content: string }> | undefined;
}

Fields

FieldTypeNotes
namestring | undefinedoptional — New name
descriptionstring | undefinedoptional — New description
kind"concept" | "procedure" | undefinedoptional — New content kind
target"cli" | "assistant" | "mcp" | undefinedoptional — New target consumer
bodystring | undefinedoptional — New markdown body
resourcesArray<{ path: string; content: string; }> | undefinedoptional — Replace all resources with this array. Omit to leave unchanged.