MCPcopy Create free account
hub / github.com/Microck/opencode-studio / deleteSkill

Function deleteSkill

client-next/src/lib/api.ts:296–298  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

294}
295
296export async function deleteSkill(name: string): Promise<void> {
297 await api.delete(`/skills/${name}`);
298}
299
300export async function toggleSkill(name: string): Promise<{ enabled: boolean }> {
301 const { data } = await api.post<{ success: boolean; enabled: boolean }>(`/skills/${name}/toggle`);

Callers 2

handleSaveFunction · 0.90
handleDeleteFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected