Add a new section to the prompt. Sections give the AI structured instructions that are easier to follow than a single block of text. Each section has a title and optional body text, bullet points, and subsections.
POM sections cannot be mixed with setPromptText() in the same agent. Use one
approach or the other.
Section heading displayed to the AI.
Optional section content.
Section body text.
List of bullet point strings.
Whether the section itself should be numbered.
Whether bullet points should be numbered instead of bulleted.
List of subsection objects, each with title, optional body, and optional bullets.
AgentBase — Returns this for method chaining.