Mark glob/grep as code blocks (#34628)

Ben Brandt created

Release Notes:

- N/A

Change summary

crates/agent_servers/src/claude/tools.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

crates/agent_servers/src/claude/tools.rs 🔗

@@ -97,10 +97,10 @@ impl ClaudeTool {
             }
             Self::Write(None) => "Write".into(),
             Self::Glob(Some(params)) => {
-                format!("Glob {params}")
+                format!("Glob `{params}`")
             }
             Self::Glob(None) => "Glob".into(),
-            Self::Grep(Some(params)) => params.to_string(),
+            Self::Grep(Some(params)) => format!("`{params}`"),
             Self::Grep(None) => "Grep".into(),
             Self::WebFetch(Some(params)) => format!("Fetch {}", params.url),
             Self::WebFetch(None) => "Fetch".into(),