fix(test): fix tool deserialization error (#68)
This commit is contained in:
parent
ac1b8c6ddb
commit
0eea9aad4a
2 changed files with 63 additions and 34 deletions
|
|
@ -1,4 +1,4 @@
|
|||
cargo-features = ["edition2024"]
|
||||
|
||||
|
||||
[package]
|
||||
name = "rmcp-macros"
|
||||
|
|
|
|||
|
|
@ -347,7 +347,7 @@ pub(crate) fn tool_fn_item(attr: TokenStream, mut input_fn: ItemFn) -> syn::Resu
|
|||
#input_fn_vis fn #tool_attr_fn_ident() -> rmcp::model::Tool {
|
||||
rmcp::model::Tool {
|
||||
name: #name.into(),
|
||||
description: #description.into(),
|
||||
description: Some(#description.into()),
|
||||
input_schema: #schema.into(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue