pub fn path_arg(args: &Value) -> Option<&str>
Pull the target path from a write tool’s arguments (file_path → notebook_path → path). Returns None when the input is not an object or carries no string path.
file_path
notebook_path
path
None