pub struct McpCall {
pub id: Option<String>,
pub name: Option<String>,
pub server_label: Option<String>,
pub arguments: Option<String>,
pub output: Option<String>,
pub status: Option<ItemStatus>,
}Expand description
Qwen: a call to a tool on an MCP server.
Fields§
§id: Option<String>The unique ID of the MCP call.
name: Option<String>The name of the MCP tool that was called.
server_label: Option<String>The label of the MCP server running the tool.
arguments: Option<String>The call arguments, as a JSON string.
output: Option<String>The result returned by the MCP server, as a JSON string.
status: Option<ItemStatus>The status of the MCP call.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for McpCall
impl<'de> Deserialize<'de> for McpCall
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for McpCall
impl RefUnwindSafe for McpCall
impl Send for McpCall
impl Sync for McpCall
impl Unpin for McpCall
impl UnsafeUnpin for McpCall
impl UnwindSafe for McpCall
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more