List geofences
list_geofencesRetrieve an account's geofences—the named places devices enter and leave—and filter them by place type, ownership, search term, or sort order.
Instructions
List geofences
Lists the account's geofences, the named places devices enter and leave. Filterable by place type and ownership type, each multi-value. Each geofence's page in the GPX app is https://app.gpx.co/geofences/{id}.
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": "list_geofences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. Must be at least 1. | |
| sort | No | Sort column, prefixed with - for descending. | |
| search | No | Partial match on the geofence name. Must not be greater than 255 characters. | |
| per_page | No | Results per page. Defaults to 50, capped at 100. Must be at least 1. Must not be greater than 100. | |
| place_type | No | A place type slug, standard or one of the account's own. A standard slug also matches its custom types. Up to 100 values. | |
| ownership_type | No | An ownership type. |