> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Prompt • AI Agent SDK

> get_prompt: Fetch an MCP prompt template rendered with ``arguments``.

# get\_prompt

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**MCPToolRunner**](../classes/MCPToolRunner) class in the [**mcp**](../modules/mcp) module.

Fetch an MCP prompt template rendered with `arguments`.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_prompt(name: Any, arguments: Any) -> Any
```

## Parameters

<ParamField query="name" type="Any" required={true}>
  No description available.
</ParamField>

<ParamField query="arguments" type="Any" required={false}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Uses

* `normalize_prompt_result`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/mcp/mcp.py#L167">
  `praisonaiagents/mcp/mcp.py` at line 167
</Card>
