Skip to main content

tool_activity

Function tool_activity 

Source
pub fn tool_activity(
    tool_name: &str,
    args: &Value,
    workspace_root: Option<&Path>,
) -> ToolActivity
Expand description

Verb-led activity for a running tool call (Updating task tracker, Running command: cargo check).

The present-continuous counterpart of verb_callout_headline, which stays past-tense for completed rows. Known tools get an action-aware verb (task_tracker create vs list, unified dispatchers by action); unknown tools fall back to Running <humanize_tool_name> so a raw identifier never reaches the shimmer. MCP prefixes are stripped by the same canonical helper every other headline uses.