pub struct ToolCallView {
pub call_id: String,
pub name: String,
pub iteration: u64,
pub arguments: Value,
pub arguments_bytes: u64,
pub arguments_sha256: String,
pub arguments_truncated: bool,
pub permission: PermissionView,
pub surface: String,
pub frame: Option<FrameInfo>,
}Expand description
tool/pre payload (§3.2.5). arguments is the parsed value
(redacted) when its serialization fits the frame bound, else a string
prefix with arguments_truncated: true — the two forms are exhaustive
and unambiguous.
Fields§
§call_id: String§name: String§iteration: u64§arguments: Value§arguments_bytes: u64§arguments_sha256: String§arguments_truncated: bool§permission: PermissionView§surface: StringThe only value in v1: "react" (§3.5).
frame: Option<FrameInfo>Trait Implementations§
Source§impl Clone for ToolCallView
impl Clone for ToolCallView
Source§impl Debug for ToolCallView
impl Debug for ToolCallView
Auto Trait Implementations§
impl Forget for ToolCallView
impl Freeze for ToolCallView
impl Move for ToolCallView
impl RefUnwindSafe for ToolCallView
impl Send for ToolCallView
impl Sync for ToolCallView
impl Unpin for ToolCallView
impl UnsafeUnpin for ToolCallView
impl UnwindSafe for ToolCallView
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