pub struct DebugPromptTool {
pub tool_type: Option<String>,
pub name: String,
pub description: String,
pub input_schema: Value,
pub allowed_callers: Option<Vec<String>>,
pub defer_loading: Option<bool>,
pub input_examples: Option<Vec<Value>>,
pub strict: Option<bool>,
pub cache_control: Option<DebugCacheControl>,
}Expand description
Only the schema field is arbitrary structured JSON, as on the live tool catalog. Optional transport fields retain the core Tool’s omission rules.
Fields§
§tool_type: Option<String>§name: String§description: String§input_schema: Value§allowed_callers: Option<Vec<String>>§defer_loading: Option<bool>§input_examples: Option<Vec<Value>>§strict: Option<bool>§cache_control: Option<DebugCacheControl>Trait Implementations§
Source§impl Clone for DebugPromptTool
impl Clone for DebugPromptTool
Source§impl Debug for DebugPromptTool
impl Debug for DebugPromptTool
Source§impl PartialEq for DebugPromptTool
impl PartialEq for DebugPromptTool
Source§impl Serialize for DebugPromptTool
impl Serialize for DebugPromptTool
impl StructuralPartialEq for DebugPromptTool
Auto Trait Implementations§
impl Freeze for DebugPromptTool
impl RefUnwindSafe for DebugPromptTool
impl Send for DebugPromptTool
impl Sync for DebugPromptTool
impl Unpin for DebugPromptTool
impl UnsafeUnpin for DebugPromptTool
impl UnwindSafe for DebugPromptTool
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