pub struct ToolCallInfo {Show 14 fields
pub id: String,
pub title: String,
pub kind: ToolKind,
pub status: ToolCallStatus,
pub content: Vec<ToolCallContent>,
pub collapsed: bool,
pub claude_tool_name: Option<String>,
pub hidden: bool,
pub terminal_id: Option<String>,
pub terminal_command: Option<String>,
pub terminal_output: Option<String>,
pub terminal_output_len: usize,
pub cache: BlockCache,
pub pending_permission: Option<InlinePermission>,
}Fields§
§id: String§title: String§kind: ToolKind§status: ToolCallStatus§content: Vec<ToolCallContent>§collapsed: bool§claude_tool_name: Option<String>The actual Claude Code tool name from meta.claudeCode.toolName
(e.g. “Task”, “Glob”, “mcp__acp__Read”, “WebSearch”)
Hidden tool calls are subagent children - not rendered directly.
terminal_id: Option<String>Terminal ID if this is an Execute tool call with a running/completed terminal.
terminal_command: Option<String>The shell command that was executed (e.g. “echo hello && ls -la”).
terminal_output: Option<String>Snapshot of terminal output, updated each frame while InProgress.
terminal_output_len: usizeLength of terminal buffer at last snapshot - used to skip O(n) re-snapshots when the buffer hasn’t grown.
cache: BlockCachePer-block render cache for this tool call.
pending_permission: Option<InlinePermission>Inline permission prompt - rendered inside this tool call block.
Auto Trait Implementations§
impl Freeze for ToolCallInfo
impl !RefUnwindSafe for ToolCallInfo
impl Send for ToolCallInfo
impl Sync for ToolCallInfo
impl Unpin for ToolCallInfo
impl UnsafeUnpin for ToolCallInfo
impl !UnwindSafe for ToolCallInfo
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more