get_prompt_by_id_api_v1_prompts_id
Retrieve a specific prompt by its unique ID from the OpenWebUI admin system. Use this to access prompt details programmatically.
Instructions
Get 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": {
"prompt_id": "<prompt_id>"
},
"name": "get_prompt_by_id_api_v1_prompts_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |