use-held-item
Activates or releases the item held in the bot's main hand or offhand, optionally after a tick delay; set duration to 0 for a single activation.
Instructions
Use or release the held item in the main hand or offhand
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "use-held-item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offhand | No | ||
| durationTicks | No | Ticks before releasing; 0 performs a single activation |