pub struct ToolUseContextOptions {Show 15 fields
pub commands: Vec<Value>,
pub debug: bool,
pub main_loop_model: String,
pub tools: Vec<ToolDefinition>,
pub verbose: bool,
pub thinking_config: Option<Value>,
pub mcp_clients: Vec<Value>,
pub mcp_resources: HashMap<String, Vec<Value>>,
pub is_non_interactive_session: bool,
pub agent_definitions: AgentDefinitionsResult,
pub max_budget_usd: Option<f64>,
pub custom_system_prompt: Option<String>,
pub append_system_prompt: Option<String>,
pub query_source: Option<String>,
pub refresh_tools: Option<Arc<dyn Fn() -> Vec<ToolDefinition> + Send + Sync>>,
}Fields§
§commands: Vec<Value>§debug: bool§main_loop_model: String§tools: Vec<ToolDefinition>§verbose: bool§thinking_config: Option<Value>§mcp_clients: Vec<Value>§mcp_resources: HashMap<String, Vec<Value>>§is_non_interactive_session: bool§agent_definitions: AgentDefinitionsResult§max_budget_usd: Option<f64>§custom_system_prompt: Option<String>§append_system_prompt: Option<String>§query_source: Option<String>§refresh_tools: Option<Arc<dyn Fn() -> Vec<ToolDefinition> + Send + Sync>>Trait Implementations§
Source§impl Clone for ToolUseContextOptions
impl Clone for ToolUseContextOptions
Source§fn clone(&self) -> ToolUseContextOptions
fn clone(&self) -> ToolUseContextOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ToolUseContextOptions
impl !RefUnwindSafe for ToolUseContextOptions
impl Send for ToolUseContextOptions
impl Sync for ToolUseContextOptions
impl Unpin for ToolUseContextOptions
impl UnsafeUnpin for ToolUseContextOptions
impl !UnwindSafe for ToolUseContextOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more