Select hotbar slot
Changes the selected hotbar slot. Valid slot range: 0-8 (corresponding to slots 1-9 in the UI). The action is queued and executed on the next game tick.
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
instance_id*stringThe UUID of the SoulFire instance containing the bot.
uuidbot_id*stringThe profile UUID of the bot to change hotbar selection for.
uuidslot*integerHotbar slot index to select. Range: 0-8 (corresponding to slots 1-9 in the UI).
int32Response for hotbar slot selection.
application/json- response
Response for hotbar slot selection.
success*booleanWhether the hotbar slot was successfully changed.
error?|Error message if success is false. Possible errors: "Hotbar slot must be between 0 and 8, got: ", "Player is not available"
curl -X POST 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/hotbar/0:select'{
"success": true,
"error": "string"
}Was this page helpful?
Set container text POST
Sets text in a container's text input field. Currently only supports anvil item renaming (field_id: "item_name"). The action is queued and executed on the next game tick.
Set movement state POST
Updates the bot's movement state (WASD, jump, sneak, sprint). Only specified fields are changed; omitted fields retain their current value. Movement persists until explicitly changed or reset. The action is queued and executed on the next game tick.
