Generate prompts
generate_promptsRun CiteLadder's prompt generator for the project, as the Prompt Builder's Generate step does, once the user agreed to the run. The suggestions are staged for review and never tracked: only the user's Accept in CiteLadder's Prompts review (review_url) activates them. Spends AI credits, so call it once per agreed run: choose a new run_key for each agreed run and resend the same run_key on a retry, which returns the staged result instead of running again. distribution sets the branded and competitor-alternative shares, intent mix and personas; seed_source and seed_query_ids come from read_seed_queries; run_context is a note for this run only. A shortfall is reported with its reasons, never filled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many suggestions to stage; omit for the default. | |
| run_key | Yes | A key you choose once for this agreed run, such as a new random UUID. Resend it unchanged on a retry; a new run needs a new key. | |
| topic_ids | No | Topic ids from confirm_topics or read_prompt_portfolio to cover; omit for every topic. | |
| project_id | Yes | A project id that list_projects returned. | |
| run_context | No | A short note for this run only, such as a season or offering to focus on; never saved as a business fact. | |
| seed_source | No | The search data that may steer wording: search_console, search_intelligence or none; omit to read every source. | |
| distribution | No | Shares of the run (0–1): branded_share names the brand, comparison_share asks for alternatives to a competitor, the rest is unbranded. intent_mix weights informational, commercial and transactional questions; personas are buyers to balance across. Omit for an unbranded run. | |
| prompt_set_id | No | A prompt set id from read_prompt_portfolio; omit when the project has only one prompt set. | |
| seed_query_ids | No | The read_seed_queries ids the user kept for that source; omit for all of them. |