List DNS records in a zone
lw_record_listList DNS records in a zone and filter by type or name to inspect TTL, priority, and rdata details; use returned record IDs with update or delete tools.
Instructions
List records in a zone (v1 Network/DNS/Record/list). Returns id, name (fully qualified), type, ttl, prio and rdata. Optional client-side filters by type and name. Use the id with lw_record_update or lw_record_delete. verbose=true returns raw API objects.
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": "lw_record_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Only this name (relative like "www" or fully qualified; "@" for the apex). | |
| type | No | Only this record type, e.g. MX. | |
| zone | No | Zone name, e.g. "example.com". Give this or zone_id. | |
| context | No | Auth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them. | |
| verbose | No | Return raw API objects instead of the compact summary. | |
| zone_id | No | Numeric zone id from lw_zone_list. Give this or zone. | |
| max_items | No | Return at most this many items (default LW_MAX_ITEMS, 500). When more remain, the result says truncated and gives next_page if the cut fell on a 100-item page boundary; otherwise raise max_items. | |
| start_page | No | Resume from this page (use next_page from a previous call). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | Yes | ||
| context | No | ||
| preview | No | ||
| summary | Yes | ||
| warnings | No | ||
| next_page | No | ||
| next_step | No | ||
| truncated | No | ||
| expires_at | No | ||
| confirm_token | No |