pub struct PendingToolCallInfo {
pub id: String,
pub name: String,
pub display_name: String,
pub tier: ToolTier,
pub input: Value,
pub effective_input: Value,
pub listen_context: Option<ListenExecutionContext>,
}Expand description
Information about a pending tool call that was extracted from the LLM response.
Fields§
§id: StringUnique ID for this tool call (from LLM)
name: StringTool name string (for LLM protocol)
display_name: StringHuman-readable display name
tier: ToolTierPermission tier of the tool, captured at the moment the LLM requested the call.
Persisted on the continuation so that authoritative audit records
on the externalized tool-runtime path can attribute the correct
tier even though the registry is no longer reachable at resume
time. Defaults to ToolTier::Confirm (the strictest default)
when deserialized from a continuation that predates this field.
input: ValueTool input parameters as requested by the LLM.
effective_input: ValueEffective input after SDK preparation (e.g. listen-context enrichment).
For most tools this equals input. The server persists this for
execution while input stays as the audit trail.
listen_context: Option<ListenExecutionContext>Optional context for tools that prepare asynchronously and execute later.
Trait Implementations§
Source§impl Clone for PendingToolCallInfo
impl Clone for PendingToolCallInfo
Source§fn clone(&self) -> PendingToolCallInfo
fn clone(&self) -> PendingToolCallInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more