pub struct ChatToolCallAuthResolvedAction {
pub turn_id: String,
pub tool_call_id: String,
pub meta: Option<JsonObject>,
}Expand description
The authentication challenge blocking a tool call has been resolved (the
client pushed a token via authenticate and the host validated it).
Transitions the tool call from auth-required back to running,
preserving the fields it had before pausing.
The host SHOULD remove the corresponding session/inputNeededSet entry
(kind toolAuthentication) once this is dispatched.
Fields§
§turn_id: StringTurn identifier
tool_call_id: StringTool call identifier
meta: Option<JsonObject>Additional provider-specific metadata for this tool call.
Clients MAY look for well-known keys here to provide enhanced UI.
For example, a ptyTerminal key with { input: string; output: string }
indicates the tool operated on a terminal (both input and output may
contain escape sequences).
Trait Implementations§
Source§impl Clone for ChatToolCallAuthResolvedAction
impl Clone for ChatToolCallAuthResolvedAction
Source§fn clone(&self) -> ChatToolCallAuthResolvedAction
fn clone(&self) -> ChatToolCallAuthResolvedAction
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<'de> Deserialize<'de> for ChatToolCallAuthResolvedAction
impl<'de> Deserialize<'de> for ChatToolCallAuthResolvedAction
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
impl StructuralPartialEq for ChatToolCallAuthResolvedAction
Auto Trait Implementations§
impl Freeze for ChatToolCallAuthResolvedAction
impl RefUnwindSafe for ChatToolCallAuthResolvedAction
impl Send for ChatToolCallAuthResolvedAction
impl Sync for ChatToolCallAuthResolvedAction
impl Unpin for ChatToolCallAuthResolvedAction
impl UnsafeUnpin for ChatToolCallAuthResolvedAction
impl UnwindSafe for ChatToolCallAuthResolvedAction
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