Skip to content

MCP tool reference ​

<!-- Generated by docs-site/scripts/generate-reference-pages.mjs. Do not edit. -->

Generated page

Built from server/src/mcp_location_tool.rs on every docs build, so it always matches the code.

get_phone_location ​

Ping the user's phone and return its current GPS location (latitude, longitude, accuracy in meters, capture time). Use when you need to know where the user is right now. Pass person to locate someone who shares their location with the user.

Parameters ​

FieldTypeRequiredNotes
personstringnoEmail or display name of someone who shares their location with you (see list_people_sharing_with_me). Omit for your own phones.
timeout_secsinteger (uint64)noSeconds to wait for the phone, including time for the user to open the app. Default 60. Range 1 to 120.

Input schema ​

json
{
  "properties": {
    "person": {
      "description": "Email or display name of someone who shares their location with you (see list_people_sharing_with_me). Omit for your own phones.",
      "type": [
        "string",
        "null"
      ]
    },
    "timeout_secs": {
      "description": "Seconds to wait for the phone, including time for the user to open the app. Default 60.",
      "format": "uint64",
      "maximum": 120,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "type": "object"
}

list_people_sharing_with_me ​

List the people who share their location with you: display_name and email. Pass either as person to get_phone_location.

Parameters ​

No fields.

Input schema ​

json
{
  "properties": {},
  "type": "object"
}