tool
app.tool = text; // "browse" or "edit"
The tool property sets the current tool mode. It corresponds to the Browse Mode and Edit Mode commands in the Tool menu.
The default setting is "browse".