[**European Parliament MCP Server API v1.3.9**](../../README.md)

***

[European Parliament MCP Server API](../../modules.md) / [prompts](../README.md) / handleGetPrompt

# Function: handleGetPrompt()

> **handleGetPrompt**(`name`, `args?`): [`PromptResult`](../interfaces/PromptResult.md)

Defined in: [prompts/index.ts:494](https://github.com/Hack23/European-Parliament-MCP-Server/blob/main/src/prompts/index.ts#L494)

Handle GetPrompt request

## Parameters

### name

`string`

Prompt name

### args?

[`Record`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type)\<`string`, `string`\>

Prompt arguments

## Returns

[`PromptResult`](../interfaces/PromptResult.md)

Prompt result with messages

## Throws

Error if prompt name is unknown
