Claim a shared resource
claimReserve a shared resource before use so other assistants do not collide; reservations expire and can be extended.
Instructions
Claim a shared resource before using it so other assistants do not collide with you. Names: 'android-device:SERIAL', 'ios-device:NAME', 'emulator', 'simulator', 'port:3000', 'branch:NAME', 'file:PATH'. Devices, emulators and ports are machine-wide; file:/branch:/path: claims are per project. Claims expire (default 30 min, max 480). Claiming again extends your claim. If someone else holds it, the result says so and nothing changes: ask them instead of taking it.
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": {
"resource": "<resource>"
},
"name": "claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | What you are doing with it. | |
| minutes | No | How long you need it (default 30). | |
| resource | Yes | Resource name, no spaces. |