The argument is the Stata command or help topic (e.g., "regress", "graph", "if", "egen", "frames").
Call stata_get_help(topic=<argument>, plain_text=False, merge_paragraphs=True).
Display the help text. The response is formatted as Markdown. Present:
- Syntax section first
- Description and options
- Examples if present
If no argument is provided, ask the user which Stata command they want help with.
If the help topic is not found (error in response), suggest:
- Checking spelling (e.g., "summarize" not "summarise")
- Using
help contentsas the topic for the help index - Searching for related commands with
/stata-inspectusingaction="search"