Server SDKs
Build AI agents, control calls, send messages, and more
Remove a previously added skill by its instance ID.
This is an async method that returns Promise<boolean>.
async
Promise<boolean>
The unique instance ID of the skill to remove.
Promise<boolean> — true if the skill was found and removed, false otherwise.
true
false
1import { AgentBase, MathSkill } from '@signalwire/sdk';23const agent = new AgentBase({ name: 'assistant', route: '/assistant' });4const mathSkill = new MathSkill();5await agent.addSkill(mathSkill);67// Later, remove it by instance ID8const skills = agent.listSkills();9if (skills.length > 0) {10 await agent.removeSkill(skills[0].instanceId);11}