Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/nnaridz/RbxGenie/llms.txt

Use this file to discover all available pages before exploring further.

Description

Stops the current play mode or server session in Roblox Studio, equivalent to clicking the “Stop” button.

Endpoint

stop_play

Parameters

This tool takes no parameters.

Response

ok
boolean
Returns true if the session was stopped successfully
mode
string
Returns "edit" to indicate the mode after stopping
error
string
Error message if there was no active session to stop

Examples

Stop play mode

{}
Response:
{
  "ok": true,
  "mode": "edit"
}

Not running

{}
Response:
{
  "error": "Not running"
}

Notes

  • Works for both play mode and server mode
  • The operation is asynchronous
  • Returns to edit mode after stopping
  • Use get_studio_mode to verify the mode after stopping