We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0bbb22 commit 22134ebCopy full SHA for 22134eb
crates/rmcp/src/service/client.rs
@@ -300,9 +300,9 @@ impl Peer<RoleClient> {
300
Ok(tools)
301
}
302
303
- /// A wrapper method for [`Peer<RoleClient>::list_resources`].
+ /// A wrapper method for [`Peer<RoleClient>::list_prompts`].
304
///
305
- /// This function will call [`Peer<RoleClient>::list_resources`] multiple times until all resources are listed.
+ /// This function will call [`Peer<RoleClient>::list_prompts`] multiple times until all prompts are listed.
306
pub async fn list_all_prompts(&self) -> Result<Vec<crate::model::Prompt>, ServiceError> {
307
let mut prompts = Vec::new();
308
let mut cursor = None;
0 commit comments