Update Topic
update_topicEdit one research Topic by topicId from list_sites_and_topics. Read get_topic and get_scan_config first. Omission preserves values; null clears description or focalEntityId. strategicGoal sets/replaces the strategy note, or null clears it. models applies explicit on/off edits, preserving unspecified models; null clears all selections. Goal or models can be the only edit. Model edits are checked against the plan and do not launch a scan. topicProfile replaces the complete scope profile. A focalEntityId must be an existing tracked entity in this Topic; it is independent of Client association. Clear focus before removing its entity. Brand Site IDs and brand profile fields are refused. At least one effective edit is required. Edits to an archived Topic are refused with site_archived; use archive_topic for retirement. Returns site metadata and scanConfig with the saved Topic context, focus, tracked entities and current configuration. The site response field is retained for compatibility; shared tools use its id as siteId. Does not launch a scan or rewrite scan history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| models | No | Model on/off edits. Unspecified models are preserved; null clears all selections. Creation patches account defaults only for a new configuration; retries preserve saved models. IDs are listed in this schema and get_scan_config. Plan access is checked per model when enabling. | |
| topicId | Yes | ||
| description | No | ||
| topicProfile | No | ||
| focalEntityId | No | ||
| strategicGoal | No | Optional strategy note: only objective, trimmed 1–2000 Unicode characters. Omission preserves it; null clears on update. Creation initializes an absent note and preserves a saved note. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| summary | Yes | ||
| scanConfig | Yes |