Skip to content

Commit e8048a7

Browse files
Adapt pre_mcp_tool_call_hook test to Option<Vec<String>> tools field
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b09ffcd commit e8048a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/tests/e2e/pre_mcp_tool_call_hook.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn meta_echo_mcp_servers(repo_root: &std::path::Path) -> HashMap<String, McpServ
2020
HashMap::from([(
2121
"meta-echo".to_string(),
2222
McpServerConfig::Stdio(McpStdioServerConfig {
23-
tools: vec!["*".to_string()],
23+
tools: Some(vec!["*".to_string()]),
2424
command: if cfg!(windows) {
2525
"node.exe".to_string()
2626
} else {

0 commit comments

Comments
 (0)