pub struct GetSessionStateTool { /* private fields */ }Expand description
Tool for getting detailed state of a specific OpenCode session.
Implementations§
Source§impl GetSessionStateTool
impl GetSessionStateTool
pub fn new(server: Arc<OrchestratorServerHandle>) -> Self
Trait Implementations§
Source§impl Clone for GetSessionStateTool
impl Clone for GetSessionStateTool
Source§fn clone(&self) -> GetSessionStateTool
fn clone(&self) -> GetSessionStateTool
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 Tool for GetSessionStateTool
impl Tool for GetSessionStateTool
Source§const DESCRIPTION: &'static str = "Get detailed state of a specific session including status, pending messages, and recent tool calls."
const DESCRIPTION: &'static str = "Get detailed state of a specific session including status, pending messages, and recent tool calls."
Human-readable description of what the tool does.
Source§type Input = GetSessionStateInput
type Input = GetSessionStateInput
Input type for the tool (no serde bounds required).
Source§type Output = GetSessionStateOutput
type Output = GetSessionStateOutput
Output type for the tool (no serde bounds required).
Auto Trait Implementations§
impl Freeze for GetSessionStateTool
impl !RefUnwindSafe for GetSessionStateTool
impl Send for GetSessionStateTool
impl Sync for GetSessionStateTool
impl Unpin for GetSessionStateTool
impl UnsafeUnpin for GetSessionStateTool
impl !UnwindSafe for GetSessionStateTool
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