add_system_bullets

View as MarkdownOpen in Claude

Add a POM section with bullets to the system prompt. Cannot be combined with set_system_prompt().

Parameters

title
strRequired

Section heading.

bullets
list[str]Required

List of bullet point strings.

Returns

Context — Self for method chaining.

Example

from signalwire import AgentBase
agent = AgentBase(name="my-agent", route="/agent")
contexts = agent.define_contexts()
contexts.add_context("default").add_step("menu").set_text("Ask what the caller needs.")
support = contexts.add_context("support")
support.add_system_bullets("Guidelines", [
"Verify identity before making changes",
"Offer to escalate if issue is unresolved after 5 minutes"
])
support.add_step("diagnose").set_text("Understand the customer's issue.")
agent.serve()