# System Command

System Commands are used to control the device environment, app lifecycle, and system-level behaviors during a test run. **These commands follow a strict, fixed syntax and must be executed exactly as defined**. System Commands operate outside the UI layer and are not influenced by on-screen elements.

They are typically used for:<br>

1. Managing the app lifecycle (open, kill, clear)
2. Simulating device actions (going back to previous screen)
3. Updating device state (GPS/location)
4. Switching between apps
5. Storing or reusing values within a test


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.drizz.dev/commands-reference/system-command.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
