commons_retire
Retire or restore capabilities by marking them retired without deletion, requiring owner confirmation. Scan for retirement candidates.
Instructions
能力退役/恢复——标记退役(不删除,可恢复),强制 owner 确认。
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": {
"capability_id": "<capability_id>",
"action": "<action>"
},
"name": "commons_retire"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 操作:retire=退役 / restore=恢复 / scan=扫描候选 | |
| reason | No | 退役原因(retire 时) | |
| confirmed | No | owner 确认(retire 时必须 true) | |
| capability_id | Yes | 能力 ID(必填) |