Get Prompt • Rust AI Agent SDK

get_prompt: Get a prompt (placeholder)

get_prompt

Async

Method

</div>

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

Get a prompt (placeholder)

Signature

python
async def get_prompt(&self, name: &str, args: HashMap<String, String>) -> Result<String>

Parameters

ParamField &str

No description available.

ParamField HashMap&lt;String

No description available.

Returns

Rust Prompts Rust Templates