Revert "Internal MCP Crate Cleanup (#4800)" (#4883)

This commit is contained in:
Alex Hancock
2025-09-29 14:21:30 -04:00
committed by GitHub
parent 2cfef016e2
commit b9ba8dca29
78 changed files with 1090 additions and 844 deletions
+5 -6
View File
@@ -1,7 +1,6 @@
#![cfg(test)]
use rmcp::model::{CallToolRequestParam, ErrorCode};
use rmcp::object;
use rmcp::model::ErrorCode;
use serde_json::json;
use goose::agents::platform_tools::PLATFORM_MANAGE_SCHEDULE_TOOL_NAME;
@@ -809,11 +808,11 @@ async fn test_schedule_tool_dispatch() {
.await;
// Test that the tool is properly dispatched through dispatch_tool_call
let tool_call = CallToolRequestParam {
name: PLATFORM_MANAGE_SCHEDULE_TOOL_NAME.into(),
arguments: Some(object!({
let tool_call = mcp_core::tool::ToolCall {
name: PLATFORM_MANAGE_SCHEDULE_TOOL_NAME.to_string(),
arguments: json!({
"action": "list"
})),
}),
};
let (request_id, result) = agent