Skip to main content
Glama

checkpoint_list

Lists all saved checkpoints for the current workspace to track progress and restore previous states.

Instructions

List all checkpoints for the current workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler function that executes the checkpoint_list tool logic by listing checkpoints from the manager and returning a Pydantic response model.
    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)
  • Registers the checkpoint_list tool with the MCP server using the @server.tool decorator, delegating 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()
  • Pydantic BaseModel defining the output schema for the checkpoint_list tool, containing a list of CheckpointInfo objects.
    class CheckpointListResponse(BaseModel): """Response from checkpoint list""" checkpoints: list[CheckpointInfo]
  • Pydantic model for individual checkpoint information, used within CheckpointListResponse.
    class CheckpointInfo(BaseModel): """Information about a checkpoint""" id: str name: str | None = None description: str created_at: datetime workspace: str provider_type: ProviderType stats: dict[str, Any] = Field(default_factory=dict)

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