Skip to main content
Glama

renderdoc_close_capture

Close the currently open RenderDoc capture file to release system resources and prepare for new debugging sessions.

Instructions

Close the currently open RDC capture file and release resources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The MCP tool handler for renderdoc_close_capture. This function calls the wrapper's close_capture method and returns a success message.
    elif name == "renderdoc_close_capture":
        wrapper.close_capture()
        return [TextContent(type="text", text="Capture closed successfully.")]
  • Tool schema definition for renderdoc_close_capture, defining its name, description, and input schema (which requires no parameters).
    Tool(
        name="renderdoc_close_capture",
        description="Close the currently open RDC capture file and release resources.",
        inputSchema={
            "type": "object",
            "properties": {},
            "required": [],
        },
    ),
  • The actual implementation of close_capture in the RenderDocWrapper class. It shuts down the replay controller and clears the current file reference.
    def close_capture(self) -> None:
        """Close the current capture."""
        if self.controller:
            self.controller.ShutdownReplay()
            self.controller = None
        self.current_file = None

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/Hengle/Renderdoc-Mcp2'

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