diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs
index 2519ec317..d30ef3655 100644
--- a/crates/uv-cli/src/lib.rs
+++ b/crates/uv-cli/src/lib.rs
@@ -2014,7 +2014,8 @@ pub struct ToolListArgs;
#[derive(Args)]
#[allow(clippy::struct_excessive_bools)]
pub struct ToolUninstallArgs {
- pub name: String,
+ /// The name of the tool to uninstall.
+ pub name: PackageName,
}
#[derive(Args)]
diff --git a/crates/uv-tool/src/lib.rs b/crates/uv-tool/src/lib.rs
index ecab0edfe..117a7111a 100644
--- a/crates/uv-tool/src/lib.rs
+++ b/crates/uv-tool/src/lib.rs
@@ -96,8 +96,8 @@ impl InstalledTools {
}
/// Get the receipt for the given tool.
- pub fn get_tool_receipt(&self, name: &str) -> Result