Skip to content

Set GPS location

  • Type phone.setGps
  • Group MZBase
  • Role action
  • Risk changes data
  • Side effect safe to repeat
  • Runs once per item
  • Needs phone

Sets a mock GPS location on the phone

Also available to AI agents and over MCP as a tool.

phoneId

Phone · string · optional

The phone to use. Empty = the phone of the run’s target.

clear

Clear first · boolean · optional · default false

latitude

Latitude · number · optional · range -90 – 90

Latitude in degrees, e.g. 10.7769.

Shown when clear is false.

longitude

Longitude · number · optional · range -180 – 180

Longitude in degrees, e.g. 106.7009.

Shown when clear is false.

accuracy

Accuracy (m) · number · optional · default 10 · range 0 – …

Shown when clear is false.

altitude

Altitude (m) · number · optional

Shown when clear is false.

jitterMeters

Random drift (m) · number · optional · default 0 · range 0 – 1000

Move the point randomly by up to this many metres (with the seed, the same per account).

Shown when clear is false.

seed

Randomness · object · optional · default {"mode":"random"}

Shown when clear is false.

Fields:

  • mode (string) Mode
  • value (integer) Value
  • main

← All nodes