Get a prompt
get_promptRetrieve one prompt by ID as JSON, including content, description, tags, and template variables; return an error naming the ID if no matching prompt is served.
Instructions
Get one prompt by id, as JSON: its content, description, tags, and for a template the variables it needs. Fails with an error naming the id when no such prompt is served.
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": {
"id": "<id>"
},
"name": "get_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Prompt ID, as returned by list_prompts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| tags | Yes | ||
| content | Yes | ||
| version | Yes | ||
| category | No | ||
| metadata | No | ||
| createdAt | Yes | ||
| updatedAt | Yes | ||
| variables | No | ||
| isTemplate | Yes | ||
| description | No |