Caller location
get_caller_locationThe caller's own location, from Cloudflare's IP geolocation (edge only: the Worker at api.forlab.io/geo answers it, the Python service does not). Only the address the request comes from is looked up, never one you send. The location is approximate, city level at best, and a value Cloudflare does not know is null. country is the country's place in this dataset (same shape as /v1/contains), null when the dataset lacks it. Replies carry Cache-Control: private, no-store. Works without a key within a daily free quota.
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_caller_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||