update_prompt_metadata_api_v1_prompts_id
Update an existing prompt's name, command, and tags in OpenWebUI without creating history records.
Instructions
Update prompt name and command only (no history created).
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": "<name>",
"command": "<command>"
},
"name": "update_prompt_metadata_api_v1_prompts_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes | ||
| command | Yes | ||
| name | Yes | ||
| tags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |