pub struct RespondQuestionTool { /* private fields */ }Implementations§
Source§impl RespondQuestionTool
impl RespondQuestionTool
pub fn new(server: Arc<OnceCell<OrchestratorServer>>) -> Self
Trait Implementations§
Source§impl Clone for RespondQuestionTool
impl Clone for RespondQuestionTool
Source§fn clone(&self) -> RespondQuestionTool
fn clone(&self) -> RespondQuestionTool
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 moreSource§impl Tool for RespondQuestionTool
impl Tool for RespondQuestionTool
Source§const DESCRIPTION: &'static str = r#"Respond to a question request from an OpenCode session.
After replying, continues monitoring the session and returns when complete or when another interruption is required.
Parameters:
- session_id: Session with pending question
- action: "reply" or "reject"
- answers: Required when action=reply; one list per question"#
const DESCRIPTION: &'static str = r#"Respond to a question request from an OpenCode session. After replying, continues monitoring the session and returns when complete or when another interruption is required. Parameters: - session_id: Session with pending question - action: "reply" or "reject" - answers: Required when action=reply; one list per question"#
Human-readable description of what the tool does.
Source§type Input = RespondQuestionInput
type Input = RespondQuestionInput
Input type for the tool (no serde bounds required).
Source§type Output = OrchestratorRunOutput
type Output = OrchestratorRunOutput
Output type for the tool (no serde bounds required).
Auto Trait Implementations§
impl Freeze for RespondQuestionTool
impl !RefUnwindSafe for RespondQuestionTool
impl Send for RespondQuestionTool
impl Sync for RespondQuestionTool
impl Unpin for RespondQuestionTool
impl UnsafeUnpin for RespondQuestionTool
impl !UnwindSafe for RespondQuestionTool
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