feat!: align model types with MCP 2025-11-25 spec (#927)
* feat!: align model types with MCP 2025-11-25 spec * fix: complete 2025-11-25 model spec conformance
This commit is contained in:
parent
42a1069833
commit
77932141e3
1 changed files with 4321 additions and 3886 deletions
|
|
@ -48,8 +48,10 @@ impl ServerHandler for TestServer {
|
|||
fn get_info(&self) -> ServerInfo {
|
||||
ServerInfo::new(
|
||||
ServerCapabilities::builder()
|
||||
.enable_tools_with(ToolsCapability {
|
||||
list_changed: Some(true),
|
||||
.enable_tools_with({
|
||||
let mut tools = ToolsCapability::default();
|
||||
tools.list_changed = Some(true);
|
||||
tools
|
||||
})
|
||||
.build(),
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue