Edit a prompt
update_prompt_textReplace the wording of one tracked prompt, after the user agrees, such as to fix a typo or make it read like a buyer's question. Runs at once and returns the new wording; earlier measurements keep the old wording, so results before and after the edit may not compare. To stop measuring a prompt use prepare_archive_prompts, and to add new ones prepare_add_prompts. Refused if prompt_id is not in this project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The new wording: a short question a buyer would ask an AI assistant. | |
| prompt_id | Yes | A prompt id from read_prompt_portfolio. | |
| project_id | Yes | A project id that list_projects returned. |