list_versions
Lists FedRAMP document versions with metadata to track regulatory changes and compliance requirements.
Instructions
List detected FRMR versions and associated metadata from documents.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/list_versions.ts:16-18 (handler)The execute handler function for the 'list_versions' tool, which calls listVersions() from indexer.ts and wraps the result.execute: async () => { return { versions: listVersions() }; },
- src/tools/list_versions.ts:6-6 (schema)Zod input schema for the tool (empty object, no parameters).const schema = z.object({});
- src/tools/register.ts:18-18 (registration)Import of the listVersionsTool definition.import { listVersionsTool } from "./list_versions.js";
- src/tools/register.ts:29-29 (registration)Registration of listVersionsTool in the tools array passed to registerToolDefs.listVersionsTool,
- src/indexer.ts:736-743 (helper)Core helper function that extracts and returns version information from indexed FRMR documents.export function listVersions(): VersionInfo[] { return getIndexState().frmrDocuments.map((doc) => ({ type: doc.type, version: doc.version, published: doc.published, path: doc.path, })); }