pub struct PostToolCallContext {
pub call: ToolCall,
pub result: ToolResult,
pub meta: ToolMeta,
pub tool: Arc<dyn Tool>,
}Expand description
PostToolCall の入力コンテキスト
Fields§
§call: ToolCallツール呼び出し情報
result: ToolResultツール実行結果(改変可能)
meta: ToolMetaツールメタ情報(不変)
tool: Arc<dyn Tool>ツールインスタンス(状態アクセス用)
Auto Trait Implementations§
impl Freeze for PostToolCallContext
impl !RefUnwindSafe for PostToolCallContext
impl Send for PostToolCallContext
impl Sync for PostToolCallContext
impl Unpin for PostToolCallContext
impl !UnwindSafe for PostToolCallContext
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