tsml_geocode_address
Converts an address string into geographic coordinates (latitude/longitude) for mapping and location-based searches; requires a WordPress nonce for authenticated use.
Instructions
Convert an address string to geographic coordinates (latitude/longitude). Note: This endpoint requires authentication via nonce.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>",
"nonce": "<nonce>"
},
"name": "tsml_geocode_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | WordPress nonce for authentication (required) | |
| address | Yes | Address to geocode (e.g., "123 Main St, New York, NY 10001") |