Skip to main content

execute_agent_command

Function execute_agent_command 

Source
pub fn execute_agent_command(
    output: &str,
    agent: &mut dyn AgentControl,
) -> Option<String>
Expand description

Parse a CMD: prefixed tool output and execute the corresponding agent mutation. Returns a human-readable result string, or None if the output is not a command.