Skip to main content

execute_tool

Function execute_tool 

Source
pub fn execute_tool(name: &str, arguments: &Value) -> Result<Value, String>
Expand description

Execute one fake tool in memory. Deterministic per (tool, arguments); never touches the filesystem, terminal, or network.

  • read_fixture{"status":"success","fixture_id":...,"source":...};
  • run_fixture_test{"status":"fail","fixture_id":...,"output":...} (a CONTROLLED failure report - the execution succeeds, the report says the fixture’s test failed);
  • write_fixture_patch{"status":"success","applied":true,...}.