opnsense_acme_list_accounts
Lists all ACME accounts (e.g., Let's Encrypt, ZeroSSL) configured in the OPNsense ACME client plugin.
Instructions
List all ACME accounts (Let's Encrypt, ZeroSSL, etc.) configured in the os-acme-client plugin
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/acme.ts:354-357 (handler)Handler case for opnsense_acme_list_accounts. Calls client.get('/acmeclient/accounts/search') and returns the JSON result.
case "opnsense_acme_list_accounts": { const result = await client.get("/acmeclient/accounts/search"); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } - src/tools/acme.ts:116-118 (schema)DeleteAccountSchema - empty object schema (no input params needed for list accounts, though this is the delete schema). The list_accounts tool has no input schema (empty object).
const DeleteAccountSchema = z.object({ uuid: UuidSchema, }); - src/tools/acme.ts:154-159 (registration)Tool definition entry in acmeToolDefinitions array, registering 'opnsense_acme_list_accounts' with an empty inputSchema.
export const acmeToolDefinitions = [ { name: "opnsense_acme_list_accounts", description: "List all ACME accounts (Let's Encrypt, ZeroSSL, etc.) configured in the os-acme-client plugin", inputSchema: { type: "object" as const, properties: {} }, }, - src/index.ts:65-65 (registration)Registration of the acme tool definitions into the toolHandlers map, mapping each acme tool name to handleAcmeTool.
for (const def of acmeToolDefinitions) toolHandlers.set(def.name, handleAcmeTool);