Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (c *MCPConn) Goto(url string) (string, error) {
return "", fmt.Errorf("navigate %s: %w", url, err)
}

return fmt.Sprintf("navigation to %s done", url), nil
return fmt.Sprintf("The browser correctly navigated to '%s', the page is loaded in the context of the browser and can be used.", url), nil
}

// Return the document's content in Markdown format.
Expand All @@ -93,7 +93,7 @@ func (c *MCPConn) GetMarkdown() (string, error) {
converter := md.NewConverter("", true, nil)
content, err := converter.ConvertString(html)
if err != nil {
return "", fmt.Errorf("convert to markdown: %w", err)
return "", fmt.Errorf("The document has been converted to markdown: %w", err)
}

return content, nil
Expand Down
Loading