Files
zesdex/apps/infrastructure/src/subagent/tools.rs
T
asepharyana da2ed6da25 feat(tui): add usage overlay and sidebar for displaying usage statistics and tasks
feat(tui): implement status bar with connection and turn state indicators
feat(tui): create workflow panel for agent status and progress visualization
feat(web): introduce web frontend interface with static file serving
feat(ws): add WebSocket interface for real-time communication and session management
2026-07-20 09:04:57 +07:00

14 lines
327 B
Rust

//! Subagent tool helpers — wrap tool execution for subagent use.
use crate::tools::{Tool, ToolCtx};
use anyhow::Result;
/// Execute a single tool call within a subagent context.
pub fn execute_tool_call(
tool: &dyn Tool,
ctx: &ToolCtx,
args: &serde_json::Value,
) -> Result<String> {
tool.run(ctx, args)
}