feat(mcp): McpToolDescriptor is Copy (T10.4)
Needed so RmcpServer::tools() can hand back TOOL_DESCRIPTORS without a manual field-by-field clone (next commit).
This commit is contained in:
1 parent
5f690f4b74
commit
58d565907b
1 file changed
+1
@@ -115,6 +115,7 @@ pub struct McpHandle {
|
||||
pub token: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct McpToolDescriptor {
|
||||
pub name: &'static str,
|
||||
pub description: &'static str,
|
||||
|
||||
Reference in new issue
Block a user