select_campaign
Switch to another campaign
Lecture · mcpIdempotentFait d'une autre campagne la campagne courante, comme ouvrir son onglet dans VibeSell : dès lors, tous les outils de cette connexion lisent et écrivent cette campagne, jusqu'à ce qu'une autre soit choisie. Rien ne change dans les campagnes.
Make another campaign the current one, like opening its tab in VibeSell: from then on every tool of this connection reads and writes that campaign, in every conversation, until another is selected. Take the id from list_campaigns. Nothing in the campaigns changes.L'utilisateur dit
On passe à ma campagne pour les cliniques en Belgique.
{ "name": "select_campaign", "arguments": { "campaignId": "6f1d3c2a-8b4e-4f7a-9c21-3e5d7b9a0f12" }}Arguments
Section intitulée « Arguments »campaignIdstringobligatoireThe campaign id list_campaigns returned.
Schéma d'entrée
{ "type": "object", "properties": { "campaignId": { "type": "string", "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "description": "The campaign id list_campaigns returned." } }, "required": ["campaignId"]}Résultat
Section intitulée « Résultat »Sorte de résultatcampaign_update
kind"campaign_update"outcomestringWhat happened, in a sentence.
campaignobjetidstring — The campaign id: pass it to select_campaign or rename_campaign.namestringstatestring — The campaign state code.stateLabelstring — The campaign state, in words.currentboolean — True for the campaign every tool of this connection works on right now.mailboxesinteger — Sending mailboxes assigned to it.
appUrlstringSchéma de sortie
{ "type": "object", "properties": { "kind": { "type": "string", "const": "campaign_update" }, "outcome": { "type": "string", "description": "What happened, in a sentence." }, "campaign": { "type": "object", "properties": { "id": { "type": "string", "description": "The campaign id: pass it to select_campaign or rename_campaign." }, "name": { "type": "string" }, "state": { "type": "string", "description": "The campaign state code." }, "stateLabel": { "type": "string", "description": "The campaign state, in words." }, "current": { "type": "boolean", "description": "True for the campaign every tool of this connection works on right now." }, "mailboxes": { "type": "integer", "description": "Sending mailboxes assigned to it." } }, "required": ["id", "name", "state", "stateLabel", "current", "mailboxes"], "additionalProperties": false }, "appUrl": { "type": "string" } }, "required": ["kind", "outcome", "campaign", "appUrl"], "additionalProperties": false}Bon à savoir
Section intitulée « Bon à savoir »- Prendre l'id dans list_campaigns ; tout autre id est refusé et rien ne change.
- Le choix vaut pour la connexion, dans toutes les conversations, pas pour l'app VibeSell.
- Un outil de lecture : une connexion en lecture seule peut aussi changer de campagne.
Outils liés
Section intitulée « Outils liés »list_campaignsList your campaigns
get_workspace_contextCheck where your workspace stands
get_campaignCheck how your campaign is doing