List server templates
lw_template_listList available server templates by type, region, zone, or name so you can choose the correct template_name for creating or reimaging a Liquid Web server.
Instructions
List server templates (OS, management level and control panel) (v2 server/template/list). Filter by server_type, region_id, zone_id or name. Use the name as template_name in lw_server_create or lw_server_reimage.
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_template_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Template name to match. | |
| 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 | Zone id. | |
| 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. | |
| region_id | No | Region id (lw_region_list). | |
| start_page | No | Resume from this page (use next_page from a previous call). | |
| server_type | No | Server type, e.g. Cloud.VPS. | |
| include_unavailable | No | Also list items that are not currently available. Default false. |
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 |