mcp-use TypeScript API
    Preparing search index...

    Variable PROMPTSConst

    PROMPTS: {
        CODE_MODE: "Use code execution mode to discover and call MCP tools programmatically.";
    } = ...

    Built-in prompt fragments for agent features.

    CODE_MODE instructs a model to discover and invoke MCP tools through the code execution interface.

    Type Declaration

    • ReadonlyCODE_MODE: "Use code execution mode to discover and call MCP tools programmatically."

      Instruction used to enable code-based MCP tool discovery and calls.