assign_publisher_set
Put one or more clients on a publisher set, or take them off it. Pass `clientIds` (from list_clients) and `publisherSetId`; OMIT publisherSetId, or pass null, to REMOVE the assignment — a client on no set falls back to the agency's full entitlement, i.e. it is listed on everything the agency can offer. This changes what those clients are listed on: directories the new set leaves out disappear for the client, drop out of their counts and scores, and stop syncing, while unsent listing work for them is canceled. Nothing is sent to any publisher and no connected account is touched — a live listing already on a directory's site stays up, and moving the client back restores the row rather than starting over. The listings are adjusted by a background job, so the effect is not instant: get_client_publisher_set reports how far it got. All or nothing: if any client id is not available to you, no client is changed at all. Up to 100 clients per call, and a client may not be named twice. Requires an identified agency user, who may only assign clients they themselves can access.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "assign_publisher_set",
"arguments": {
"clientIds": [
"string"
]
}
}
}{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.