Skip to main content
Glama

checkpoint_list

Lists all saved checkpoints for the current virtual filesystem workspace to track changes and restore previous states.

Instructions

List all checkpoints for the current workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function implementing the checkpoint_list tool logic. It fetches the list of checkpoints from the CheckpointManager and wraps it in a CheckpointListResponse.
    async def checkpoint_list(self) -> CheckpointListResponse: """ List all checkpoints for the current workspace. Returns: CheckpointListResponse with list of checkpoints """ checkpoints = await self.checkpoint_manager.list_checkpoints() return CheckpointListResponse(checkpoints=checkpoints)
  • The registration of the 'checkpoint_list' tool using the @server.tool decorator in the MCP server setup. It delegates execution to the CheckpointTools instance.
    @server.tool async def checkpoint_list(): """List all checkpoints for the current workspace.""" return await checkpoint_tools_instance.checkpoint_list()
  • The Pydantic schema defining the output structure of the checkpoint_list tool response, containing a list of CheckpointInfo objects.
    class CheckpointListResponse(BaseModel): """Response from checkpoint list""" checkpoints: list[CheckpointInfo]

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrishayuk/chuk-mcp-vfs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server