get_location
Obtain the current GPS location of your Android phone. Choose between GPS, network, or passive providers, and request a single reading, last known location, or continuous updates.
Instructions
Get the phone's current GPS location.
Args: provider: Location provider - 'gps', 'network', or 'passive' (default: gps) request: 'once' for single reading, 'last' for last known location, 'updates' for continuous
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | gps | |
| request | No | once |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |