Lifecycle Editable
lifecycle_editableCheck if an item is editable before writing by verifying its lifecycle state; returns whether it is in_work (editable) or frozen.
Instructions
The cheap "is this editable?" check a builder runs before writing (#141 C2). An item is editable only in lifecycle state in_work; in_review, released and obsolete are frozen (released = immutable, the API-stability guarantee).
registry: path to the items.json sidecar. item: the item id to check.
Returns {ok, editable, state}.
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": {
"registry": "<registry>",
"item": "<item>"
},
"name": "lifecycle_editable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| registry | Yes | ||
| workspace | No | Run this call in this named workspace |