pub struct AdvisorTool {
pub model: ClaudeModel,
pub name: AdvisorToolName,
pub type_: AdvisorTool20260301Type,
pub caching: Option<CacheControl>,
pub max_tokens: Option<u64>,
pub max_uses: Option<u64>,
pub common: ToolCommonWithoutInputExamples,
}Fields§
§model: ClaudeModel§name: AdvisorToolName§type_: AdvisorTool20260301Type§caching: Option<CacheControl>§max_tokens: Option<u64>Bounds the advisor’s total output (thinking + text) per call.
max_uses: Option<u64>§common: ToolCommonWithoutInputExamplesTrait Implementations§
Source§impl Clone for AdvisorTool
impl Clone for AdvisorTool
Source§fn clone(&self) -> AdvisorTool
fn clone(&self) -> AdvisorTool
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdvisorTool
impl Debug for AdvisorTool
Source§impl<'de> Deserialize<'de> for AdvisorTool
impl<'de> Deserialize<'de> for AdvisorTool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AdvisorTool
impl PartialEq for AdvisorTool
Source§impl Serialize for AdvisorTool
impl Serialize for AdvisorTool
impl StructuralPartialEq for AdvisorTool
Auto Trait Implementations§
impl Freeze for AdvisorTool
impl RefUnwindSafe for AdvisorTool
impl Send for AdvisorTool
impl Sync for AdvisorTool
impl Unpin for AdvisorTool
impl UnsafeUnpin for AdvisorTool
impl UnwindSafe for AdvisorTool
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