Set container text
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.
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 setting the text.
uuidfield_id*stringWhich field to set the text for. Currently supported: "item_name" (anvil rename)
application/json- body
Request to set text in a container text input field. Currently only supports anvil item renaming.
text*stringThe text value to set. For anvil: max 50 characters for the item name.
Response for container text input action.
application/json- response
Response for container text input action.
success*booleanWhether the text was successfully set.
error?|Error message if success is false. Possible errors: "Unsupported container or field ID: /<field_id>"
curl -X POST 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/container/text-inputs/string:set' \
-H 'Content-Type: application/json' \
-d '{
"text": "string"
}'{
"success": true,
"error": "string"
}Was this page helpful?
Set bot desired state POST
Persists whether the selected bots should be running or stopped. The request returns after the desired state is durable. Connections are reconciled asynchronously and can be observed through WatchBotStatuses.
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.
