Create Prompt
create_promptCreate a new active question with text, category and optional assignments. Omitted arrays start empty. Active matching text is refused. Matching retired text returns retiredMatches with prompt=null and performs no write: choose reactivate_prompt to keep history, or repeat create_prompt with every returned ID in acknowledgedRetiredPromptIds to explicitly create a fresh identity with separate history. Matching trims/collapses whitespace, ignores case and trailing .?!; it is not fuzzy. Stale acknowledgements are rejected. Use get_scan_config for current strategy definitions and list_prompts for saved questions. Returns the complete saved prompt with the same fields as list_prompts, retiredMatches (empty after success), and working scanConfig. Does not launch a Scan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Free-form labels. Omission preserves on edit/restoration; null or [] clears. | |
| text | Yes | ||
| siteId | Yes | Site or Topic ID from list_sites_and_topics. | |
| regions | No | Exact prompt-selectable refs from list_regions. Omission preserves on edit/restoration; null or [] inherits scan defaults, then Global if defaults are empty. | |
| category | Yes | ||
| personas | No | Audience definition IDs or names from get_scan_config.personas. Include relevant audiences in the creation call. Omission preserves on edit/restoration; null or [] clears. | |
| products | No | Strategy product/service IDs or names from get_scan_config.products. Optional for Topics. Omission preserves on edit/restoration; null or [] clears. | |
| journeyStages | No | Definition IDs or names from get_scan_config.journeyStages. First is primary; separate from category. Optional for Topics. Omission preserves on edit/restoration; null or [] clears both stages and primary. | |
| acknowledgedRetiredPromptIds | No | Explicit fresh-create acknowledgement of every returned retired match ID. Omit until the choices have been reviewed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| summary | Yes | ||
| scanConfig | Yes | ||
| retiredMatches | Yes |