paperclip_sync_agent_skills
Sync an agent's installed skills to match a desired list, adding new skills and removing unnecessary ones. Returns added, removed, and current skill lists.
Instructions
Sync an agent's installed skills to match the desired list, adding or removing as needed.
Args:
agentId: string — Agent UUID (example: "agt_abc123")
desiredSkills: string[] — Skill names to install; skills not in this list are removed (example: ["paperclip-hire-agent"])
Returns: Returns the sync result: added[], removed[], current[] skill lists.
Examples:
Use when: onboarding a new agent or updating its skill set after a role change
Don't use when: you only want to check installed skills — use paperclip_get_agent and inspect adapterConfig.paperclipSkillSync
Error Handling:
400: validation failure → check desiredSkills is a non-empty array of valid skill names
401: authentication failed → check PAPERCLIP_API_KEY
404: agent not found → verify ID with paperclip_list_agents
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | Agent UUID | |
| desiredSkills | Yes | List of skill names to sync onto the agent |