seo_edit_brief
Edit an SEO brief before approval: replace the structured outline (H2s, FAQs, keywords) or change status. Submit updated briefData to refine, or approve to trigger content generation.
Instructions
Edit an SeoBrief before approval. The inner route does NOT accept free-text 'instructions' — refinement is structured. Pass briefData (the full replacement JSON for the brief outline — H2s, FAQs, keyword targets, etc.) and/or status ('approved' | 'rejected'). Approving via this tool fires L4 article/comparison generation immediately and returns { brief, operationId } — prefer seo_approve_briefs for the canonical approval step. Typical refinement loop: seo_get_brief → mutate briefData locally → seo_edit_brief with the new briefData (status omitted) → seo_approve_briefs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Flip to 'approved' (fires generation) or 'rejected'. Omit to update briefData without changing status. | |
| brandId | No | Brand ID (defaults to active brand) | |
| briefId | Yes | Brief ID from seo_list_briefs | |
| briefData | No | Full structured replacement for the brief outline (object). Pulled from seo_get_brief, edited, sent back. | |
| parentSource | No | Landing-brief approval: which parent LP draft to extend from. | |
| voiceProfileId | No | When approving, write in this voice profile. | |
| attachedAssetId | No | When approving, attach an existing asset to the article. | |
| generateHeroImage | No | When approving, also generate a hero image (extra credits). Article-type briefs only — comparison/landing-type briefs return a 400 if this is set. |