Create an agent skill
Add one capability without replacing or removing existing skills. The instructions type creates a custom plain-English skill. The other types add configured platform tools. Supply expectedVersion to reject a write based on stale state.
Required API key scope: agents:write.
Authorizations
Send your API key as Authorization: Bearer YOUR_API_KEY.
Path Parameters
Agent id.
1Body
- Create a custom instruction skill
- Add service area check
- Add live transfer
- Add CRM tagging
- Add CRM tag lookup
- Add appointment booking
Choose a type to create either a custom instruction skill or a configured platform tool.
"instructions"Human-readable name for the skill. Longer input is truncated to 120 characters and saved, not rejected. Whitespace is trimmed first, so a whitespace-only name is rejected as empty.
1 - 120\SThe playbook the agent follows once the trigger lands. Longer input is truncated to this length and saved; it is not rejected. Leading and trailing whitespace is stripped before validation, so a value that is only whitespace counts as empty.
1 - 12000\SStable skill id. Generated when omitted during creation.
1Plain-English trigger: when the agent should reach for this. Longer input is truncated to 300 characters and saved, not rejected.
300Whether the skill is active on the agent. A disabled skill is kept but its tool is not installed.
Version from the latest skills read. When supplied, a stale write returns 409.
x >= 0Response
Skill created.
x >= 0A plain-English playbook that teaches the agent when and how to handle a use case.
- Custom instruction skill
- Service area check
- Live transfer
- Add a tag
- Check a tag
- Appointment booking
Background synchronization work that did not finish. The skill change was still saved.
