# dropMCPPrompt {#dropMCPPrompt}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`dropMCPPrompt(name)`

## Arguments {#arguments}

**name** is a STRING scalar indicating the name of the prompt template.

## Details {#details}

Deletes an MCP prompt template. If the template has been published, call `withdrawMCPPrompts` to withdraw it before deleting it.

**Return value**: A string ndicating the name of the deleted MCP prompt template.

## Examples {#examples}

``` {#codeblock_y55_32x_mgc}
dropMCPPrompt("stock_summary")
// output:'stock_summary'
```

