Add Competitor
add_competitorAdd a configured competitor or Topic entity. Requires a nonblank name; domain is optional, tracking defaults true and omitted identifier groups start empty on a fresh row. Duplicate configured names (including tracking-off entries) are refused after trimming/ignoring case. Existing exact discovery promotion can reuse a historical identity and change its mutable domain/type. After an error or timeout inspect list_competitors before retrying add. Applies to Site competitors and Topic entities, which need not be rivals. No publication or Scan launch. Returns saved item (null on remove) and working scanConfig. If a roster save commits but identity setup is incomplete, read list_competitors and repair with update_competitor using competitorId for the saved row id; do not duplicate the add.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| domain | No | ||
| siteId | Yes | Site or Topic ID from list_sites_and_topics. | |
| aliases | No | Alternate names that clearly identify this entity. Null or [] clears; omission preserves. | |
| domains | No | Additional web domains. Null or [] clears; omission preserves. URLs are normalized to domains. | |
| tracked | No | ||
| entityType | No | ||
| description | No | ||
| entitySubtype | No | ||
| ambiguousAliases | No | Names or abbreviations that need supporting context. Never treat these as safe exact aliases. Null or [] clears; omission preserves. | |
| disambiguationContext | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| summary | Yes | ||
| scanConfig | Yes |