get campaign
get_campaignget campaign. Classification: read-only. Execution: synchronous. Task support: forbidden. The returned JSON is internal application state for LeanrIQ and ChatGPT orchestration. Use assistantSummary first when responding to the user. Never display raw JSON, data, or meta unless the user explicitly asks for raw JSON. Mention IDs only when useful for follow-up or debugging. Prefer concise, human language, highlight the most useful insight, and suggest the next best LeanrIQ action. Campaign metadata only. Studio aiActivation/adBuild fields describe workflow or progress state, not saved creative inventory, and must never be used to infer whether creatives exist or how many are saved. If the user asks for creatives or creative inventory for a known campaignId, call list_creatives directly; do not preflight get_campaign.
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": {
"campaignId": "<campaignId>"
},
"name": "get_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seatId | No | ||
| taskId | No | ||
| assetId | No | ||
| flightId | No | ||
| seatName | No | ||
| accountId | No | ||
| previewId | No | ||
| campaignId | Yes | ||
| creativeId | No | ||
| templateId | No | ||
| advertiserId | No | ||
| sourceLocale | No | ||
| targetMarket | No | ||
| contentLocale | No | ||
| marketContext | No | ||
| targetMarkets | No | ||
| contentLocales | No | ||
| defaultContentLocale | No | ||
| marketLanguageProfile | No | ||
| resolvedContentLocale | No | ||
| languageVariantGroupId | No | ||
| requestedOutputLocales | No | ||
| supportedContentLocales | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes | ||
| error | No | ||
| status | Yes | ||
| assistantSummary | Yes |