Aller au contenu

select_campaign

Switch to another campaign

Lecture · mcpIdempotent

Fait 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.

Description lue par le modèleEnvoyée telle quelle dans tools/list, en anglais.
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.

tools/call · Arguments envoyés par l'assistant
{
"name": "select_campaign",
"arguments": {
"campaignId": "6f1d3c2a-8b4e-4f7a-9c21-3e5d7b9a0f12"
}
}
campaignIdstringobligatoire

The 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"]
}

Sorte de résultatcampaign_update

kind"campaign_update"
outcomestring

What happened, in a sentence.

campaignobjet
  • id string — The campaign id: pass it to select_campaign or rename_campaign.
  • name string
  • state string — The campaign state code.
  • stateLabel string — The campaign state, in words.
  • current boolean — True for the campaign every tool of this connection works on right now.
  • mailboxes integer — Sending mailboxes assigned to it.
appUrlstring
Sché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
}
  • 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.