squads_list
Retrieve a comprehensive list of all internal squads within the Remnawave VPN panel for administrative oversight and management.
Instructions
List all internal squads
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/squads.ts:11-23 (registration)The 'squads_list' tool is registered here, using the client.getInternalSquads() method as its handler.
server.tool( 'squads_list', 'List all internal squads', {}, async () => { try { const result = await client.getInternalSquads(); return toolResult(result); } catch (e) { return toolError(e); } }, ); - src/client/index.ts:249-251 (handler)The actual handler logic for 'squads_list' which performs a GET request to fetch internal squads via the Remnawave API.
async getInternalSquads() { return this.get(REST_API.INTERNAL_SQUADS.GET); }