Set movement state
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.
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 control.
uuidapplication/json- body
Request to update the bot's movement state. Each field is optional to allow partial updates - only specified fields are changed. The movement state persists until explicitly changed or reset.
forward?|W key state - move forward. true = pressing W, false = not pressing W
backward?|S key state - move backward. true = pressing S, false = not pressing S
left?|A key state - strafe left. true = pressing A, false = not pressing A
right?|D key state - strafe right. true = pressing D, false = not pressing D
jump?|Space key state - jump. true = pressing Space, false = not pressing Space When held, the bot will jump repeatedly.
sneak?|Shift key state - sneak/crouch. true = sneaking, false = not sneaking While sneaking: slower movement, won't fall off edges, crouching animation.
sprint?|Ctrl key state - sprint. true = sprinting, false = not sprinting Requires forward movement and sufficient hunger (food level >= 6).
Response for movement state update.
application/json- response
Response for movement state update.
success*booleanWhether the movement state was successfully updated.
error?|Error message if success is false.
curl -X POST 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/movement:set' \
-H 'Content-Type: application/json' \
-d '{}'{
"success": true,
"error": "string"
}Was this page helpful?
Select hotbar slot POST
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.
Set bot rotation POST
Sets the bot's view rotation (look direction). Yaw is normalized to -180 to 180, pitch is clamped to -90 to 90. The action is queued and executed on the next game tick.
