invoke_action
Finds a reachable GameObject and executes the specified operator on it.
How to use it
Project documentation lists invoke_action for the Gameplay MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
FULL GAMEPLAY MCP LISTINGOther tools in Gameplay MCP (4)
Inspect a GameObject by name, path, text label, or texture name and returns properties as JSON. Waits for the GameObject to appear and become reachable within a timeout period.
Returns a list of operable actions as a JSON array. Each entry contains a target GameObject and the operator class name that can act on it. For Button components, the text label and texture name are also included in the target.
Returns the currently loaded scenes as JSON. The active scene is marked with active=true.
Captures the current game screen and returns it as an image.