mcp-use TypeScript API
    Preparing search index...

    Function markdown

    Prefer raw CallToolResult, ReadResourceResult, or GetPromptResult returns. These helpers remain for upgrade compatibility and map to the official wire envelopes.

    • Create a Markdown text tool result.

      Parameters

      • content: string

        Markdown text.

      Returns ToolContentResult

      Tool result with text/markdown MIME metadata.

      Prefer { content: [{ type: "text", text: content }] }.