crystal_transient_lease
Create, clean, or promote a transient lease for a crystal resource, such as a workspace branch, to manage temporary access and lifecycle in context-crystal.
Instructions
Create, clean, or promote a transient resource lease.
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": {
"crystal_id": "<crystal_id>",
"action": "<action>"
},
"name": "crystal_transient_lease"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action: lease, clean, or promote | |
| lease_id | No | Lease ID | |
| crystal_id | Yes | Crystal identifier | |
| description | No | Lease description | |
| resource_type | No | Resource type (default: workspace_branch) |