pub fn register_safe_tools(
registry: &mut ToolRegistry,
workspace_dir: &Path,
root_path: &PathBuf,
)Expand description
Register the worker’s read-only tools against the current workspace root.
§Examples
use codetether_agent::a2a::worker_tool_registry::register_safe_tools;
use codetether_agent::tool::ToolRegistry;
use std::path::PathBuf;
let mut registry = ToolRegistry::new();
let root = PathBuf::from(".");
register_safe_tools(&mut registry, root.as_path(), &root);
assert!(registry.contains("read"));
assert!(registry.contains("todoread"));