MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / reload_builtin_tools

Method reload_builtin_tools

crates/chat-cli/src/cli/chat/mod.rs:1250–1255  ·  view source on GitHub ↗

Reload built-in tools to reflect experiment changes while preserving MCP tools

(&mut self, os: &mut Os)

Source from the content-addressed store, hash-verified

1248
1249 /// Reload built-in tools to reflect experiment changes while preserving MCP tools
1250 pub async fn reload_builtin_tools(&mut self, os: &mut Os) -> Result<(), ChatError> {
1251 self.conversation
1252 .reload_builtin_tools(os, &mut self.stderr)
1253 .await
1254 .map_err(|e| ChatError::Custom(format!("Failed to update tool spec: {e}").into()))
1255 }
1256}
1257
1258impl Drop for ChatSession {

Callers 1

set_enabledMethod · 0.45

Calls 1

CustomClass · 0.85

Tested by

no test coverage detected