get-prompt-by-id
Retrieve a specific prompt by its unique ID using the Model Context Protocol. Integrate with the Opik platform to access and manage prompts efficiently in IDEs or other environments.
Instructions
Get a single prompt by ID
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"promptId": "<promptId>"
},
"name": "get-prompt-by-id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| promptId | Yes | ID of the prompt to fetch |