Documentation
Agent Context

Copy Page

Copy any docs page as Markdown, text, JSON, agent prompt, command, or URL.

Status: Available.

Every docs page exposes a Copy Page control. The default button copies Markdown. The dropdown exposes other formats for different workflows.

Formats

FormatCopiesUse
.mdMarkdown page contextDrop into a prompt, issue, or local doc.
.txtPlain textUse with tools that do not handle Markdown well.
.jsonStructured context payloadPreserve title, URL, path, slug, TOC, content, and CLI metadata.
Agent promptPrompt-wrapped docs contextGive an agent strong source-grounded instructions.
Commandnpx agentmag add docs <slug>Install context locally.
URLCanonical docs URLShare the page.

On this page