Mark a cited host not a competitor
set_project_source_relationCorrect the classifier on one host a project cites, for the whole host and every date range: notCompetitor=true marks a host the classifier detects as a competitor (get_project_sources: sourceType competitor, relationOrigin classifier) as not a competitor, so it reads as its site type, counts as a third-party opportunity and gets its Growwer offer again; notCompetitor=false takes the mark back. A later reclassification keeps the mark. Refused for a host on the brand's or a tracked competitor's domains (relationOrigin settings: change the project instead), a host with no classified verdict yet, or notCompetitor=true on a host the classifier does not detect as a competitor. Manager or owner. Answers the host's sourceType, siteType, relationOrigin and detectedCompetitorName now. Safe to retry.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organizationId": "<organizationId>",
"projectId": "<projectId>",
"host": "<host>",
"notCompetitor": "<notCompetitor>"
},
"name": "set_project_source_relation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | The host as get_project_sources returns it (e.g. "example.com", "www.example.com"); case is ignored, a "www." host no source is listed under is read without its "www.", and a URL, or a host followed by a port or a path, is reduced to its host. | |
| projectId | Yes | ||
| notCompetitor | Yes | true marks the host not a competitor; false takes the mark back. | |
| organizationId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteType | Yes | ||
| sourceType | Yes | The label the host now reads under: competitor while the classifier's relation counts, its site type once the team marked it not a competitor. | |
| relationOrigin | Yes | manual while the team's "No es competidor" holds, classifier otherwise. | |
| detectedCompetitorName | Yes |