haops_deprecate_skill
Soft-delete a skill and deprecate it across all versions, preserving history for audit. Returns confirmation with version count.
Instructions
Soft-delete + deprecate a skill (DELETE /api/skills/[name]). Cascades the soft-delete across ALL versions (current + historical) and flips isDeprecated=true on the current row. History remains visible via /api/skills/[name]/history for audit context. Admin-only, gated by ENABLE_COMPOSED_PROTOCOLS. Returns {message, versionCount}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "haops_deprecate_skill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Kebab-case skill name to soft-delete. | |
| scope | No | Scope of the target skill. Defaults to "system". | |
| verbose | No | If true, return the full API response instead of the compact summary (default: false) | |
| projectSlug | No | Project slug — REQUIRED when scope="project"; MUST be omitted when scope="system". |