ToolGuidancePlacement#

Build extensions, choose hooks, and manage request-scoped state. See the guide.

class zett_agent.extensions.tool_guidelines.ToolGuidancePlacement(*values)[源代码]#

Where a tool's snippet and guidelines are shown to the model.

SYSTEM_PROMPT = 'system_prompt'#

# Tool snippets and # Tool guidelines.

Type:

Two sections of the system instructions

DESCRIPTION = 'description'#

Appended to each tool's own description as one line of plain prose: snippet call shapes introduced by You can call it as, followed by guideline sentences, with no headings or bullets. A multi-line snippet lists every shape, joined by or. When the description already spans lines, the guidance starts on a new line instead of continuing the last one.