Context passed to a Toolset's setup hook when it activates.

interface ToolsetContext {
    updateTools(tools): void;
}

Methods

Methods

  • Replace the toolset's tools. Useful for dynamic sources (e.g. an MCP server) whose tools are discovered after setup or change at runtime.

    Parameters

    Returns void