pressable_list_dns_zones
Retrieve all DNS zones for WordPress site management through the Pressable API, enabling users to view and manage DNS configurations.
Instructions
Get a list of all DNS zones.
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": "pressable_list_dns_zones"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- tools/dns.js:8-10 (handler)Handler function for the pressable_list_dns_zones tool which performs a GET request to /dns/zones.
handler: async () => { return await api.get('/dns/zones'); } - tools/dns.js:4-11 (registration)Registration block for the pressable_list_dns_zones tool definition.
{ name: 'pressable_list_dns_zones', description: 'Get a list of all DNS zones.', inputSchema: { type: 'object', properties: {} }, handler: async () => { return await api.get('/dns/zones'); } },