List Prompts • Rust AI Agent SDK

list_prompts: List available prompts (placeholder)

list_prompts

Async

Method

</div>

This is a method of the MCP class in the mcp module.

List available prompts (placeholder)

Signature

python
async def list_prompts(&self) -> Result<Vec<MCPPrompt>>

Returns

Rust Prompts Rust Templates