context_server: Update types to reflect latest protocol version (2025-03-26
) (#32377)
This updates the `types.rs` file to reflect the latest version of the MCP spec. Next up is making use of some of these new capabilities. Would also be great to add support for [Streamable HTTP Transport](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http) Release Notes: - N/A
This commit is contained in:
parent
16e901fb8f
commit
4ff41ba62e
3 changed files with 45 additions and 5 deletions
|
@ -123,6 +123,9 @@ impl Tool for ContextServerTool {
|
|||
types::ToolResponseContent::Image { .. } => {
|
||||
log::warn!("Ignoring image content from tool response");
|
||||
}
|
||||
types::ToolResponseContent::Audio { .. } => {
|
||||
log::warn!("Ignoring audio content from tool response");
|
||||
}
|
||||
types::ToolResponseContent::Resource { .. } => {
|
||||
log::warn!("Ignoring resource content from tool response");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue