list_ssm_parameters
Retrieve names of SSM Parameters stored in AWS Systems Manager to manage configuration data across services.
Instructions
Lists SSM Parameters (names only).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:2277-2283 (handler)The core handler logic for the 'list_ssm_parameters' tool. It sends a DescribeParametersCommand to the SSMClient, extracts parameter names, types, and descriptions, and returns them as JSON.if (name === "list_ssm_parameters") { // DescribeParameters mainly lists them const command = new DescribeParametersCommand({}); const response = await ssmClient.send(command); const params = response.Parameters?.map(p => ({ Name: p.Name, Type: p.Type, Description: p.Description })) || []; return { content: [{ type: "text", text: JSON.stringify(params, null, 2) }] }; }
- src/index.ts:762-766 (registration)Tool registration in the ListToolsRequestSchema handler, including name, description, and input schema (empty object).{ name: "list_ssm_parameters", description: "Lists SSM Parameters (names only).", inputSchema: { "type": "object", "properties": {} } },
- src/index.ts:76-76 (helper)Initialization of the SSMClient used by the list_ssm_parameters handler.const ssmClient = new SSMClient({});
- src/index.ts:43-43 (helper)Import of SSMClient and DescribeParametersCommand required for the tool implementation.import { SSMClient, DescribeParametersCommand } from "@aws-sdk/client-ssm";