pub struct SaveCategorizedToolsParams {
pub session_id: Uuid,
pub categorized_tools: Vec<CategorizedTool>,
}Expand description
Parameters for saving categorized tools.
§Examples
use mcp_execution_server::types::{SaveCategorizedToolsParams, CategorizedTool};
use uuid::Uuid;
let params = SaveCategorizedToolsParams {
session_id: Uuid::new_v4(),
categorized_tools: vec![
CategorizedTool {
name: "create_issue".to_string(),
category: "issues".to_string(),
keywords: "create,issue,new,bug,feature".to_string(),
short_description: "Create a new issue in a repository".to_string(),
},
],
};Fields§
§session_id: UuidSession ID from introspect_server call
categorized_tools: Vec<CategorizedTool>Tools with Claude’s categorization
Trait Implementations§
Source§impl Clone for SaveCategorizedToolsParams
impl Clone for SaveCategorizedToolsParams
Source§fn clone(&self) -> SaveCategorizedToolsParams
fn clone(&self) -> SaveCategorizedToolsParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SaveCategorizedToolsParams
impl Debug for SaveCategorizedToolsParams
Source§impl<'de> Deserialize<'de> for SaveCategorizedToolsParams
impl<'de> Deserialize<'de> for SaveCategorizedToolsParams
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
Source§impl JsonSchema for SaveCategorizedToolsParams
impl JsonSchema for SaveCategorizedToolsParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for SaveCategorizedToolsParams
impl RefUnwindSafe for SaveCategorizedToolsParams
impl Send for SaveCategorizedToolsParams
impl Sync for SaveCategorizedToolsParams
impl Unpin for SaveCategorizedToolsParams
impl UnwindSafe for SaveCategorizedToolsParams
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