Skip to main content

tau_agent_base/
tool_prompt.rs

1//! Tool prompt contribution type.
2
3/// A tool's contribution to the system prompt.
4#[derive(Debug, Clone)]
5pub struct ToolPrompt {
6    /// Tool name (e.g. "bash").
7    pub name: String,
8    /// One-line description for the "Available tools" list.
9    pub snippet: String,
10    /// Extra guideline bullets for the "Guidelines" section.
11    pub guidelines: Vec<String>,
12}