MCP TypeScript SDK (V2)
    Preparing search index...

    Configuration for list changed notification handlers.

    Use this to configure handlers for tools, prompts, and resources list changes when creating a client.

    Note: Handlers are only activated if the server advertises the corresponding listChanged capability (e.g., tools.listChanged: true). If the server doesn't advertise this capability, the handler will not be set up.

    type ListChangedHandlers = {
        prompts?: ListChangedOptions<Prompt>;
        resources?: ListChangedOptions<Resource>;
        tools?: ListChangedOptions<Tool>;
    }
    Index

    Properties

    Handler for prompt list changes.

    Handler for resource list changes.

    Handler for tool list changes.