Get Prompt • AI Agent SDK
get_prompt: Fetch an MCP prompt template rendered with “arguments“.
get_prompt
Method
</div>
This is a method of the MCPToolRunner class in the mcp module.
Fetch an MCP prompt template rendered with `arguments`.
Signature
def get_prompt(name: Any, arguments: Any) -> AnyParameters
ParamField
AnyNo description available.
ParamField
AnyNo description available.
Returns
ResponseField
AnyThe result of the operation.
Uses
normalize_prompt_result
Source
View on GitHubpraisonaiagents/mcp/mcp.py at line 299