pub struct McpToolLine {
pub remote: String,
pub name: String,
pub disclosure: String,
pub input_schema: Payload,
}Expand description
One tool a server offers, under the name the model sees it by.
Fields§
§remote: StringThe name the server knows it by, which is what a person reading that server’s own documentation will find.
name: StringThe name this city knows it by: the server’s label, then the remote name. This is what appears in a run’s history.
disclosure: String§input_schema: PayloadThe tool’s input schema, exactly as the server published it. Not summarised here: a schema is what a person checks a tool’s arguments against, and a summary would be a second, lossy authority on what the server accepts.
Trait Implementations§
Source§impl Clone for McpToolLine
impl Clone for McpToolLine
Source§impl Debug for McpToolLine
impl Debug for McpToolLine
Source§impl<'de> Deserialize<'de> for McpToolLine
impl<'de> Deserialize<'de> for McpToolLine
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
impl Eq for McpToolLine
Source§impl PartialEq for McpToolLine
impl PartialEq for McpToolLine
Source§impl Serialize for McpToolLine
impl Serialize for McpToolLine
impl StructuralPartialEq for McpToolLine
Auto Trait Implementations§
impl Freeze for McpToolLine
impl RefUnwindSafe for McpToolLine
impl Send for McpToolLine
impl Sync for McpToolLine
impl Unpin for McpToolLine
impl UnsafeUnpin for McpToolLine
impl UnwindSafe for McpToolLine
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