LeanrIQ MCP
LeanrIQ is a creative intelligence platform that helps plan, create, and improve creative assets for various channels. The MCP server allows AI agents to access LeanrIQ's capabilities to understand brand context, generate channel-ready creative builds, and perform quality assurance and refinement tasks.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://iq.leanrads.com/mcpWhat its tools do
137 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (72)
get_current_userlist_accessible_seatsget_current_seatget_permissionsget_capabilitiesget_leanriq_capabilitiesget_media_buy_deliverylist_advertisersget_advertiserget_brand_profileget_brand_visualslist_competitorsget_competitor_intelligencelist_competitor_evidenceget_creative_intelligence_runget_creative_intelligenceget_world_activation_evidenceget_world_research_profileget_world_research_summaryget_world_research_eventsget_world_research_eventget_world_research_mentionsget_world_research_insightsget_world_research_proposalget_world_research_decisionget_world_research_questionget_world_intelligencelist_world_signalslist_world_opportunitiesget_world_opportunityget_vertical_intelligencelist_campaignsget_campaignlist_creativesget_creativelist_creative_versionslist_templatesget_templatelist_assetsget_assetgenerate_preview_linksget_preview_linkget_flightlist_flightsvalidate_flightpreview_trafficking_outputget_adserver_tagget_trafficked_assetsexport_trafficked_assetsget_tasklist_tasksleanriq_get_creative_intelligence_runleanriq_get_creative_intelligenceleanriq_get_world_activation_evidenceleanriq_get_world_research_profileleanriq_get_world_research_summaryleanriq_get_world_research_eventsleanriq_get_world_research_eventleanriq_get_world_research_mentionsleanriq_get_world_research_insightsleanriq_get_world_research_proposalleanriq_get_world_research_decisionleanriq_get_world_research_questionleanriq_get_world_intelligenceleanriq_list_world_signalsleanriq_list_world_opportunitiesleanriq_get_world_opportunityleanriq_get_brand_profileleanriq_get_brand_visualsleanriq_get_vertical_intelligenceleanriq_recommend_workflowleanriq_current_seat
Can change data (65)
create_advertiserupdate_advertiserarchive_advertiserrefresh_brand_profilerefresh_brand_visualsrun_competitor_intelligencerun_creative_intelligencecreate_creative_intelligence_planbuild_world_research_profilerecord_world_research_feedbackrun_world_intelligencecreate_campaignupdate_campaignarchive_campaignselect_world_opportunity_for_campaigncreate_creative_briefcreate_production_planbuild_videoadqa_creativerun_creative_chainlaunch_creative_campaignpromote_creative_workspacebuild_adbuild_creative_osbuild_doohbuild_campaign_creative_setrevise_creativeexport_creativeclone_creativecreate_creative_versionrestore_creative_versionarchive_creativecreate_flightupdate_flightdelete_flighttraffick_creativetraffick_flightretraffick_creativeretraffick_flightpush_flight_to_yahoogenerate_adserver_tagcancel_taskretry_taskprovide_performance_feedbackleanriq_run_creative_intelligenceleanriq_create_creative_intelligence_planleanriq_build_world_research_profileleanriq_record_world_research_feedbackleanriq_run_world_intelligenceleanriq_select_world_opportunity_for_campaignleanriq_qa_creativeleanriq_launch_creative_campaignleanriq_build_adleanriq_build_agent_adleanriq_build_doohleanr_build_campaign_creative_setleanriq_resolve_or_provision_advertiserleanriq_create_strategyleanriq_create_briefleanriq_create_creative_briefleanriq_create_production_planleanriq_run_creative_chainleanriq_get_competitor_creative_intelligenceleanriq_campaign_builderleanriq_select_seat
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Endpoint and vendor documentation share a domain
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Generate campaign concepts and channel-ready creative builds
- Perform quality assurance and creative review
- Understand brand and market context for creative direction
Source and maintenance
- Repository status
- Unavailable (HTTP 404)
- Maintenance checked
Protocol and capabilities
- Server
- leanriq-agent-gateway 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 137 advertised
- Resources
- 22 advertised
- Resource templates
- 0 advertised
- Prompts
- 15 advertised
{
"tasks": {
"requests": {
"tools": {
"call": {}
}
}
},
"tools": {
"listChanged": true
},
"prompts": {
"listChanged": true
},
"resources": {
"listChanged": true
}
}Tools
137 advertised
get_current_user — get current user
get current user. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_accessible_seats — list accessible seats
list accessible seats. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_current_seat — get current seat
get current seat. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_permissions — get permissions
get permissions. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_capabilities — get capabilities
get capabilities. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"includeHidden": {
"type": "boolean"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_leanriq_capabilities — Describe the LeanrIQ outcomes available to this caller, its current capability profile, safe starting action, and effective build/Studio/publish boundaries. This is concise discovery, not a raw tool-registry dump.
Describe the LeanrIQ outcomes available to this caller, its current capability profile, safe starting action, and effective build/Studio/publish boundaries. This is concise discovery, not a raw tool-registry dump.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_media_buy_delivery — AdCP-standard media-buy delivery reporting.
AdCP-standard media-buy delivery reporting.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"media_buy_ids"
],
"properties": {
"ext": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"seatId": {
"type": "string",
"minLength": 1
},
"account": {
"type": "object",
"required": [
"account_id"
],
"properties": {
"account_id": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"seatName": {
"type": "string",
"minLength": 1
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"adcp_version": {
"type": "string"
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"media_buy_ids": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"minItems": 1
},
"status_filter": {
"anyOf": [
{
"type": "string",
"maxLength": 240,
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"minItems": 1
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"time_granularity": {
"enum": [
"hourly",
"daily",
"weekly",
"monthly"
],
"type": "string"
},
"attribution_window": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"defaultContentLocale": {
"type": "string"
},
"reporting_dimensions": {
"type": "object",
"properties": {
"geo": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"audience": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"placement": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"device_type": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"device_platform": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"additionalProperties": false
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"include_window_breakdown": {
"type": "boolean"
},
"include_package_daily_breakdown": {
"type": "boolean"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_advertisers — list advertisers
list advertisers. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_advertiser — get advertiser
get advertiser. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"previewId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"templateId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}create_advertiser — create advertiser
create advertiser. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"idempotencyKey",
"advertiser"
],
"properties": {
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiser": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"domain": {
"type": "string",
"maxLength": 253,
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"websiteUrl": {
"type": "string",
"maxLength": 2000,
"minLength": 1
}
},
"additionalProperties": {}
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}update_advertiser — update advertiser
update advertiser. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"idempotencyKey",
"advertiserId",
"patch"
],
"properties": {
"patch": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"domain": {
"type": "string",
"maxLength": 253,
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"websiteUrl": {
"type": "string",
"maxLength": 2000,
"minLength": 1
}
},
"additionalProperties": {}
},
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}archive_advertiser — archive advertiser
archive advertiser. Classification: writes to Studio, destructive. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"advertiserId"
],
"properties": {
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"resourceId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}get_brand_profile — Research and return a LeanrIQ brand profile. This read capability does not save to Studio.
Research and return a LeanrIQ brand profile. This read capability does not save to Studio.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brandName",
"brandUrl"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"brandUrl": {
"type": "string",
"format": "uri",
"maxLength": 500
},
"seatName": {
"type": "string",
"minLength": 1
},
"brandName": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"forceRefresh": {
"type": "boolean",
"default": false
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"competitorLimit": {
"anyOf": [
{
"type": "number",
"const": 5
},
{
"type": "number",
"const": 8
}
]
},
"requestedSections": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"maxItems": 32
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}refresh_brand_profile — Refresh and save a standalone Studio advertiser brand profile.
Refresh and save a standalone Studio advertiser brand profile.. Classification: writes to Studio, creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brandName",
"brandUrl",
"advertiserId",
"accountId",
"idempotencyKey"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"brandUrl": {
"type": "string",
"format": "uri",
"maxLength": 500
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"brandName": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"forceRefresh": {
"type": "boolean",
"default": false
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"competitorLimit": {
"anyOf": [
{
"type": "number",
"const": 5
},
{
"type": "number",
"const": 8
}
]
},
"requestedSections": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"maxItems": 32
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}get_brand_visuals — Collect brand logos, imagery, colours, fonts, and visual previews for use in Studio creative builds. Use this before build_ad when a campaign needs visual grounding; this read capability does not save to Studio.
Collect brand logos, imagery, colours, fonts, and visual previews for use in Studio creative builds. Use this before build_ad when a campaign needs visual grounding; this read capability does not save to Studio.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId",
"brandName",
"websiteUrl"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"options": {
"type": "object",
"default": {},
"properties": {
"maxFonts": {
"type": "integer",
"default": 10,
"maximum": 30,
"minimum": 0
},
"maxLogos": {
"type": "integer",
"default": 5,
"maximum": 20,
"minimum": 0
},
"maxImages": {
"type": "integer",
"default": 60,
"maximum": 80,
"minimum": 0
},
"maxVideos": {
"type": "integer",
"default": 12,
"maximum": 30,
"minimum": 0
},
"fetchFonts": {
"type": "boolean",
"default": true
},
"fetchLogos": {
"type": "boolean",
"default": true
},
"useBrowser": {
"type": "boolean",
"default": true
},
"extractCtas": {
"type": "boolean",
"default": true
},
"fetchImages": {
"type": "boolean",
"default": true
},
"fetchVideos": {
"type": "boolean",
"default": true
},
"scrapeSocial": {
"type": "boolean",
"default": true
},
"extractColours": {
"type": "boolean",
"default": true
},
"maxScreenshots": {
"type": "integer",
"default": 0,
"maximum": 2,
"minimum": 0
},
"maxSocialImages": {
"type": "integer",
"default": 30,
"maximum": 40,
"minimum": 0
},
"fetchScreenshots": {
"type": "boolean",
"default": false
},
"maxAiGeneratedImages": {
"type": "integer",
"default": 6,
"maximum": 6,
"minimum": 0
},
"socialLookbackMonths": {
"type": "integer",
"default": 3,
"maximum": 3,
"minimum": 1
},
"includeAiGeneratedImages": {
"type": "boolean",
"default": false
}
}
},
"storage": {
"type": "object",
"default": {},
"properties": {
"bucket": {
"type": "string",
"minLength": 1
},
"prefix": {
"type": "string"
},
"cdnBaseUrl": {
"type": "string",
"format": "uri"
}
}
},
"seatName": {
"type": "string",
"minLength": 1
},
"brandName": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"websiteUrl": {
"type": "string",
"format": "uri",
"maxLength": 1000
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}refresh_brand_visuals — refresh brand visuals
refresh brand visuals. Classification: writes to Studio, creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId",
"brandName",
"websiteUrl",
"accountId",
"idempotencyKey"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"options": {
"type": "object",
"default": {},
"properties": {
"maxFonts": {
"type": "integer",
"default": 10,
"maximum": 30,
"minimum": 0
},
"maxLogos": {
"type": "integer",
"default": 5,
"maximum": 20,
"minimum": 0
},
"maxImages": {
"type": "integer",
"default": 60,
"maximum": 80,
"minimum": 0
},
"maxVideos": {
"type": "integer",
"default": 12,
"maximum": 30,
"minimum": 0
},
"fetchFonts": {
"type": "boolean",
"default": true
},
"fetchLogos": {
"type": "boolean",
"default": true
},
"useBrowser": {
"type": "boolean",
"default": true
},
"extractCtas": {
"type": "boolean",
"default": true
},
"fetchImages": {
"type": "boolean",
"default": true
},
"fetchVideos": {
"type": "boolean",
"default": true
},
"scrapeSocial": {
"type": "boolean",
"default": true
},
"extractColours": {
"type": "boolean",
"default": true
},
"maxScreenshots": {
"type": "integer",
"default": 0,
"maximum": 2,
"minimum": 0
},
"maxSocialImages": {
"type": "integer",
"default": 30,
"maximum": 40,
"minimum": 0
},
"fetchScreenshots": {
"type": "boolean",
"default": false
},
"maxAiGeneratedImages": {
"type": "integer",
"default": 6,
"maximum": 6,
"minimum": 0
},
"socialLookbackMonths": {
"type": "integer",
"default": 3,
"maximum": 3,
"minimum": 1
},
"includeAiGeneratedImages": {
"type": "boolean",
"default": false
}
}
},
"storage": {
"type": "object",
"default": {},
"properties": {
"bucket": {
"type": "string",
"minLength": 1
},
"prefix": {
"type": "string"
},
"cdnBaseUrl": {
"type": "string",
"format": "uri"
}
}
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"brandName": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"websiteUrl": {
"type": "string",
"format": "uri",
"maxLength": 1000
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}list_competitors — list competitors
list competitors. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}run_competitor_intelligence — Run canonical LeanrIQ Competitor Intelligence V2 for one advertiser-scoped competitor. Defaults match Studio: 90-day DISPLAY evidence and no mixed social/video banner inference. Without forceRefresh, an existing canonical result is reused when available.
Run canonical LeanrIQ Competitor Intelligence V2 for one advertiser-scoped competitor. Defaults match Studio: 90-day DISPLAY evidence and no mixed social/video banner inference. Without forceRefresh, an existing canonical result is reused when available.. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"limit": {
"type": "integer",
"maximum": 48,
"minimum": 1
},
"domain": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"market": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"region": {
"type": "string",
"maxLength": 16,
"minLength": 2
},
"seatId": {
"type": "string",
"minLength": 1
},
"markets": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"website": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"brandName": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"competitorId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"evidenceMode": {
"enum": [
"DISPLAY",
"CROSS_CHANNEL",
"BOTH"
],
"type": "string",
"default": "DISPLAY"
},
"forceRefresh": {
"type": "boolean",
"default": false
},
"lookbackDays": {
"type": "integer",
"default": 90,
"maximum": 730,
"minimum": 1
},
"sourceLocale": {
"type": "string"
},
"strategyMode": {
"enum": [
"REPLICATE",
"DIFFERENTIATE",
"BOTH"
],
"type": "string",
"default": "BOTH"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"evidenceLimit": {
"type": "integer",
"maximum": 48,
"minimum": 1
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"strategyModes": {
"type": "array",
"items": {
"enum": [
"REPLICATE",
"DIFFERENTIATE"
],
"type": "string"
},
"maxItems": 2
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"competitorName": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"competitorDomain": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"competitorWebsite": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"crossChannelLimit": {
"type": "integer",
"maximum": 120,
"minimum": 1
},
"recommendationMode": {
"enum": [
"FULL",
"EVIDENCE_ONLY"
],
"type": "string",
"default": "FULL"
},
"defaultContentLocale": {
"type": "string"
},
"competitorKeyMessages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 8
},
"competitorPositioning": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"advertiserGuidanceSnapshot": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}get_competitor_intelligence — Read saved canonical LeanrIQ Competitor Intelligence V2 for an advertiser-scoped competitor. This does not reacquire evidence or generate new recommendations.
Read saved canonical LeanrIQ Competitor Intelligence V2 for an advertiser-scoped competitor. This does not reacquire evidence or generate new recommendations.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"website": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"reportId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"competitorId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"competitorName": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"includeEvidence": {
"type": "boolean",
"default": false
},
"competitorDomain": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_competitor_evidence — List qualified display evidence from saved canonical LeanrIQ Competitor Intelligence V2. Cross-channel inspiration is not mixed into DISPLAY evidence.
List qualified display evidence from saved canonical LeanrIQ Competitor Intelligence V2. Cross-channel inspiration is not mixed into DISPLAY evidence.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 24,
"maximum": 50,
"exclusiveMinimum": 0
},
"seatId": {
"type": "string",
"minLength": 1
},
"website": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"reportId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"competitorId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"competitorName": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"includeEvidence": {
"type": "boolean",
"default": true
},
"competitorDomain": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}run_creative_intelligence — Synthesize grounded, deduplicated advertiser creative opportunities from automatic competitor/category research and broad World signals. Returns a durable run ID and honest partial states; creates no campaign or publication.
Synthesize grounded, deduplicated advertiser creative opportunities from automatic competitor/category research and broad World signals. Returns a durable run ID and honest partial states; creates no campaign or publication.. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId",
"idempotencyKey"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_creative_intelligence_run — Read an exact durable intelligence run, including stage, terminal state and retry metadata.
Read an exact durable intelligence run, including stage, terminal state and retry metadata.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId",
"runId"
],
"properties": {
"runId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_creative_intelligence — Read saved advertiser creative opportunities and source provenance.
Read saved advertiser creative opportunities and source provenance.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}create_creative_intelligence_plan — Create a concise proposed campaign plan from one grounded opportunity. Studio approval is required before campaign creation.
Create a concise proposed campaign plan from one grounded opportunity. Studio approval is required before campaign creation.. Classification: read-only. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId",
"opportunityId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_world_activation_evidence — Read scoped verified event attestations for Studio approval and activation; no publication authority.
Read scoped verified event attestations for Studio approval and activation; no publication authority.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"eventIds"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"eventIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 10,
"minItems": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_world_research_profile — Read advertiser-scoped World Intelligence V3 profile with evidence; no publication authority.
Read advertiser-scoped World Intelligence V3 profile with evidence; no publication authority.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_world_research_summary — Read advertiser-scoped World Intelligence V3 summary with evidence; no publication authority.
Read advertiser-scoped World Intelligence V3 summary with evidence; no publication authority.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_world_research_events — Read advertiser-scoped World Intelligence V3 events with evidence; no publication authority.
Read advertiser-scoped World Intelligence V3 events with evidence; no publication authority.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_world_research_event — Read advertiser-scoped World Intelligence V3 event with evidence; no publication authority.
Read advertiser-scoped World Intelligence V3 event with evidence; no publication authority.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_world_research_mentions — Read advertiser-scoped World Intelligence V3 mentions with evidence; no publication authority.
Read advertiser-scoped World Intelligence V3 mentions with evidence; no publication authority.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_world_research_insights — Read advertiser-scoped World Intelligence V3 insights with evidence; no publication authority.
Read advertiser-scoped World Intelligence V3 insights with evidence; no publication authority.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_world_research_proposal — Read advertiser-scoped World Intelligence V3 proposal with evidence; no publication authority.
Read advertiser-scoped World Intelligence V3 proposal with evidence; no publication authority.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_world_research_decision — Read advertiser-scoped World Intelligence V3 decision with evidence; no publication authority.
Read advertiser-scoped World Intelligence V3 decision with evidence; no publication authority.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_world_research_question — Read advertiser-scoped World Intelligence V3 question with evidence; no publication authority.
Read advertiser-scoped World Intelligence V3 question with evidence; no publication authority.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}build_world_research_profile — Build a versioned advertiser research graph from configured identity and approved context.
Build a versioned advertiser research graph from configured identity and approved context.. Classification: read-only. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"advertiserContext": {
"type": "object",
"default": {},
"properties": {
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"brands": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"verified": {
"type": "boolean",
"default": false
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 12
},
"market": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"category": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"services": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"vertical": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"wordsToUse": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"competitors": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"creativeDos": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"ctaGuidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"keyMessages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"seasonality": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"toneOfVoice": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"brandSummary": {
"type": "string",
"maxLength": 1600,
"minLength": 1
},
"propositions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"approvedFacts": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"creativeDonts": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"parentCompany": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"verified": {
"type": "boolean",
"default": false
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
}
},
"additionalProperties": false
},
"wordsToNotUse": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"approvedClaims": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"approvedOffers": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"priorityTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"researchImages": {
"type": "array",
"items": {
"type": "object",
"required": [
"assetId",
"label",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 1800
},
"label": {
"type": "string",
"maxLength": 220,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 160,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 16
},
"targetAudience": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"campaignContext": {
"type": "object",
"properties": {
"brief": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"market": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"audience": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"strategy": {
"type": "string",
"maxLength": 900,
"minLength": 1
},
"objective": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"flightDates": {
"type": "string",
"maxLength": 160,
"minLength": 1
}
},
"additionalProperties": false
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"approvedBenefits": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"approvedGuidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"brandPositioning": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"contextualTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"currentCampaigns": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"brandIntelligence": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"competitorIdentities": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"verified": {
"type": "boolean",
"default": false
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 16
}
},
"additionalProperties": false
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}record_world_research_feedback — Record reviewed relevance or decision feedback without changing approval or safety constraints.
Record reviewed relevance or decision feedback without changing approval or safety constraints.. Classification: read-only. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"eventId",
"outcome"
],
"properties": {
"reason": {
"type": "string",
"default": "",
"maxLength": 600
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"outcome": {
"enum": [
"RELEVANT",
"DISMISSED",
"APPROVED",
"ACTIVATED",
"OVERRIDDEN",
"EXPIRED",
"CORRECTED"
],
"type": "string"
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}run_world_intelligence — Run bounded, current World Intelligence for one authorised advertiser. It returns source-backed external context and creative opportunities; evidence may be partial and it never publishes or activates creative.
Run bounded, current World Intelligence for one authorised advertiser. It returns source-backed external context and creative opportunities; evidence may be partial and it never publishes or activates creative.. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: preserve_qualified_evidence_and_signals. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"policy": {
"type": "object",
"required": [
"advertiserId"
],
"properties": {
"enabled": {
"type": "boolean",
"default": true
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"subjects": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"languages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"default": [],
"maxItems": 10
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"exclusions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"creativeRules": {
"type": "object",
"default": {},
"properties": {
"allowedTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"excludedTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"mustAvoidClaims": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"additionalGuidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
}
}
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"schemaVersion": {
"type": "string",
"const": "world-intelligence/v1",
"default": "world-intelligence/v1"
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"activationMode": {
"enum": [
"observe",
"recommend",
"draft"
],
"type": "string",
"default": "recommend"
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"researchBudget": {
"type": "object",
"properties": {
"maxSearches": {
"type": "integer",
"default": 10,
"maximum": 20,
"minimum": 1
},
"maxDeepEvents": {
"type": "integer",
"default": 3,
"maximum": 10,
"minimum": 0
},
"maxModelCalls": {
"type": "integer",
"default": 12,
"maximum": 12,
"minimum": 1
},
"monthlyRequestUnits": {
"type": "integer",
"default": 1000,
"maximum": 100000,
"minimum": 1
}
},
"additionalProperties": false
},
"sourceCountries": {
"type": "array",
"items": {
"enum": [
"GB",
"US",
"HK"
],
"type": "string"
},
"maxItems": 3,
"minItems": 1
},
"minimumRelevance": {
"type": "number",
"default": 0.55,
"maximum": 1,
"minimum": 0
},
"minimumConfidence": {
"type": "number",
"default": 0.55,
"maximum": 1,
"minimum": 0
},
"sourcePreferences": {
"type": "object",
"properties": {
"weatherLocations": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"latitude",
"longitude"
],
"properties": {
"label": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"market": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 4
},
"commercialWeather": {
"type": "boolean",
"default": false
},
"conversationTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"default": [],
"maxItems": 6
},
"publicConversations": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"trustedSourcesOnly": {
"type": "boolean",
"default": false
},
"allowedSourceDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"default": [],
"maxItems": 50
},
"blockedSourceDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"default": [],
"maxItems": 50
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
},
"additionalProperties": false
},
"seatId": {
"type": "string",
"minLength": 1
},
"routine": {
"type": "object",
"required": [
"routineId",
"advertiserId",
"name",
"frequency"
],
"properties": {
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"status": {
"enum": [
"ACTIVE",
"PAUSED"
],
"type": "string",
"default": "ACTIVE"
},
"enabled": {
"type": "boolean",
"default": true
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"curation": {
"type": "object",
"required": [
"revision",
"receiptIds",
"excludedEventIds",
"relevantEventIds",
"pinnedEventIds",
"strategyEventIds",
"followUpQuestions",
"excludeTopics"
],
"properties": {
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"receiptIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 100
},
"excludeTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 30
},
"pinnedEventIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 100
},
"excludedEventIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 100
},
"relevantEventIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 100
},
"strategyEventIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 100
},
"followUpQuestions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"maxItems": 7
}
},
"additionalProperties": false
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"subjects": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"timezone": {
"type": "string",
"default": "UTC",
"maxLength": 80,
"minLength": 1
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"frequency": {
"enum": [
"MANUAL",
"DAILY",
"WEEKLY",
"MONTHLY"
],
"type": "string"
},
"languages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"default": [],
"maxItems": 10
},
"lastRunAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
{
"type": "null"
}
]
},
"nextRunAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
{
"type": "null"
}
]
},
"routineId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"lookbackDays": {
"type": "integer",
"maximum": 90,
"minimum": 1
},
"sourceLocale": {
"type": "string"
},
"sourcePolicy": {
"type": "object",
"default": {},
"properties": {
"trustedSourcesOnly": {
"type": "boolean",
"default": false
},
"allowedSourceDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"default": [],
"maxItems": 50
},
"blockedSourceDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"default": [],
"maxItems": 50
}
}
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"lookbackHours": {
"type": "integer",
"maximum": 2160,
"minimum": 1
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"customResearch": {
"type": "object",
"required": [
"schemaVersion",
"revision",
"description",
"businessObjective",
"primaryQuestion",
"products",
"audiences",
"markets",
"languages",
"additionalQuestions",
"investigate",
"signals",
"meaningfulFinding",
"includeTopics",
"excludeTopics",
"positiveIndicators",
"negativeIndicators",
"sourceTypes",
"preferredDomains",
"excludedDomains",
"feedIds",
"conversationTopics",
"weatherLocations",
"minimumConfidence",
"minimumRelevance",
"minimumIndependentSources",
"requirePrimarySource",
"evidenceRequirements",
"creativeObjectives",
"depth",
"freshnessHours",
"maxRequestUnits",
"maxAiCostUsd",
"expiresAt"
],
"properties": {
"depth": {
"enum": [
"FOCUSED",
"STANDARD",
"DEEP"
],
"type": "string"
},
"feedIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 4
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"maxItems": 20
},
"signals": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 12
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 20
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"audiences": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 12
},
"expiresAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
{
"type": "null"
}
]
},
"languages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"maxItems": 10
},
"description": {
"type": "string",
"maxLength": 2400
},
"investigate": {
"type": "string",
"maxLength": 1600
},
"sourceTypes": {
"type": "array",
"items": {
"enum": [
"web_search",
"permitted_feeds",
"public_conversations",
"commercial_weather",
"competitor_cache"
],
"type": "string"
},
"maxItems": 5,
"minItems": 1
},
"maxAiCostUsd": {
"type": "number",
"maximum": 2,
"minimum": 0.01
},
"planningMode": {
"enum": [
"AUTOMATIC",
"CUSTOM"
],
"type": "string"
},
"competitorIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 12
},
"excludeTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 30
},
"includeTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"maxItems": 20
},
"researchScope": {
"enum": [
"COMPETITOR",
"WORLD"
],
"type": "string"
},
"schemaVersion": {
"type": "string",
"const": "CustomWorldResearch/v1"
},
"freshnessHours": {
"type": "integer",
"maximum": 2160,
"minimum": 1
},
"excludedDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240
},
"maxItems": 50
},
"maxRequestUnits": {
"type": "integer",
"maximum": 32,
"minimum": 4
},
"primaryQuestion": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"minimumRelevance": {
"type": "number",
"maximum": 1,
"minimum": 0.55
},
"preferredDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240
},
"maxItems": 50
},
"weatherLocations": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"latitude",
"longitude",
"market"
],
"properties": {
"label": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"market": {
"type": "string",
"maxLength": 16
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180
}
},
"additionalProperties": false
},
"maxItems": 4
},
"businessObjective": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"meaningfulFinding": {
"type": "string",
"maxLength": 1200
},
"minimumConfidence": {
"type": "number",
"maximum": 1,
"minimum": 0.55
},
"conversationTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxItems": 6
},
"creativeObjectives": {
"type": "array",
"items": {
"enum": [
"AUDIENCE_MOTIVATIONS",
"VISUAL_CONCEPTS",
"LAYOUT_HIERARCHY",
"STORYTELLING",
"MESSAGING",
"CHANNEL_OPPORTUNITIES",
"SEASONAL_CHANGE",
"PRODUCT_POSITIONING",
"DIFFERENTIATION"
],
"type": "string"
},
"maxItems": 9,
"minItems": 1
},
"negativeIndicators": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 12
},
"positiveIndicators": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 12
},
"additionalQuestions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"maxItems": 7
},
"evidenceRequirements": {
"type": "string",
"maxLength": 1200
},
"requirePrimarySource": {
"type": "boolean"
},
"minimumIndependentSources": {
"type": "integer",
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
"minimumRelevance": {
"type": "number",
"default": 0.55,
"maximum": 1,
"minimum": 0
},
"minimumConfidence": {
"type": "number",
"default": 0.55,
"maximum": 1,
"minimum": 0
},
"defaultContentLocale": {
"type": "string"
},
"freshnessRequirement": {
"enum": [
"RECENT",
"CURRENT",
"ANY"
],
"type": "string",
"default": "RECENT"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
},
"additionalProperties": false
},
"seatName": {
"type": "string",
"minLength": 1
},
"routineId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"forceRefresh": {
"type": "boolean",
"default": false
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"lookbackHours": {
"type": "integer",
"maximum": 2160,
"minimum": 1
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"advertiserContext": {
"type": "object",
"default": {},
"properties": {
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"brands": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"verified": {
"type": "boolean",
"default": false
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 12
},
"market": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"category": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"services": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"vertical": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"wordsToUse": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"competitors": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"creativeDos": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"ctaGuidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"keyMessages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"seasonality": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"toneOfVoice": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"brandSummary": {
"type": "string",
"maxLength": 1600,
"minLength": 1
},
"propositions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"approvedFacts": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"creativeDonts": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"parentCompany": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"verified": {
"type": "boolean",
"default": false
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
}
},
"additionalProperties": false
},
"wordsToNotUse": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"approvedClaims": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"approvedOffers": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"priorityTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"researchImages": {
"type": "array",
"items": {
"type": "object",
"required": [
"assetId",
"label",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 1800
},
"label": {
"type": "string",
"maxLength": 220,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 160,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 16
},
"targetAudience": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"campaignContext": {
"type": "object",
"properties": {
"brief": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"market": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"audience": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"strategy": {
"type": "string",
"maxLength": 900,
"minLength": 1
},
"objective": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"flightDates": {
"type": "string",
"maxLength": 160,
"minLength": 1
}
},
"additionalProperties": false
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"approvedBenefits": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"approvedGuidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"brandPositioning": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"contextualTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"currentCampaigns": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"brandIntelligence": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"competitorIdentities": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"verified": {
"type": "boolean",
"default": false
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 16
}
},
"additionalProperties": false
},
"defaultContentLocale": {
"type": "string"
},
"researchInstructions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 8
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_world_intelligence — Get the latest advertiser World Intelligence summary. It is fresh, source-backed context that may be partial; opportunities are recommendations and this never publishes creative.
Get the latest advertiser World Intelligence summary. It is fresh, source-backed context that may be partial; opportunities are recommendations and this never publishes creative.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"runId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"startedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_world_signals — List active, source-provenanced World Intelligence signals for one authorised advertiser. This is current contextual intelligence, not a general-purpose news search.
List active, source-provenanced World Intelligence signals for one authorised advertiser. This is current contextual intelligence, not a general-purpose news search.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"exclusiveMinimum": 0
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_world_opportunities — List active World Intelligence creative opportunities for one authorised advertiser. Opportunities are human-review recommendations and never publish creative.
List active World Intelligence creative opportunities for one authorised advertiser. Opportunities are human-review recommendations and never publish creative.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"exclusiveMinimum": 0
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_world_opportunity — Get one active or historical World Intelligence opportunity and its compact provenance in the selected advertiser scope. It does not publish creative.
Get one active or historical World Intelligence opportunity and its compact provenance in the selected advertiser scope. It does not publish creative.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"opportunityId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_vertical_intelligence — get vertical intelligence
get vertical intelligence. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"brief": {},
"force": {
"type": "boolean"
},
"input": {},
"assets": {},
"prompt": {
"type": "string"
},
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string"
},
"assetId": {
"type": "string"
},
"outputs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "editable"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "static"
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string"
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"enum": [
"editable",
"static_jpeg",
"static_png"
],
"type": "string"
}
]
},
"maxItems": 8,
"description": "Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output."
},
"audience": {},
"campaign": {},
"creative": {},
"flightId": {
"type": "string"
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {},
"accountId": {
"type": "string"
},
"objective": {
"type": "string"
},
"advertiser": {},
"campaignId": {
"type": "string"
},
"creativeId": {
"type": "string"
},
"templateId": {
"type": "string"
},
"creativeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"persistence": {
"enum": [
"preview_only",
"save_to_studio"
],
"type": "string"
},
"advertiserId": {
"type": "string"
},
"instructions": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string"
},
"requestedFormats": {
"type": "array",
"items": {}
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"skipTraffickedRebuild": {
"type": "boolean"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_campaigns — list campaigns
list campaigns. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_campaign — get campaign
get 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"campaignId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"previewId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"templateId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}create_campaign — Create a Studio campaign. Put all campaign fields inside campaign. Map natural-language requests such as "called" to campaignName, awareness/consideration/conversion to funnelStage, impression goals to targetImpressions, Social delivery goals to socialImpressions, and KPI labels to primaryKpi or secondaryKpi.
Create a Studio campaign. Put all campaign fields inside campaign. Map natural-language requests such as "called" to campaignName, awareness/consideration/conversion to funnelStage, impression goals to targetImpressions, Social delivery goals to socialImpressions, and KPI labels to primaryKpi or secondaryKpi.. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"idempotencyKey",
"campaign"
],
"properties": {
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"campaign": {
"type": "object",
"required": [
"advertiserId"
],
"properties": {
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"budget": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string",
"maxLength": 40,
"minLength": 1
}
]
},
"status": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"endDate": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"objective": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"startDate": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"primaryKpi": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"funnelStage": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignName": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"secondaryKpi": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeBrief": {
"type": "string",
"maxLength": 8000,
"minLength": 1
},
"requiredSizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 24
},
"preferredSizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 24
},
"supportedSizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 24
},
"targetAudience": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"socialImpressions": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string",
"maxLength": 40,
"minLength": 1
}
]
},
"targetImpressions": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string",
"maxLength": 40,
"minLength": 1
}
]
}
},
"additionalProperties": {}
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}update_campaign — Update a Studio campaign. Use the canonical campaign fields inside patch, including campaignName, funnelStage, targetImpressions, socialImpressions, primaryKpi, and secondaryKpi when those values are being changed.
Update a Studio campaign. Use the canonical campaign fields inside patch, including campaignName, funnelStage, targetImpressions, socialImpressions, primaryKpi, and secondaryKpi when those values are being changed.. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"idempotencyKey",
"campaignId",
"patch"
],
"properties": {
"patch": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"budget": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string",
"maxLength": 40,
"minLength": 1
}
]
},
"status": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"endDate": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"objective": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"startDate": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"primaryKpi": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"funnelStage": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignName": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"secondaryKpi": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeBrief": {
"type": "string",
"maxLength": 8000,
"minLength": 1
},
"requiredSizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 24
},
"preferredSizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 24
},
"supportedSizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 24
},
"targetAudience": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"socialImpressions": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string",
"maxLength": 40,
"minLength": 1
}
]
},
"targetImpressions": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string",
"maxLength": 40,
"minLength": 1
}
]
}
},
"additionalProperties": {}
},
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}archive_campaign — archive campaign
archive campaign. Classification: writes to Studio, destructive. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"campaignId"
],
"properties": {
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"resourceId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}select_world_opportunity_for_campaign — Explicitly select one reviewed, source-provenanced World Intelligence opportunity for an authorised Studio campaign. Studio performs the same campaign authorization, scoped LeanrIQ lookup, and persistence path as the UI. This does not materialise a feed, create creative, traffic, or publish.
Explicitly select one reviewed, source-provenanced World Intelligence opportunity for an authorised Studio campaign. Studio performs the same campaign authorization, scoped LeanrIQ lookup, and persistence path as the UI. This does not materialise a feed, create creative, traffic, or publish.. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId",
"campaignId",
"opportunityId",
"idempotencyKey"
],
"properties": {
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}create_creative_brief — Generate Studio-ready design briefs for one or more creatives, using campaign context, brand rules, audience, offer, and format constraints. When creative IDs and saveToStudio are supplied, LeanrIQ saves only when the caller has Studio write permission; otherwise it returns a non-destructive proposal.
Generate Studio-ready design briefs for one or more creatives, using campaign context, brand rules, audience, offer, and format constraints. When creative IDs and saveToStudio are supplied, LeanrIQ saves only when the caller has Studio write permission; otherwise it returns a non-destructive proposal.. Classification: writes to Studio, creates billable AI usage. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"brief": {},
"force": {
"type": "boolean"
},
"input": {},
"assets": {},
"prompt": {
"type": "string"
},
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string"
},
"assetId": {
"type": "string"
},
"outputs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "editable"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "static"
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string"
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"enum": [
"editable",
"static_jpeg",
"static_png"
],
"type": "string"
}
]
},
"maxItems": 8,
"description": "Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output."
},
"audience": {},
"campaign": {},
"creative": {},
"flightId": {
"type": "string"
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {},
"accountId": {
"type": "string"
},
"objective": {
"type": "string"
},
"advertiser": {},
"campaignId": {
"type": "string"
},
"creativeId": {
"type": "string"
},
"templateId": {
"type": "string"
},
"creativeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"persistence": {
"enum": [
"preview_only",
"save_to_studio"
],
"type": "string"
},
"advertiserId": {
"type": "string"
},
"instructions": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string"
},
"requestedFormats": {
"type": "array",
"items": {}
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"skipTraffickedRebuild": {
"type": "boolean"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}create_production_plan — create production plan
create production plan. Classification: creates billable AI usage. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brand",
"campaignName",
"format",
"brief"
],
"properties": {
"mode": {
"enum": [
"planning",
"studio_instructions"
],
"type": "string",
"default": "studio_instructions"
},
"brand": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"tone": {
"type": "string",
"minLength": 1
},
"colours": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"summary": {
"type": "string",
"minLength": 1
},
"targetAudience": {
"type": "string",
"minLength": 1
}
}
}
]
},
"brief": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"assets": {
"type": "array",
"items": {
"type": "object",
"required": [
"type"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"name": {
"type": "string",
"minLength": 1
},
"type": {
"enum": [
"logo",
"image",
"video",
"copy",
"other"
],
"type": "string"
},
"description": {
"type": "string",
"minLength": 1
}
}
}
},
"format": {
"type": "string",
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"creative": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"size": {
"type": "string",
"minLength": 1
},
"elements": {
"type": "array",
"items": {
"type": "object",
"required": [
"type"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"size": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "number"
},
"height": {
"type": "number"
}
}
},
"type": {
"enum": [
"text",
"image",
"logo",
"button",
"shape",
"video",
"carousel",
"other"
],
"type": "string"
},
"label": {
"type": "string",
"minLength": 1
},
"style": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"locked": {
"type": "boolean"
},
"content": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"editable": {
"type": "object",
"properties": {
"size": {
"type": "boolean"
},
"text": {
"type": "boolean"
},
"asset": {
"type": "boolean"
},
"style": {
"type": "boolean"
},
"position": {
"type": "boolean"
}
}
},
"position": {
"type": "object",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
}
},
"roleHint": {
"enum": [
"headline",
"body",
"cta",
"logo",
"image",
"video",
"background",
"carousel",
"other"
],
"type": "string"
},
"currentValue": {
"type": "string"
}
}
}
}
}
},
"campaignId": {
"type": "string",
"minLength": 1
},
"creativeId": {
"type": "string",
"minLength": 1
},
"constraints": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"advertiserId": {
"type": "string",
"minLength": 1
},
"campaignName": {
"type": "string",
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"templateAnalysis": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"studioCapabilities": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"requestedOperationTypes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}build_videoad — Create an advertiser-aware pre-roll, CTV, or native Social video composition with varied executable scene layouts and channel constraints. It never claims an MP4 master or traffic-ready asset before Studio has rendered and certified one.
Create an advertiser-aware pre-roll, CTV, or native Social video composition with varied executable scene layouts and channel constraints. It never claims an MP4 master or traffic-ready asset before Studio has rendered and certified one.. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"channel",
"objective"
],
"properties": {
"cta": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"offer": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"channel": {
"enum": [
"video_preroll",
"video_ctv",
"social"
],
"type": "string"
},
"product": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"campaign": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"headline": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"objective": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"requestId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"skippable": {
"type": "boolean"
},
"subtitles": {
"type": "array",
"items": {
"type": "object",
"required": [
"startSeconds",
"endSeconds",
"text"
],
"properties": {
"id": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"text": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"contentLocale": {
"enum": [
"en-GB",
"zh-HK",
"fr-FR",
"de-DE",
"es-ES"
],
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 256
},
"advertiser": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"copyPolicy": {
"type": "object",
"properties": {
"lockedRoles": {
"type": "array",
"items": {
"enum": [
"headline",
"body",
"cta",
"legal",
"eyebrow",
"proof"
],
"type": "string"
}
},
"editableRoles": {
"type": "array",
"items": {
"enum": [
"headline",
"body",
"cta",
"legal",
"eyebrow",
"proof"
],
"type": "string"
}
},
"requiredRoles": {
"type": "array",
"items": {
"enum": [
"headline",
"body",
"cta",
"legal",
"eyebrow",
"proof"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"aiBudgetUsd": {
"type": "number",
"maximum": 0.2,
"exclusiveMinimum": 0
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"editorContext": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceAssetIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"default": [],
"maxItems": 50
},
"sourceShotMaps": {
"type": "array",
"items": {
"type": "object",
"required": [
"schemaVersion",
"scope",
"assetId",
"digest",
"assetVersion",
"timebase",
"origin",
"durationTicks",
"frameAccurate",
"coverage",
"frames",
"shots",
"audio"
],
"properties": {
"audio": {
"type": "object",
"required": [
"present",
"codec",
"channels",
"sampleRate",
"speech",
"music"
],
"properties": {
"codec": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
]
},
"music": {
"type": "string",
"const": "unknown"
},
"speech": {
"type": "string",
"const": "unknown"
},
"present": {
"type": "boolean"
},
"channels": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"sampleRate": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"seatId",
"advertiserId",
"locale",
"channel"
],
"properties": {
"locale": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"channel": {
"enum": [
"video_preroll",
"video_ctv"
],
"type": "string"
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
},
"additionalProperties": false
},
"shots": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"range",
"representativeFrameIds",
"subjects",
"products",
"copyRegions",
"semanticEvidence",
"motion"
],
"properties": {
"id": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"range": {
"type": "object",
"required": [
"in",
"out"
],
"properties": {
"in": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"out": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"motion": {
"type": "object",
"required": [
"camera",
"subject",
"sampledChange"
],
"properties": {
"camera": {
"type": "string",
"const": "unknown"
},
"subject": {
"type": "string",
"const": "unknown"
},
"sampledChange": {
"enum": [
"unknown",
"cut_detected"
],
"type": "string"
}
},
"additionalProperties": false
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160
},
"maxItems": 8
},
"subjects": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160
},
"maxItems": 8
},
"copyRegions": {
"type": "array",
"items": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"maxItems": 4
},
"semanticEvidence": {
"enum": [
"unknown",
"digest_bound_analysis"
],
"type": "string"
},
"representativeFrameIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 3
}
},
"additionalProperties": false
},
"maxItems": 16,
"minItems": 1
},
"digest": {
"type": "string",
"pattern": "^sha256:[a-f0-9]{64}$"
},
"frames": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"tick",
"digest",
"url"
],
"properties": {
"id": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000
},
{
"type": "null"
}
]
},
"tick": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"digest": {
"type": "string",
"pattern": "^sha256:[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"maxItems": 3
},
"origin": {
"type": "string",
"const": "first_presented_frame"
},
"assetId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"coverage": {
"type": "object",
"required": [
"in",
"out",
"complete",
"boundaryToleranceTicks",
"method"
],
"properties": {
"in": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"out": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"method": {
"enum": [
"sampled_scene_change",
"continuous_source"
],
"type": "string"
},
"complete": {
"type": "boolean"
},
"boundaryToleranceTicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"timebase": {
"type": "object",
"required": [
"numerator",
"denominator"
],
"properties": {
"numerator": {
"type": "integer",
"maximum": 1000000000,
"exclusiveMinimum": 0
},
"denominator": {
"type": "integer",
"maximum": 1000000000,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"assetVersion": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"durationTicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"frameAccurate": {
"type": "boolean"
},
"schemaVersion": {
"type": "string",
"const": "video-shot-map-v1"
}
},
"additionalProperties": false
},
"maxItems": 3
},
"supportingCopy": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"composeInStudio": {
"type": "boolean"
},
"contractVersion": {
"type": "string",
"const": "build-videoad-v1",
"default": "build-videoad-v1"
},
"durationSeconds": {
"type": "integer",
"maximum": 120,
"minimum": 5
},
"socialPlacement": {
"type": "object",
"required": [
"platform",
"placement",
"width",
"height"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"platform": {
"enum": [
"meta",
"linkedin"
],
"type": "string"
},
"safeZone": {
"type": "object",
"properties": {
"top": {
"type": "number",
"minimum": 0
},
"left": {
"type": "number",
"minimum": 0
},
"right": {
"type": "number",
"minimum": 0
},
"bottom": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"placement": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
},
"additionalProperties": false
},
"shotPlanRequired": {
"type": "boolean"
},
"studioCreativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"selectedBlueprint": {
"type": "object",
"required": [
"schemaVersion",
"creativeId",
"concept",
"audience",
"strategicRationale",
"visualStrategy",
"imagery",
"composition",
"layout",
"hierarchy",
"copy",
"assetIds",
"animation",
"formatAdaptation",
"sourceEvidenceIds",
"creativeOsInstructions",
"design"
],
"properties": {
"copy": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"maxItems": 30
},
"design": {
"type": "object",
"required": [
"centralIdea",
"intendedViewerResponse",
"audienceTension",
"campaignObjective",
"productProposition",
"verifiedProductFacts",
"evidenceUse",
"synthesisRationale",
"artDirection",
"narrative",
"layout",
"typography",
"colour",
"messaging",
"sequence",
"motion",
"adaptations",
"construction",
"assets",
"restrictions",
"quality",
"evolution"
],
"properties": {
"assets": {
"type": "object",
"required": [
"approvedAssetIds",
"requirements"
],
"properties": {
"requirements": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 12
},
"approvedAssetIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 20
}
},
"additionalProperties": false
},
"colour": {
"type": "object",
"required": [
"paletteIntent",
"contrastIntent"
],
"properties": {
"paletteIntent": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"contrastIntent": {
"type": "string",
"maxLength": 1000,
"minLength": 1
}
},
"additionalProperties": false
},
"layout": {
"type": "object",
"required": [
"pattern",
"grid",
"focalPoint",
"hierarchy"
],
"properties": {
"grid": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"pattern": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"hierarchy": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 6,
"minItems": 1
},
"focalPoint": {
"type": "string",
"maxLength": 1000,
"minLength": 1
}
},
"additionalProperties": false
},
"motion": {
"type": "object",
"required": [
"animation",
"transitions"
],
"properties": {
"animation": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"transitions": {
"type": "string",
"maxLength": 1000,
"minLength": 1
}
},
"additionalProperties": false
},
"quality": {
"type": "object",
"required": [
"expectations",
"designIntentConstraints"
],
"properties": {
"expectations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 12
},
"designIntentConstraints": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"sequence": {
"type": "array",
"items": {
"type": "object",
"required": [
"order",
"purpose",
"visual",
"message",
"durationSeconds",
"transition"
],
"properties": {
"order": {
"type": "integer",
"maximum": 12,
"minimum": 1
},
"visual": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"message": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"purpose": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"transition": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"durationSeconds": {
"anyOf": [
{
"type": "number",
"maximum": 120,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 12,
"minItems": 1
},
"evolution": {
"type": "object",
"required": [
"adaptWhen",
"rebuildWhen",
"holdWhen"
],
"properties": {
"holdWhen": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 12
},
"adaptWhen": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 12
},
"rebuildWhen": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"messaging": {
"type": "object",
"required": [
"hierarchy",
"cta",
"tone"
],
"properties": {
"cta": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"tone": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"hierarchy": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 6,
"minItems": 1
}
},
"additionalProperties": false
},
"narrative": {
"type": "object",
"required": [
"story",
"emotion"
],
"properties": {
"story": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"emotion": {
"type": "string",
"maxLength": 1000,
"minLength": 1
}
},
"additionalProperties": false
},
"typography": {
"type": "object",
"required": [
"familyIntent",
"treatment"
],
"properties": {
"treatment": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"familyIntent": {
"type": "string",
"maxLength": 1000,
"minLength": 1
}
},
"additionalProperties": false
},
"adaptations": {
"type": "array",
"items": {
"type": "object",
"required": [
"channel",
"status",
"rationale",
"layout",
"crop",
"sequencing"
],
"properties": {
"crop": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"layout": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"status": {
"enum": [
"SUPPORTED",
"UNSUPPORTED"
],
"type": "string"
},
"channel": {
"enum": [
"display",
"video_preroll",
"video_ctv",
"social",
"dooh"
],
"type": "string"
},
"rationale": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"sequencing": {
"type": "string",
"maxLength": 1000,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 5,
"minItems": 5
},
"centralIdea": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"evidenceUse": {
"type": "array",
"items": {
"type": "object",
"required": [
"evidenceId",
"role",
"interpretation"
],
"properties": {
"role": {
"enum": [
"CONTEXT",
"AUDIENCE_OBSERVATION",
"COMPETITOR_OBSERVATION"
],
"type": "string"
},
"evidenceId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"interpretation": {
"type": "string",
"maxLength": 1000,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1
},
"artDirection": {
"type": "object",
"required": [
"visualConcept",
"photographicStyle",
"subject",
"setting",
"crop",
"composition"
],
"properties": {
"crop": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"setting": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"subject": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"composition": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"visualConcept": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"photographicStyle": {
"type": "string",
"maxLength": 1000,
"minLength": 1
}
},
"additionalProperties": false
},
"construction": {
"type": "object",
"required": [
"preferred",
"templateRequirements",
"scratchRationale"
],
"properties": {
"preferred": {
"enum": [
"TEMPLATE",
"SCRATCH",
"EITHER"
],
"type": "string"
},
"scratchRationale": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"templateRequirements": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"restrictions": {
"type": "object",
"required": [
"prohibitedClaims",
"creativeRestrictions"
],
"properties": {
"prohibitedClaims": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 12
},
"creativeRestrictions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 12
}
},
"additionalProperties": false
},
"audienceTension": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"campaignObjective": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"productProposition": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"synthesisRationale": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"verifiedProductFacts": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 12
},
"intendedViewerResponse": {
"type": "string",
"maxLength": 1000,
"minLength": 1
}
},
"additionalProperties": false
},
"layout": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"concept": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"imagery": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"assetIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 20
},
"audience": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"animation": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"hierarchy": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"maxItems": 6,
"minItems": 1
},
"creativeId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"composition": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"schemaVersion": {
"type": "string",
"const": "CreativeDirectionBlueprint/v1"
},
"buildSelection": {
"type": "object",
"required": [
"copyVariantId",
"photoAssetId"
],
"properties": {
"photoAssetId": {
"anyOf": [
{
"type": "string",
"maxLength": 160,
"minLength": 1
},
{
"type": "null"
}
]
},
"copyVariantId": {
"anyOf": [
{
"type": "string",
"maxLength": 160,
"minLength": 1
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"visualStrategy": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"formatAdaptation": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"sourceEvidenceIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 20,
"minItems": 1
},
"strategicRationale": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"creativeOsInstructions": {
"type": "object",
"required": [
"capability",
"semanticDirection",
"preserveApprovedCopy",
"geometryAuthority",
"approvalAuthority"
],
"properties": {
"capability": {
"enum": [
"build_creative_os",
"build_videoad",
"build_dooh"
],
"type": "string"
},
"approvalAuthority": {
"type": "string",
"const": "STUDIO"
},
"geometryAuthority": {
"type": "string",
"const": "STUDIO_MEASURED"
},
"semanticDirection": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"preserveApprovedCopy": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"directionReference": {
"type": "object",
"required": [
"revision",
"blueprintDigest"
],
"properties": {
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"blueprintDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"lockedSourceChoices": {
"type": "array",
"items": {
"type": "object",
"required": [
"clipId",
"assetId",
"digest",
"timebase",
"origin",
"range"
],
"properties": {
"range": {
"type": "object",
"required": [
"in",
"out"
],
"properties": {
"in": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"out": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"clipId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"digest": {
"type": "string",
"pattern": "^sha256:[a-f0-9]{64}$"
},
"origin": {
"type": "string",
"const": "first_presented_frame"
},
"assetId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"timebase": {
"type": "object",
"required": [
"numerator",
"denominator"
],
"properties": {
"numerator": {
"type": "integer",
"maximum": 1000000000,
"exclusiveMinimum": 0
},
"denominator": {
"type": "integer",
"maximum": 1000000000,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"maxItems": 8
},
"approvedCopyVariants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cta": {
"type": "string"
},
"body": {
"type": "string"
},
"legal": {
"type": "string"
},
"proof": {
"type": "string"
},
"eyebrow": {
"type": "string"
},
"headline": {
"type": "string"
},
"claimReferences": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"maxItems": 3
},
"defaultContentLocale": {
"type": "string"
},
"sourceFrameImageUrls": {
"type": "array",
"items": {
"type": "string",
"maxLength": 4000
},
"maxItems": 3
},
"designEvidenceContext": {
"type": "object",
"required": [
"schemaVersion"
],
"properties": {
"copy": {
"type": "object",
"properties": {
"cta": {},
"body": {},
"legal": {},
"claims": {},
"eyebrow": {},
"headline": {},
"copyPolicy": {},
"disclaimer": {},
"lockedTexts": {},
"supportingCopy": {},
"claimReferences": {},
"mandatoryElements": {},
"approvedCopyVariants": {}
}
},
"brand": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"tokens": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"version": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
{
"type": "null"
}
]
},
"constraints": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"facts": {
"type": "array",
"items": {
"type": "object",
"default": null,
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"authority": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceRef": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"statement": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"capturedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"evidenceId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"observedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"publishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"extractedFacts": {
"type": "array",
"items": {}
}
}
},
"default": []
},
"scope": {
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"advertiserId": {
"type": "string"
}
}
},
"locale": {
"type": "string"
},
"campaign": {
"type": "object",
"properties": {
"audience": {},
"objective": {},
"proposition": {}
}
},
"opportunity": {
"anyOf": [
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"reviewAt": {
"type": "string"
},
"objective": {
"type": "string"
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string"
}
},
"audienceContext": {
"type": "string"
},
"evidenceSupport": {
"type": "array",
"items": {
"type": "object",
"required": [
"evidenceId",
"quote"
],
"properties": {
"quote": {
"type": "string"
},
"evidenceId": {
"type": "string"
}
}
}
},
"proposedMessage": {
"type": "string"
},
"visualDirection": {
"type": "string"
},
"visualTerritory": {
"type": "string"
},
"messagingTerritory": {
"type": "string"
},
"measurableHypothesis": {},
"supportingEvidenceIds": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
{
"type": "null"
}
]
},
"schemaVersion": {
"type": "string",
"const": "design-evidence-context-v1"
},
"craftPrecedents": {
"type": "array",
"items": {
"type": "object",
"default": null,
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"default": []
}
}
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"voiceoverInstructions": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"expectedCreativeVersionId": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}qa_creative — QA a creative for launch readiness with actionable issues, certification evidence, and next steps before preview, revision, or trafficking.
QA a creative for launch readiness with actionable issues, certification evidence, and next steps before preview, revision, or trafficking.. Classification: creates billable AI usage. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brand",
"format",
"objective",
"creative"
],
"properties": {
"brand": {
"type": "string",
"minLength": 1
},
"rules": {
"type": "array",
"items": {
"type": "string"
}
},
"format": {
"type": "string",
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"context": {
"type": "string"
},
"creative": {
"type": "object",
"properties": {
"cta": {
"type": "string"
},
"body": {
"type": "string"
},
"headline": {
"type": "string"
},
"landingPageUrl": {
"type": "string",
"format": "uri"
},
"imageDescription": {
"type": "string"
}
}
},
"seatName": {
"type": "string",
"minLength": 1
},
"objective": {
"type": "string",
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}run_creative_chain — run creative chain
run creative chain. Classification: writes to Studio, creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"KPI": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"goal": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"tone": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {},
"additionalProperties": {}
}
]
},
"force": {
"type": "boolean"
},
"offer": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"budget": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"seatId": {
"type": "string",
"minLength": 1
},
"channel": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"endDate": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"product": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"audience": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"buildAds": {
"type": "boolean"
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"mustAvoid": {
"type": "array",
"items": {
"type": "string"
}
},
"objective": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"startDate": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"constraints": {
"type": "array",
"items": {
"type": "string"
}
},
"creativeIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 24,
"minItems": 1
},
"funnelStage": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"mustInclude": {
"type": "array",
"items": {
"type": "string"
}
},
"targetSizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 12,
"minItems": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignName": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"deliverables": {
"type": "array",
"items": {
"type": "string"
}
},
"saveToStudio": {
"type": "boolean"
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}launch_creative_campaign — LeanrIQ Creative Runtime: Default preview mode works without Studio and stores research, briefs, builds, QA, and previews in a LeanrIQ workspace. collaborate keeps proposals non-destructive; operate deliberately creates Studio work. Publish is never inferred: traffic_ready and publish remain explicit governed Studio actions.
LeanrIQ Creative Runtime: Default preview mode works without Studio and stores research, briefs, builds, QA, and previews in a LeanrIQ workspace. collaborate keeps proposals non-destructive; operate deliberately creates Studio work. Publish is never inferred: traffic_ready and publish remain explicit governed Studio actions.. Classification: writes to Studio, creates billable AI usage, publishes externally. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"objective"
],
"properties": {
"KPI": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"cta": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"tone": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"brand": {
"anyOf": [
{
"type": "string",
"maxLength": 240,
"minLength": 1
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"domain": {
"type": "string",
"maxLength": 253,
"minLength": 1
},
"websiteUrl": {
"type": "string",
"maxLength": 2000,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"force": {
"type": "boolean"
},
"offer": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"budget": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"seatId": {
"type": "string",
"minLength": 1
},
"channel": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"endDate": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"product": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"audience": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"elements": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 80,
"minLength": 1
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": {}
}
]
},
"maxItems": 32
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"headline": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"platform": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"vertical": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"mustAvoid": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 40
},
"objective": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"skippable": {
"type": "boolean"
},
"startDate": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"flightName": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"constraints": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 40
},
"creativeIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 24,
"minItems": 1
},
"destination": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"funnelStage": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"mustInclude": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 40
},
"persistence": {
"enum": [
"preview_only",
"save_to_studio"
],
"type": "string"
},
"targetSizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 24,
"minItems": 1
},
"workspaceId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignName": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"deliverables": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 48
},
"saveToStudio": {
"type": "boolean"
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"executionMode": {
"enum": [
"preview",
"collaborate",
"operate",
"traffic_ready",
"publish",
"autopilot"
],
"type": "string",
"default": "preview"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"landingPageUrl": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"sourceAssetIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 50
},
"supportingCopy": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"thirdPartyTags": {
"type": "array",
"items": {
"type": "object",
"required": [
"tag"
],
"properties": {
"tag": {
"type": "string",
"maxLength": 12000,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 3
},
"durationSeconds": {
"type": "integer",
"maximum": 120,
"minimum": 5
},
"revisionRequest": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"workspaceSource": {
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeBriefs": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 12
},
"assetReferences": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"selectedTerritory": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"performanceEvidence": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 1000
},
"defaultContentLocale": {
"type": "string"
},
"sourceFrameImageUrls": {
"type": "array",
"items": {
"type": "string",
"maxLength": 4000
},
"maxItems": 3
},
"workspaceAccessToken": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"createCampaignIfMissing": {
"type": "boolean"
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}promote_creative_workspace — Deliberately promote one approved LeanrIQ creative workspace into Studio. The workspace and selected territory are retained, and a repeated promotion returns the recorded result rather than duplicating Studio production records.
Deliberately promote one approved LeanrIQ creative workspace into Studio. The workspace and selected territory are retained, and a repeated promotion returns the recorded result rather than duplicating Studio production records.. Classification: writes to Studio, creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"workspaceId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"workspaceId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignName": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_creatives — List Studio creatives. Prefer campaignId for deterministic campaign inventory reads. If only campaignName is available, pair it with advertiserId or advertiserName so LeanrIQ can resolve the campaign once, follow pagination centrally, and return the full campaign creative set without local guesswork.
List Studio creatives. Prefer campaignId for deterministic campaign inventory reads. If only campaignName is available, pair it with advertiserId or advertiserName so LeanrIQ can resolve the campaign once, follow pagination centrally, and return the full campaign creative set without local guesswork.. 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. This tool is the authoritative saved Studio creative inventory for the requested scope. With an exact campaignId, call list_creatives directly as the first and only inventory read. The MCP response returns a compact inventory containing creative names, IDs, sizes and statuses; use get_creative only when full creative internals are needed. Non-empty rows prove saved creatives exist regardless of campaign build or activation workflow state; a completed empty result is authoritative. Do not call get_campaign first to decide whether creatives exist.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignName": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"advertiserName": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_creative — get creative
get creative. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"creativeId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"previewId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"templateId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}build_ad — Create AI Display CreativeDocuments from objective and requestedFormats without pre-existing creatives. Optional outputs requests static JPEG/PNG delivery after save_to_studio while retaining the editable document. Export existing versions with export_creative. Build and save existing Studio creative records. When campaignId or campaignName is supplied, LeanrIQ resolves the complete persisted campaign inventory, uses each saved brief, approved asset set, and eligible global or advertiser template, then runs the canonical Studio Gold build path. Campaign-scoped calls save by default; use persistence preview_only only for an unsaved ad-hoc preview.
Create AI Display CreativeDocuments from objective and requestedFormats without pre-existing creatives. Optional outputs requests static JPEG/PNG delivery after save_to_studio while retaining the editable document. Export existing versions with export_creative. Build and save existing Studio creative records. When campaignId or campaignName is supplied, LeanrIQ resolves the complete persisted campaign inventory, uses each saved brief, approved asset set, and eligible global or advertiser template, then runs the canonical Studio Gold build path. Campaign-scoped calls save by default; use persistence preview_only only for an unsaved ad-hoc preview.. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"brief": {},
"force": {
"type": "boolean"
},
"input": {},
"assets": {},
"prompt": {
"type": "string"
},
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string"
},
"assetId": {
"type": "string"
},
"outputs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "editable"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "static"
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string"
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"enum": [
"editable",
"static_jpeg",
"static_png"
],
"type": "string"
}
]
},
"maxItems": 8,
"description": "Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output."
},
"audience": {},
"campaign": {},
"creative": {},
"flightId": {
"type": "string"
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {},
"accountId": {
"type": "string"
},
"objective": {
"type": "string"
},
"advertiser": {},
"campaignId": {
"type": "string"
},
"creativeId": {
"type": "string"
},
"templateId": {
"type": "string"
},
"creativeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"persistence": {
"enum": [
"preview_only",
"save_to_studio"
],
"type": "string"
},
"advertiserId": {
"type": "string"
},
"instructions": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string"
},
"requestedFormats": {
"type": "array",
"items": {}
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"skipTraffickedRebuild": {
"type": "boolean"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}build_creative_os — Design, render and save a review-held editable scratch Display or Social working version using Creative OS.
Design, render and save a review-held editable scratch Display or Social working version using Creative OS.. Classification: writes to Studio, creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"advertiserId",
"campaignId",
"creativeId",
"idempotencyKey"
],
"properties": {
"engine": {
"enum": [
"original",
"scene"
],
"type": "string"
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"aiBudgetUsd": {
"type": "number",
"maximum": 0.2,
"exclusiveMinimum": 0
},
"qualityMode": {
"enum": [
"STANDARD",
"PREMIUM_CREATIVE"
],
"type": "string",
"default": "STANDARD"
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"editorSource": {
"type": "object",
"required": [
"versionId",
"documentDigest"
],
"properties": {
"versionId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"documentDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"premiumBudgetUsd": {
"type": "number",
"maximum": 100,
"exclusiveMinimum": 0
},
"blankEditorSource": {
"type": "object",
"required": [
"versionId",
"documentDigest"
],
"properties": {
"versionId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"documentDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"imageEditorSource": {
"type": "object",
"required": [
"versionId",
"documentDigest"
],
"properties": {
"versionId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"documentDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"reassessVersionId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"directionReference": {
"type": "object",
"required": [
"revision",
"blueprintDigest"
],
"properties": {
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"blueprintDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}build_dooh — Build a DOOH-native poster for an existing Studio creative, compare exact native renders and save the complete editable working version by default. Below-threshold creative review retains a technically valid version without release approval. Explicit saveToStudio=false is an unsaved preview. DOOH never contains CTA buttons. It does not route through Display build_ad.
Build a DOOH-native poster for an existing Studio creative, compare exact native renders and save the complete editable working version by default. Below-threshold creative review retains a technically valid version without release approval. Explicit saveToStudio=false is an unsaved preview. DOOH never contains CTA buttons. It does not route through Display build_ad.. Classification: writes to Studio, creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"copy": {
"type": "object",
"default": {},
"properties": {
"body": {
"type": "string",
"maxLength": 2000
},
"legal": {
"type": "string"
},
"action": {
"type": "string",
"maxLength": 120
},
"headline": {
"type": "string",
"maxLength": 500
},
"approvedCopyVariants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cta": {
"type": "string"
},
"body": {
"type": "string"
},
"legal": {
"type": "string"
},
"proof": {
"type": "string"
},
"eyebrow": {
"type": "string"
},
"headline": {
"type": "string"
},
"claimReferences": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"maxItems": 3
}
},
"additionalProperties": false
},
"assets": {
"type": "object",
"default": {},
"properties": {
"logos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"alt": {
"type": "string",
"maxLength": 500
},
"url": {
"type": "string",
"maxLength": 4000
},
"role": {
"type": "string",
"maxLength": 80
},
"type": {
"type": "string",
"maxLength": 80
},
"width": {
"type": "number",
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"exclusiveMinimum": 0
},
"alphaPadding": {
"type": "object",
"required": [
"left",
"right",
"top",
"bottom"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"right": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"bottom": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"visibleBounds": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
}
}
},
"additionalProperties": {}
},
"default": [],
"maxItems": 20
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"alt": {
"type": "string",
"maxLength": 500
},
"url": {
"type": "string",
"maxLength": 4000
},
"role": {
"type": "string",
"maxLength": 80
},
"type": {
"type": "string",
"maxLength": 80
},
"width": {
"type": "number",
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"exclusiveMinimum": 0
},
"alphaPadding": {
"type": "object",
"required": [
"left",
"right",
"top",
"bottom"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"right": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"bottom": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"visibleBounds": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
}
}
},
"additionalProperties": {}
},
"default": [],
"maxItems": 100
}
},
"additionalProperties": false
},
"format": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "integer",
"maximum": 10000,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 10000,
"exclusiveMinimum": 0
},
"presetName": {
"type": "string",
"maxLength": 120
}
},
"additionalProperties": false
},
"seatId": {
"type": "string",
"minLength": 1
},
"campaign": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"creative": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"accountId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"templates": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 100
},
"advertiser": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"campaignId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"copyPolicy": {
"type": "object",
"properties": {
"lockedRoles": {
"type": "array",
"items": {
"enum": [
"headline",
"body",
"cta",
"legal",
"eyebrow",
"proof"
],
"type": "string"
}
},
"editableRoles": {
"type": "array",
"items": {
"enum": [
"headline",
"body",
"cta",
"legal",
"eyebrow",
"proof"
],
"type": "string"
}
},
"requiredRoles": {
"type": "array",
"items": {
"enum": [
"headline",
"body",
"cta",
"legal",
"eyebrow",
"proof"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"creativeId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"aiBudgetUsd": {
"type": "number",
"maximum": 0.2,
"exclusiveMinimum": 0
},
"doohContext": {
"type": "object",
"properties": {
"venueType": {
"anyOf": [
{
"type": "string",
"maxLength": 160
},
{
"type": "null"
}
]
},
"environment": {
"enum": [
"roadside",
"street_furniture",
"transit",
"rail",
"underground",
"airport",
"retail",
"shopping_centre",
"large_format",
"indoor",
"stadium",
"other"
],
"type": "string",
"default": "other"
},
"orientation": {
"enum": [
"landscape",
"portrait",
"square"
],
"type": "string"
},
"dwellSeconds": {
"type": "number",
"maximum": 600,
"exclusiveMinimum": 0
},
"motionAllowed": {
"type": "boolean",
"default": false
},
"locationContext": {
"anyOf": [
{
"type": "string",
"maxLength": 800
},
{
"type": "null"
}
]
},
"contextualSignals": {
"type": "array",
"items": {
"enum": [
"location",
"time",
"daypart",
"weather",
"store",
"event",
"feed",
"inventory",
"product_availability"
],
"type": "string"
},
"default": [],
"maxItems": 16
},
"estimatedViewingDistanceMeters": {
"type": "number",
"maximum": 2000,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"advertiserId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"saveToStudio": {
"type": "boolean",
"default": true
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"strategyBrief": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"deliveryProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"directionReference": {
"type": "object",
"required": [
"revision",
"blueprintDigest"
],
"properties": {
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"blueprintDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"approvedCopyVariants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cta": {
"type": "string"
},
"body": {
"type": "string"
},
"legal": {
"type": "string"
},
"proof": {
"type": "string"
},
"eyebrow": {
"type": "string"
},
"headline": {
"type": "string"
},
"claimReferences": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"maxItems": 3
},
"defaultContentLocale": {
"type": "string"
},
"designEvidenceContext": {
"type": "object",
"required": [
"schemaVersion"
],
"properties": {
"copy": {
"type": "object",
"properties": {
"cta": {},
"body": {},
"legal": {},
"claims": {},
"eyebrow": {},
"headline": {},
"copyPolicy": {},
"disclaimer": {},
"lockedTexts": {},
"supportingCopy": {},
"claimReferences": {},
"mandatoryElements": {},
"approvedCopyVariants": {}
}
},
"brand": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"tokens": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"version": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
{
"type": "null"
}
]
},
"constraints": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"facts": {
"type": "array",
"items": {
"type": "object",
"default": null,
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"authority": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceRef": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"statement": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"capturedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"evidenceId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"observedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"publishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"extractedFacts": {
"type": "array",
"items": {}
}
}
},
"default": []
},
"scope": {
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"advertiserId": {
"type": "string"
}
}
},
"locale": {
"type": "string"
},
"campaign": {
"type": "object",
"properties": {
"audience": {},
"objective": {},
"proposition": {}
}
},
"opportunity": {
"anyOf": [
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"reviewAt": {
"type": "string"
},
"objective": {
"type": "string"
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string"
}
},
"audienceContext": {
"type": "string"
},
"evidenceSupport": {
"type": "array",
"items": {
"type": "object",
"required": [
"evidenceId",
"quote"
],
"properties": {
"quote": {
"type": "string"
},
"evidenceId": {
"type": "string"
}
}
}
},
"proposedMessage": {
"type": "string"
},
"visualDirection": {
"type": "string"
},
"visualTerritory": {
"type": "string"
},
"messagingTerritory": {
"type": "string"
},
"measurableHypothesis": {},
"supportingEvidenceIds": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
{
"type": "null"
}
]
},
"schemaVersion": {
"type": "string",
"const": "design-evidence-context-v1"
},
"craftPrecedents": {
"type": "array",
"items": {
"type": "object",
"default": null,
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"default": []
}
}
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"expectedActiveVersionId": {
"anyOf": [
{
"type": "string",
"maxLength": 200,
"minLength": 1
},
{
"type": "null"
}
]
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}build_campaign_creative_set — Plan and create an initial Studio creative set for a campaign that has no saved creatives. Do not use this tool to rebuild existing creatives; use build_ad with campaignId or campaignName, which resolves and rebuilds the full saved Studio inventory.
Plan and create an initial Studio creative set for a campaign that has no saved creatives. Do not use this tool to rebuild existing creatives; use build_ad with campaignId or campaignName, which resolves and rebuilds the full saved Studio inventory.. Classification: creates billable AI usage. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"campaignName",
"objective",
"audience",
"KPI",
"funnelStage"
],
"properties": {
"KPI": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"brand": {
"type": "object",
"required": [
"domain"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"domain": {
"type": "string",
"maxLength": 253,
"minLength": 1
},
"brandId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"websiteUrl": {
"type": "string",
"maxLength": 2000,
"minLength": 1
}
},
"additionalProperties": false
},
"notes": {
"type": "string",
"maxLength": 2000
},
"budget": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "string",
"maxLength": 120,
"minLength": 1
}
]
},
"seatId": {
"type": "string",
"minLength": 1
},
"billing": {
"enum": [
"agent",
"operator",
"advertiser"
],
"type": "string"
},
"channel": {
"enum": [
"display",
"dooh"
],
"type": "string",
"default": "display"
},
"endDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"outputs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "editable"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "static"
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string"
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"enum": [
"editable",
"static_jpeg",
"static_png"
],
"type": "string"
}
]
},
"maxItems": 8
},
"sandbox": {
"type": "boolean",
"default": false
},
"audience": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"operator": {
"type": "string",
"maxLength": 253,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"objective": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"campaignId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"doohContext": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"funnelStage": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"targetSizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 12,
"minItems": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"campaignName": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"generateTags": {
"type": "boolean",
"default": false
},
"saveToStudio": {
"type": "boolean",
"default": true
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"desiredVariantCount": {
"type": "integer",
"maximum": 24,
"minimum": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"strictBrandCompliance": {
"type": "boolean",
"default": true
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"createAdvertiserIfMissing": {
"type": "boolean",
"default": false
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}revise_creative — Revise an existing saved Studio creative by executing a requested change from plain-language instructions. Use this directly when the user supplies a creativeId and asks to change copy, imagery, layout, colours, typography, CTA, branding, or any other editable creative element: do not respond with a copy-paste instruction or ask the user to make the edit in Studio. The revision saves to Studio by default and returns fresh preview links plus QA/certification context; set dryRun only when the user explicitly asks for an unsaved preview.
Revise an existing saved Studio creative by executing a requested change from plain-language instructions. Use this directly when the user supplies a creativeId and asks to change copy, imagery, layout, colours, typography, CTA, branding, or any other editable creative element: do not respond with a copy-paste instruction or ask the user to make the edit in Studio. The revision saves to Studio by default and returns fresh preview links plus QA/certification context; set dryRun only when the user explicitly asks for an unsaved preview.. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"creativeId",
"idempotencyKey"
],
"properties": {
"dryRun": {
"type": "boolean"
},
"prompt": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"persistence": {
"enum": [
"preview_only",
"save_to_studio"
],
"type": "string"
},
"instructions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 20,
"minItems": 1
},
"saveToStudio": {
"type": "boolean"
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}export_creative — Export an existing persisted Studio CreativeDocument version to JPEG, PNG, or a version-bound HTML5 ZIP. HTML5 supports only the declared platform packaging profiles and does not generate or replace editable creative state.
Export an existing persisted Studio CreativeDocument version to JPEG, PNG, or a version-bound HTML5 ZIP. HTML5 supports only the declared platform packaging profiles and does not generate or replace editable creative state.. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"brief": {},
"force": {
"type": "boolean"
},
"input": {},
"assets": {},
"prompt": {
"type": "string"
},
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string"
},
"assetId": {
"type": "string"
},
"outputs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "editable"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "static"
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string"
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"enum": [
"editable",
"static_jpeg",
"static_png"
],
"type": "string"
}
]
},
"maxItems": 8,
"description": "Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output."
},
"audience": {},
"campaign": {},
"creative": {},
"flightId": {
"type": "string"
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {},
"accountId": {
"type": "string"
},
"objective": {
"type": "string"
},
"advertiser": {},
"campaignId": {
"type": "string"
},
"creativeId": {
"type": "string"
},
"templateId": {
"type": "string"
},
"creativeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"persistence": {
"enum": [
"preview_only",
"save_to_studio"
],
"type": "string"
},
"advertiserId": {
"type": "string"
},
"instructions": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string"
},
"requestedFormats": {
"type": "array",
"items": {}
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"skipTraffickedRebuild": {
"type": "boolean"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}clone_creative — clone creative
clone creative. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"idempotencyKey",
"creativeId"
],
"properties": {
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}create_creative_version — create creative version
create creative version. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"creativeId",
"idempotencyKey"
],
"properties": {
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"creative": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"versionId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"changeSummary": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_creative_versions — list creative versions
list creative versions. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"creativeId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"previewId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"templateId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}restore_creative_version — restore creative version
restore creative version. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"creativeId",
"versionId",
"idempotencyKey"
],
"properties": {
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"creative": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"versionId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"changeSummary": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}archive_creative — archive creative
archive creative. Classification: writes to Studio, destructive. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"creativeId"
],
"properties": {
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"resourceId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}list_templates — list templates
list templates. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_template — get template
get template. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"templateId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"previewId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"templateId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_assets — list assets
list assets. 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. Studio assets are scoped resources: pass advertiserId or creativeId when listing assets, and pass one of those scopes together with assetId when retrieving one asset. LeanrIQ returns INVALID_INPUT rather than a misleading empty result when that scope is absent.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_asset — get asset
get asset. 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. Studio assets are scoped resources: pass advertiserId or creativeId when listing assets, and pass one of those scopes together with assetId when retrieving one asset. LeanrIQ returns INVALID_INPUT rather than a misleading empty result when that scope is absent.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"assetId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"previewId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"templateId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}generate_preview_links — Generate public review preview links for one or more saved Studio creatives without changing campaign content.
Generate public review preview links for one or more saved Studio creatives without changing campaign content.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_preview_link — get preview link
get preview link. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"previewId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"previewId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"templateId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}create_flight — create flight
create flight. Classification: writes to Studio. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"platform": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"thirdPartyTags": {
"type": "array",
"items": {
"type": "object",
"required": [
"tag"
],
"properties": {
"tag": {
"type": "string",
"maxLength": 12000,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 3
},
"creativeConfigs": {
"type": "array",
"items": {
"type": "object",
"required": [
"creativeId"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"channel": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"enabled": {
"type": "boolean"
},
"formatId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"tracking": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"previewUrl": {
"type": "string",
"format": "uri"
},
"trafficking": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"previewLinks": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"creativeStatus": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"landingPageUrl": {
"type": "string",
"format": "uri"
},
"thirdPartyTags": {
"type": "array",
"items": {
"type": "object",
"required": [
"tag"
],
"properties": {
"tag": {
"type": "string",
"maxLength": 12000,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 3
},
"clickThroughUrl": {
"type": "string",
"format": "uri"
},
"creativeVersion": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
},
"additionalProperties": {}
},
"default": []
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_flight — get flight
get flight. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"flightId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"previewId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"templateId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_flights — list flights
list flights. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}update_flight — update flight
update flight. Classification: writes to Studio. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"flightId"
],
"properties": {
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"platform": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"thirdPartyTags": {
"type": "array",
"items": {
"type": "object",
"required": [
"tag"
],
"properties": {
"tag": {
"type": "string",
"maxLength": 12000,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 3
},
"creativeConfigs": {
"type": "array",
"items": {
"type": "object",
"required": [
"creativeId"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"channel": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"enabled": {
"type": "boolean"
},
"formatId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"tracking": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"previewUrl": {
"type": "string",
"format": "uri"
},
"trafficking": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"previewLinks": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"creativeStatus": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"landingPageUrl": {
"type": "string",
"format": "uri"
},
"thirdPartyTags": {
"type": "array",
"items": {
"type": "object",
"required": [
"tag"
],
"properties": {
"tag": {
"type": "string",
"maxLength": 12000,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 3
},
"clickThroughUrl": {
"type": "string",
"format": "uri"
},
"creativeVersion": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
},
"additionalProperties": {}
},
"default": []
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}delete_flight — delete flight
delete flight. Classification: writes to Studio, destructive. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"flightId"
],
"properties": {
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"resourceId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}validate_flight — validate flight
validate flight. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"flightId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"previewId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"templateId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}preview_trafficking_output — preview trafficking output
preview trafficking output. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"flightId"
],
"properties": {
"force": {
"type": "boolean"
},
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}traffick_creative — traffick creative
traffick creative. Classification: publishes externally. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"flightId",
"creativeId"
],
"properties": {
"force": {
"type": "boolean"
},
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}traffick_flight — traffick flight
traffick flight. Classification: publishes externally. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"flightId"
],
"properties": {
"force": {
"type": "boolean"
},
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}retraffick_creative — retraffick creative
retraffick creative. Classification: publishes externally. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"flightId",
"creativeId"
],
"properties": {
"force": {
"type": "boolean"
},
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}retraffick_flight — retraffick flight
retraffick flight. Classification: publishes externally. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"flightId"
],
"properties": {
"force": {
"type": "boolean"
},
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}push_flight_to_yahoo — Publish path for approved work only: traffick and certify a saved Studio flight, generate or reuse ad-server tags, and push the resulting inactive or approved payload to Yahoo DSP with audit evidence.
Publish path for approved work only: traffick and certify a saved Studio flight, generate or reuse ad-server tags, and push the resulting inactive or approved payload to Yahoo DSP with audit evidence.. Classification: writes to Studio, publishes externally. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"flightId",
"idempotencyKey"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 100,
"minItems": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}get_adserver_tag — get adserver tag
get adserver tag. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"flightId",
"creativeId"
],
"properties": {
"force": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"platform": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}generate_adserver_tag — generate adserver tag
generate adserver tag. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"flightId",
"creativeId"
],
"properties": {
"force": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"platform": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_trafficked_assets — get trafficked assets
get trafficked assets. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"flightId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"previewId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"templateId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}export_trafficked_assets — export trafficked assets
export trafficked assets. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"flightId"
],
"properties": {
"type": {
"enum": [
"json",
"csv"
],
"type": "string"
},
"seatId": {
"type": "string",
"minLength": 1
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_task — Poll a durable LeanrIQ task returned by build_ad, revise_creative, trafficking, or another queued capability and continue with the completed output.
Poll a durable LeanrIQ task returned by build_ad, revise_creative, trafficking, or another queued capability and continue with the completed output.. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"taskId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_tasks — list tasks
list tasks. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cancel_task — cancel task
cancel task. Classification: read-only. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"taskId"
],
"properties": {
"reason": {
"type": "string",
"maxLength": 1000
},
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}retry_task — retry task
retry task. Classification: read-only. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"taskId"
],
"properties": {
"reason": {
"type": "string",
"maxLength": 1000
},
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}provide_performance_feedback — provide performance feedback
provide performance feedback. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"feedback",
"idempotencyKey"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"feedback": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_run_creative_intelligence — Synthesize grounded, deduplicated advertiser creative opportunities from automatic competitor/category research and broad World signals. Returns a durable run ID and honest partial states; creates no campaign or publication. (deprecated alias)
Synthesize grounded, deduplicated advertiser creative opportunities from automatic competitor/category research and broad World signals. Returns a durable run ID and honest partial states; creates no campaign or publication.. Deprecated alias for run_creative_intelligence. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId",
"idempotencyKey"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_creative_intelligence_run — Read an exact durable intelligence run, including stage, terminal state and retry metadata. (deprecated alias)
Read an exact durable intelligence run, including stage, terminal state and retry metadata.. Deprecated alias for get_creative_intelligence_run. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId",
"runId"
],
"properties": {
"runId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_creative_intelligence — Read saved advertiser creative opportunities and source provenance. (deprecated alias)
Read saved advertiser creative opportunities and source provenance.. Deprecated alias for get_creative_intelligence. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_create_creative_intelligence_plan — Create a concise proposed campaign plan from one grounded opportunity. Studio approval is required before campaign creation. (deprecated alias)
Create a concise proposed campaign plan from one grounded opportunity. Studio approval is required before campaign creation.. Deprecated alias for create_creative_intelligence_plan. Classification: read-only. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId",
"opportunityId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_world_activation_evidence — Read scoped verified event attestations for Studio approval and activation; no publication authority. (deprecated alias)
Read scoped verified event attestations for Studio approval and activation; no publication authority.. Deprecated alias for get_world_activation_evidence. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"eventIds"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"eventIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 10,
"minItems": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_world_research_profile — Read advertiser-scoped World Intelligence V3 profile with evidence; no publication authority. (deprecated alias)
Read advertiser-scoped World Intelligence V3 profile with evidence; no publication authority.. Deprecated alias for get_world_research_profile. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_world_research_summary — Read advertiser-scoped World Intelligence V3 summary with evidence; no publication authority. (deprecated alias)
Read advertiser-scoped World Intelligence V3 summary with evidence; no publication authority.. Deprecated alias for get_world_research_summary. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_world_research_events — Read advertiser-scoped World Intelligence V3 events with evidence; no publication authority. (deprecated alias)
Read advertiser-scoped World Intelligence V3 events with evidence; no publication authority.. Deprecated alias for get_world_research_events. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_world_research_event — Read advertiser-scoped World Intelligence V3 event with evidence; no publication authority. (deprecated alias)
Read advertiser-scoped World Intelligence V3 event with evidence; no publication authority.. Deprecated alias for get_world_research_event. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_world_research_mentions — Read advertiser-scoped World Intelligence V3 mentions with evidence; no publication authority. (deprecated alias)
Read advertiser-scoped World Intelligence V3 mentions with evidence; no publication authority.. Deprecated alias for get_world_research_mentions. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_world_research_insights — Read advertiser-scoped World Intelligence V3 insights with evidence; no publication authority. (deprecated alias)
Read advertiser-scoped World Intelligence V3 insights with evidence; no publication authority.. Deprecated alias for get_world_research_insights. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_world_research_proposal — Read advertiser-scoped World Intelligence V3 proposal with evidence; no publication authority. (deprecated alias)
Read advertiser-scoped World Intelligence V3 proposal with evidence; no publication authority.. Deprecated alias for get_world_research_proposal. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_world_research_decision — Read advertiser-scoped World Intelligence V3 decision with evidence; no publication authority. (deprecated alias)
Read advertiser-scoped World Intelligence V3 decision with evidence; no publication authority.. Deprecated alias for get_world_research_decision. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_world_research_question — Read advertiser-scoped World Intelligence V3 question with evidence; no publication authority. (deprecated alias)
Read advertiser-scoped World Intelligence V3 question with evidence; no publication authority.. Deprecated alias for get_world_research_question. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"entity": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"question": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_build_world_research_profile — Build a versioned advertiser research graph from configured identity and approved context. (deprecated alias)
Build a versioned advertiser research graph from configured identity and approved context.. Deprecated alias for build_world_research_profile. Classification: read-only. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"advertiserContext": {
"type": "object",
"default": {},
"properties": {
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"brands": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"verified": {
"type": "boolean",
"default": false
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 12
},
"market": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"category": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"services": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"vertical": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"wordsToUse": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"competitors": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"creativeDos": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"ctaGuidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"keyMessages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"seasonality": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"toneOfVoice": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"brandSummary": {
"type": "string",
"maxLength": 1600,
"minLength": 1
},
"propositions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"approvedFacts": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"creativeDonts": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"parentCompany": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"verified": {
"type": "boolean",
"default": false
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
}
},
"additionalProperties": false
},
"wordsToNotUse": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"approvedClaims": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"approvedOffers": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"priorityTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"researchImages": {
"type": "array",
"items": {
"type": "object",
"required": [
"assetId",
"label",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 1800
},
"label": {
"type": "string",
"maxLength": 220,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 160,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 16
},
"targetAudience": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"campaignContext": {
"type": "object",
"properties": {
"brief": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"market": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"audience": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"strategy": {
"type": "string",
"maxLength": 900,
"minLength": 1
},
"objective": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"flightDates": {
"type": "string",
"maxLength": 160,
"minLength": 1
}
},
"additionalProperties": false
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"approvedBenefits": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"approvedGuidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"brandPositioning": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"contextualTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"currentCampaigns": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"brandIntelligence": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"competitorIdentities": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"verified": {
"type": "boolean",
"default": false
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 16
}
},
"additionalProperties": false
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_record_world_research_feedback — Record reviewed relevance or decision feedback without changing approval or safety constraints. (deprecated alias)
Record reviewed relevance or decision feedback without changing approval or safety constraints.. Deprecated alias for record_world_research_feedback. Classification: read-only. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"eventId",
"outcome"
],
"properties": {
"reason": {
"type": "string",
"default": "",
"maxLength": 600
},
"seatId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"outcome": {
"enum": [
"RELEVANT",
"DISMISSED",
"APPROVED",
"ACTIVATED",
"OVERRIDDEN",
"EXPIRED",
"CORRECTED"
],
"type": "string"
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_run_world_intelligence — Run bounded, current World Intelligence for one authorised advertiser. It returns source-backed external context and creative opportunities; evidence may be partial and it never publishes or activates creative. (deprecated alias)
Run bounded, current World Intelligence for one authorised advertiser. It returns source-backed external context and creative opportunities; evidence may be partial and it never publishes or activates creative.. Deprecated alias for run_world_intelligence. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: preserve_qualified_evidence_and_signals. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"policy": {
"type": "object",
"required": [
"advertiserId"
],
"properties": {
"enabled": {
"type": "boolean",
"default": true
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"subjects": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"languages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"default": [],
"maxItems": 10
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"exclusions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"creativeRules": {
"type": "object",
"default": {},
"properties": {
"allowedTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"excludedTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"mustAvoidClaims": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"additionalGuidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
}
}
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"schemaVersion": {
"type": "string",
"const": "world-intelligence/v1",
"default": "world-intelligence/v1"
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"activationMode": {
"enum": [
"observe",
"recommend",
"draft"
],
"type": "string",
"default": "recommend"
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"researchBudget": {
"type": "object",
"properties": {
"maxSearches": {
"type": "integer",
"default": 10,
"maximum": 20,
"minimum": 1
},
"maxDeepEvents": {
"type": "integer",
"default": 3,
"maximum": 10,
"minimum": 0
},
"maxModelCalls": {
"type": "integer",
"default": 12,
"maximum": 12,
"minimum": 1
},
"monthlyRequestUnits": {
"type": "integer",
"default": 1000,
"maximum": 100000,
"minimum": 1
}
},
"additionalProperties": false
},
"sourceCountries": {
"type": "array",
"items": {
"enum": [
"GB",
"US",
"HK"
],
"type": "string"
},
"maxItems": 3,
"minItems": 1
},
"minimumRelevance": {
"type": "number",
"default": 0.55,
"maximum": 1,
"minimum": 0
},
"minimumConfidence": {
"type": "number",
"default": 0.55,
"maximum": 1,
"minimum": 0
},
"sourcePreferences": {
"type": "object",
"properties": {
"weatherLocations": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"latitude",
"longitude"
],
"properties": {
"label": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"market": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 4
},
"commercialWeather": {
"type": "boolean",
"default": false
},
"conversationTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"default": [],
"maxItems": 6
},
"publicConversations": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"trustedSourcesOnly": {
"type": "boolean",
"default": false
},
"allowedSourceDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"default": [],
"maxItems": 50
},
"blockedSourceDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"default": [],
"maxItems": 50
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
},
"additionalProperties": false
},
"seatId": {
"type": "string",
"minLength": 1
},
"routine": {
"type": "object",
"required": [
"routineId",
"advertiserId",
"name",
"frequency"
],
"properties": {
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"status": {
"enum": [
"ACTIVE",
"PAUSED"
],
"type": "string",
"default": "ACTIVE"
},
"enabled": {
"type": "boolean",
"default": true
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"curation": {
"type": "object",
"required": [
"revision",
"receiptIds",
"excludedEventIds",
"relevantEventIds",
"pinnedEventIds",
"strategyEventIds",
"followUpQuestions",
"excludeTopics"
],
"properties": {
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"receiptIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 100
},
"excludeTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 30
},
"pinnedEventIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 100
},
"excludedEventIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 100
},
"relevantEventIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 100
},
"strategyEventIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 100
},
"followUpQuestions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"maxItems": 7
}
},
"additionalProperties": false
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"subjects": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"timezone": {
"type": "string",
"default": "UTC",
"maxLength": 80,
"minLength": 1
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"frequency": {
"enum": [
"MANUAL",
"DAILY",
"WEEKLY",
"MONTHLY"
],
"type": "string"
},
"languages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"default": [],
"maxItems": 10
},
"lastRunAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
{
"type": "null"
}
]
},
"nextRunAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
{
"type": "null"
}
]
},
"routineId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"lookbackDays": {
"type": "integer",
"maximum": 90,
"minimum": 1
},
"sourceLocale": {
"type": "string"
},
"sourcePolicy": {
"type": "object",
"default": {},
"properties": {
"trustedSourcesOnly": {
"type": "boolean",
"default": false
},
"allowedSourceDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"default": [],
"maxItems": 50
},
"blockedSourceDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"default": [],
"maxItems": 50
}
}
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"lookbackHours": {
"type": "integer",
"maximum": 2160,
"minimum": 1
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"customResearch": {
"type": "object",
"required": [
"schemaVersion",
"revision",
"description",
"businessObjective",
"primaryQuestion",
"products",
"audiences",
"markets",
"languages",
"additionalQuestions",
"investigate",
"signals",
"meaningfulFinding",
"includeTopics",
"excludeTopics",
"positiveIndicators",
"negativeIndicators",
"sourceTypes",
"preferredDomains",
"excludedDomains",
"feedIds",
"conversationTopics",
"weatherLocations",
"minimumConfidence",
"minimumRelevance",
"minimumIndependentSources",
"requirePrimarySource",
"evidenceRequirements",
"creativeObjectives",
"depth",
"freshnessHours",
"maxRequestUnits",
"maxAiCostUsd",
"expiresAt"
],
"properties": {
"depth": {
"enum": [
"FOCUSED",
"STANDARD",
"DEEP"
],
"type": "string"
},
"feedIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 4
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"maxItems": 20
},
"signals": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 12
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 20
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"audiences": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 12
},
"expiresAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
{
"type": "null"
}
]
},
"languages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"minLength": 1
},
"maxItems": 10
},
"description": {
"type": "string",
"maxLength": 2400
},
"investigate": {
"type": "string",
"maxLength": 1600
},
"sourceTypes": {
"type": "array",
"items": {
"enum": [
"web_search",
"permitted_feeds",
"public_conversations",
"commercial_weather",
"competitor_cache"
],
"type": "string"
},
"maxItems": 5,
"minItems": 1
},
"maxAiCostUsd": {
"type": "number",
"maximum": 2,
"minimum": 0.01
},
"planningMode": {
"enum": [
"AUTOMATIC",
"CUSTOM"
],
"type": "string"
},
"competitorIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 12
},
"excludeTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 30
},
"includeTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"maxItems": 20
},
"researchScope": {
"enum": [
"COMPETITOR",
"WORLD"
],
"type": "string"
},
"schemaVersion": {
"type": "string",
"const": "CustomWorldResearch/v1"
},
"freshnessHours": {
"type": "integer",
"maximum": 2160,
"minimum": 1
},
"excludedDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240
},
"maxItems": 50
},
"maxRequestUnits": {
"type": "integer",
"maximum": 32,
"minimum": 4
},
"primaryQuestion": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"minimumRelevance": {
"type": "number",
"maximum": 1,
"minimum": 0.55
},
"preferredDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240
},
"maxItems": 50
},
"weatherLocations": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"latitude",
"longitude",
"market"
],
"properties": {
"label": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"market": {
"type": "string",
"maxLength": 16
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180
}
},
"additionalProperties": false
},
"maxItems": 4
},
"businessObjective": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"meaningfulFinding": {
"type": "string",
"maxLength": 1200
},
"minimumConfidence": {
"type": "number",
"maximum": 1,
"minimum": 0.55
},
"conversationTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxItems": 6
},
"creativeObjectives": {
"type": "array",
"items": {
"enum": [
"AUDIENCE_MOTIVATIONS",
"VISUAL_CONCEPTS",
"LAYOUT_HIERARCHY",
"STORYTELLING",
"MESSAGING",
"CHANNEL_OPPORTUNITIES",
"SEASONAL_CHANGE",
"PRODUCT_POSITIONING",
"DIFFERENTIATION"
],
"type": "string"
},
"maxItems": 9,
"minItems": 1
},
"negativeIndicators": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 12
},
"positiveIndicators": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 12
},
"additionalQuestions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"maxItems": 7
},
"evidenceRequirements": {
"type": "string",
"maxLength": 1200
},
"requirePrimarySource": {
"type": "boolean"
},
"minimumIndependentSources": {
"type": "integer",
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
"minimumRelevance": {
"type": "number",
"default": 0.55,
"maximum": 1,
"minimum": 0
},
"minimumConfidence": {
"type": "number",
"default": 0.55,
"maximum": 1,
"minimum": 0
},
"defaultContentLocale": {
"type": "string"
},
"freshnessRequirement": {
"enum": [
"RECENT",
"CURRENT",
"ANY"
],
"type": "string",
"default": "RECENT"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
},
"additionalProperties": false
},
"seatName": {
"type": "string",
"minLength": 1
},
"routineId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"forceRefresh": {
"type": "boolean",
"default": false
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"lookbackHours": {
"type": "integer",
"maximum": 2160,
"minimum": 1
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"advertiserContext": {
"type": "object",
"default": {},
"properties": {
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"brands": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"verified": {
"type": "boolean",
"default": false
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 12
},
"market": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"category": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"services": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"vertical": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"wordsToUse": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"competitors": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"creativeDos": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"ctaGuidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"keyMessages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"seasonality": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"toneOfVoice": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"brandSummary": {
"type": "string",
"maxLength": 1600,
"minLength": 1
},
"propositions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"approvedFacts": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"creativeDonts": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"parentCompany": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"verified": {
"type": "boolean",
"default": false
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
}
},
"additionalProperties": false
},
"wordsToNotUse": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"approvedClaims": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"approvedOffers": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"priorityTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"researchImages": {
"type": "array",
"items": {
"type": "object",
"required": [
"assetId",
"label",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 1800
},
"label": {
"type": "string",
"maxLength": 220,
"minLength": 1
},
"assetId": {
"type": "string",
"maxLength": 160,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 16
},
"targetAudience": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 16
},
"campaignContext": {
"type": "object",
"properties": {
"brief": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"market": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"audience": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"strategy": {
"type": "string",
"maxLength": 900,
"minLength": 1
},
"objective": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"flightDates": {
"type": "string",
"maxLength": 160,
"minLength": 1
}
},
"additionalProperties": false
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"approvedBenefits": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"approvedGuidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 30
},
"brandPositioning": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"contextualTopics": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"currentCampaigns": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"brandIntelligence": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"competitorIdentities": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
},
"markets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"products": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"default": [],
"maxItems": 20
},
"verified": {
"type": "boolean",
"default": false
},
"officialDomain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"negativeAliases": {
"type": "array",
"items": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"default": [],
"maxItems": 12
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 16
}
},
"additionalProperties": false
},
"defaultContentLocale": {
"type": "string"
},
"researchInstructions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"default": [],
"maxItems": 8
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_world_intelligence — Get the latest advertiser World Intelligence summary. It is fresh, source-backed context that may be partial; opportunities are recommendations and this never publishes creative. (deprecated alias)
Get the latest advertiser World Intelligence summary. It is fresh, source-backed context that may be partial; opportunities are recommendations and this never publishes creative.. Deprecated alias for get_world_intelligence. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"runId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"startedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_list_world_signals — List active, source-provenanced World Intelligence signals for one authorised advertiser. This is current contextual intelligence, not a general-purpose news search. (deprecated alias)
List active, source-provenanced World Intelligence signals for one authorised advertiser. This is current contextual intelligence, not a general-purpose news search.. Deprecated alias for list_world_signals. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"exclusiveMinimum": 0
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_list_world_opportunities — List active World Intelligence creative opportunities for one authorised advertiser. Opportunities are human-review recommendations and never publish creative. (deprecated alias)
List active World Intelligence creative opportunities for one authorised advertiser. Opportunities are human-review recommendations and never publish creative.. Deprecated alias for list_world_opportunities. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"exclusiveMinimum": 0
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_world_opportunity — Get one active or historical World Intelligence opportunity and its compact provenance in the selected advertiser scope. It does not publish creative. (deprecated alias)
Get one active or historical World Intelligence opportunity and its compact provenance in the selected advertiser scope. It does not publish creative.. Deprecated alias for get_world_opportunity. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"opportunityId"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_select_world_opportunity_for_campaign — Explicitly select one reviewed, source-provenanced World Intelligence opportunity for an authorised Studio campaign. Studio performs the same campaign authorization, scoped LeanrIQ lookup, and persistence path as the UI. This does not materialise a feed, create creative, traffic, or publish. (deprecated alias)
Explicitly select one reviewed, source-provenanced World Intelligence opportunity for an authorised Studio campaign. Studio performs the same campaign authorization, scoped LeanrIQ lookup, and persistence path as the UI. This does not materialise a feed, create creative, traffic, or publish.. Deprecated alias for select_world_opportunity_for_campaign. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId",
"campaignId",
"opportunityId",
"idempotencyKey"
],
"properties": {
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"opportunityId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"expectedVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_qa_creative — QA a creative for launch readiness with actionable issues, certification evidence, and next steps before preview, revision, or trafficking. (deprecated alias)
QA a creative for launch readiness with actionable issues, certification evidence, and next steps before preview, revision, or trafficking.. Deprecated alias for qa_creative. Classification: creates billable AI usage. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brand",
"format",
"objective",
"creative"
],
"properties": {
"brand": {
"type": "string",
"minLength": 1
},
"rules": {
"type": "array",
"items": {
"type": "string"
}
},
"format": {
"type": "string",
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"context": {
"type": "string"
},
"creative": {
"type": "object",
"properties": {
"cta": {
"type": "string"
},
"body": {
"type": "string"
},
"headline": {
"type": "string"
},
"landingPageUrl": {
"type": "string",
"format": "uri"
},
"imageDescription": {
"type": "string"
}
}
},
"seatName": {
"type": "string",
"minLength": 1
},
"objective": {
"type": "string",
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_launch_creative_campaign — LeanrIQ Creative Runtime: Default preview mode works without Studio and stores research, briefs, builds, QA, and previews in a LeanrIQ workspace. collaborate keeps proposals non-destructive; operate deliberately creates Studio work. Publish is never inferred: traffic_ready and publish remain explicit governed Studio actions. (deprecated alias)
LeanrIQ Creative Runtime: Default preview mode works without Studio and stores research, briefs, builds, QA, and previews in a LeanrIQ workspace. collaborate keeps proposals non-destructive; operate deliberately creates Studio work. Publish is never inferred: traffic_ready and publish remain explicit governed Studio actions.. Deprecated alias for launch_creative_campaign. Classification: writes to Studio, creates billable AI usage, publishes externally. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"objective"
],
"properties": {
"KPI": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"cta": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"tone": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"brand": {
"anyOf": [
{
"type": "string",
"maxLength": 240,
"minLength": 1
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"domain": {
"type": "string",
"maxLength": 253,
"minLength": 1
},
"websiteUrl": {
"type": "string",
"maxLength": 2000,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"force": {
"type": "boolean"
},
"offer": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"budget": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"seatId": {
"type": "string",
"minLength": 1
},
"channel": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"endDate": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"product": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"audience": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"elements": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 80,
"minLength": 1
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": {}
}
]
},
"maxItems": 32
},
"flightId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"headline": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"platform": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"vertical": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"mustAvoid": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 40
},
"objective": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"skippable": {
"type": "boolean"
},
"startDate": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"approvalId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"flightName": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"constraints": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 40
},
"creativeIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 24,
"minItems": 1
},
"destination": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"funnelStage": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"mustInclude": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"maxItems": 40
},
"persistence": {
"enum": [
"preview_only",
"save_to_studio"
],
"type": "string"
},
"targetSizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 24,
"minItems": 1
},
"workspaceId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignName": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"deliverables": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 48
},
"saveToStudio": {
"type": "boolean"
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"executionMode": {
"enum": [
"preview",
"collaborate",
"operate",
"traffic_ready",
"publish",
"autopilot"
],
"type": "string",
"default": "preview"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"landingPageUrl": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"sourceAssetIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 50
},
"supportingCopy": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"thirdPartyTags": {
"type": "array",
"items": {
"type": "object",
"required": [
"tag"
],
"properties": {
"tag": {
"type": "string",
"maxLength": 12000,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 3
},
"durationSeconds": {
"type": "integer",
"maximum": 120,
"minimum": 5
},
"revisionRequest": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"workspaceSource": {
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeBriefs": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 12
},
"assetReferences": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"selectedTerritory": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"performanceEvidence": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 1000
},
"defaultContentLocale": {
"type": "string"
},
"sourceFrameImageUrls": {
"type": "array",
"items": {
"type": "string",
"maxLength": 4000
},
"maxItems": 3
},
"workspaceAccessToken": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"createCampaignIfMissing": {
"type": "boolean"
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}leanriq_build_ad — Create AI Display CreativeDocuments from objective and requestedFormats without pre-existing creatives. Optional outputs requests static JPEG/PNG delivery after save_to_studio while retaining the editable document. Export existing versions with export_creative. Build and save existing Studio creative records. When campaignId or campaignName is supplied, LeanrIQ resolves the complete persisted campaign inventory, uses each saved brief, approved asset set, and eligible global or advertiser template, then runs the canonical Studio Gold build path. Campaign-scoped calls save by default; use persistence preview_only only for an unsaved ad-hoc preview. (deprecated alias)
Create AI Display CreativeDocuments from objective and requestedFormats without pre-existing creatives. Optional outputs requests static JPEG/PNG delivery after save_to_studio while retaining the editable document. Export existing versions with export_creative. Build and save existing Studio creative records. When campaignId or campaignName is supplied, LeanrIQ resolves the complete persisted campaign inventory, uses each saved brief, approved asset set, and eligible global or advertiser template, then runs the canonical Studio Gold build path. Campaign-scoped calls save by default; use persistence preview_only only for an unsaved ad-hoc preview.. Deprecated alias for build_ad. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"brief": {},
"force": {
"type": "boolean"
},
"input": {},
"assets": {},
"prompt": {
"type": "string"
},
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string"
},
"assetId": {
"type": "string"
},
"outputs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "editable"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "static"
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string"
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"enum": [
"editable",
"static_jpeg",
"static_png"
],
"type": "string"
}
]
},
"maxItems": 8,
"description": "Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output."
},
"audience": {},
"campaign": {},
"creative": {},
"flightId": {
"type": "string"
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {},
"accountId": {
"type": "string"
},
"objective": {
"type": "string"
},
"advertiser": {},
"campaignId": {
"type": "string"
},
"creativeId": {
"type": "string"
},
"templateId": {
"type": "string"
},
"creativeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"persistence": {
"enum": [
"preview_only",
"save_to_studio"
],
"type": "string"
},
"advertiserId": {
"type": "string"
},
"instructions": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string"
},
"requestedFormats": {
"type": "array",
"items": {}
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"skipTraffickedRebuild": {
"type": "boolean"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_build_agent_ad — Create AI Display CreativeDocuments from objective and requestedFormats without pre-existing creatives. Optional outputs requests static JPEG/PNG delivery after save_to_studio while retaining the editable document. Export existing versions with export_creative. Build and save existing Studio creative records. When campaignId or campaignName is supplied, LeanrIQ resolves the complete persisted campaign inventory, uses each saved brief, approved asset set, and eligible global or advertiser template, then runs the canonical Studio Gold build path. Campaign-scoped calls save by default; use persistence preview_only only for an unsaved ad-hoc preview. (deprecated alias)
Create AI Display CreativeDocuments from objective and requestedFormats without pre-existing creatives. Optional outputs requests static JPEG/PNG delivery after save_to_studio while retaining the editable document. Export existing versions with export_creative. Build and save existing Studio creative records. When campaignId or campaignName is supplied, LeanrIQ resolves the complete persisted campaign inventory, uses each saved brief, approved asset set, and eligible global or advertiser template, then runs the canonical Studio Gold build path. Campaign-scoped calls save by default; use persistence preview_only only for an unsaved ad-hoc preview.. Deprecated alias for build_ad. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"brief": {},
"force": {
"type": "boolean"
},
"input": {},
"assets": {},
"prompt": {
"type": "string"
},
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string"
},
"assetId": {
"type": "string"
},
"outputs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "editable"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "static"
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string"
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"enum": [
"editable",
"static_jpeg",
"static_png"
],
"type": "string"
}
]
},
"maxItems": 8,
"description": "Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output."
},
"audience": {},
"campaign": {},
"creative": {},
"flightId": {
"type": "string"
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {},
"accountId": {
"type": "string"
},
"objective": {
"type": "string"
},
"advertiser": {},
"campaignId": {
"type": "string"
},
"creativeId": {
"type": "string"
},
"templateId": {
"type": "string"
},
"creativeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"persistence": {
"enum": [
"preview_only",
"save_to_studio"
],
"type": "string"
},
"advertiserId": {
"type": "string"
},
"instructions": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string"
},
"requestedFormats": {
"type": "array",
"items": {}
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"skipTraffickedRebuild": {
"type": "boolean"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_build_dooh — Build a DOOH-native poster for an existing Studio creative, compare exact native renders and save the complete editable working version by default. Below-threshold creative review retains a technically valid version without release approval. Explicit saveToStudio=false is an unsaved preview. DOOH never contains CTA buttons. It does not route through Display build_ad. (deprecated alias)
Build a DOOH-native poster for an existing Studio creative, compare exact native renders and save the complete editable working version by default. Below-threshold creative review retains a technically valid version without release approval. Explicit saveToStudio=false is an unsaved preview. DOOH never contains CTA buttons. It does not route through Display build_ad.. Deprecated alias for build_dooh. Classification: writes to Studio, creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"copy": {
"type": "object",
"default": {},
"properties": {
"body": {
"type": "string",
"maxLength": 2000
},
"legal": {
"type": "string"
},
"action": {
"type": "string",
"maxLength": 120
},
"headline": {
"type": "string",
"maxLength": 500
},
"approvedCopyVariants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cta": {
"type": "string"
},
"body": {
"type": "string"
},
"legal": {
"type": "string"
},
"proof": {
"type": "string"
},
"eyebrow": {
"type": "string"
},
"headline": {
"type": "string"
},
"claimReferences": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"maxItems": 3
}
},
"additionalProperties": false
},
"assets": {
"type": "object",
"default": {},
"properties": {
"logos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"alt": {
"type": "string",
"maxLength": 500
},
"url": {
"type": "string",
"maxLength": 4000
},
"role": {
"type": "string",
"maxLength": 80
},
"type": {
"type": "string",
"maxLength": 80
},
"width": {
"type": "number",
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"exclusiveMinimum": 0
},
"alphaPadding": {
"type": "object",
"required": [
"left",
"right",
"top",
"bottom"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"right": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"bottom": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"visibleBounds": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
}
}
},
"additionalProperties": {}
},
"default": [],
"maxItems": 20
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"alt": {
"type": "string",
"maxLength": 500
},
"url": {
"type": "string",
"maxLength": 4000
},
"role": {
"type": "string",
"maxLength": 80
},
"type": {
"type": "string",
"maxLength": 80
},
"width": {
"type": "number",
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"exclusiveMinimum": 0
},
"alphaPadding": {
"type": "object",
"required": [
"left",
"right",
"top",
"bottom"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"right": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"bottom": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"visibleBounds": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
}
}
},
"additionalProperties": {}
},
"default": [],
"maxItems": 100
}
},
"additionalProperties": false
},
"format": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "integer",
"maximum": 10000,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 10000,
"exclusiveMinimum": 0
},
"presetName": {
"type": "string",
"maxLength": 120
}
},
"additionalProperties": false
},
"seatId": {
"type": "string",
"minLength": 1
},
"campaign": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"creative": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"accountId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"templates": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 100
},
"advertiser": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"campaignId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"copyPolicy": {
"type": "object",
"properties": {
"lockedRoles": {
"type": "array",
"items": {
"enum": [
"headline",
"body",
"cta",
"legal",
"eyebrow",
"proof"
],
"type": "string"
}
},
"editableRoles": {
"type": "array",
"items": {
"enum": [
"headline",
"body",
"cta",
"legal",
"eyebrow",
"proof"
],
"type": "string"
}
},
"requiredRoles": {
"type": "array",
"items": {
"enum": [
"headline",
"body",
"cta",
"legal",
"eyebrow",
"proof"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"creativeId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"aiBudgetUsd": {
"type": "number",
"maximum": 0.2,
"exclusiveMinimum": 0
},
"doohContext": {
"type": "object",
"properties": {
"venueType": {
"anyOf": [
{
"type": "string",
"maxLength": 160
},
{
"type": "null"
}
]
},
"environment": {
"enum": [
"roadside",
"street_furniture",
"transit",
"rail",
"underground",
"airport",
"retail",
"shopping_centre",
"large_format",
"indoor",
"stadium",
"other"
],
"type": "string",
"default": "other"
},
"orientation": {
"enum": [
"landscape",
"portrait",
"square"
],
"type": "string"
},
"dwellSeconds": {
"type": "number",
"maximum": 600,
"exclusiveMinimum": 0
},
"motionAllowed": {
"type": "boolean",
"default": false
},
"locationContext": {
"anyOf": [
{
"type": "string",
"maxLength": 800
},
{
"type": "null"
}
]
},
"contextualSignals": {
"type": "array",
"items": {
"enum": [
"location",
"time",
"daypart",
"weather",
"store",
"event",
"feed",
"inventory",
"product_availability"
],
"type": "string"
},
"default": [],
"maxItems": 16
},
"estimatedViewingDistanceMeters": {
"type": "number",
"maximum": 2000,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"advertiserId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"saveToStudio": {
"type": "boolean",
"default": true
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"strategyBrief": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"deliveryProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"directionReference": {
"type": "object",
"required": [
"revision",
"blueprintDigest"
],
"properties": {
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"blueprintDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"approvedCopyVariants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cta": {
"type": "string"
},
"body": {
"type": "string"
},
"legal": {
"type": "string"
},
"proof": {
"type": "string"
},
"eyebrow": {
"type": "string"
},
"headline": {
"type": "string"
},
"claimReferences": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"maxItems": 3
},
"defaultContentLocale": {
"type": "string"
},
"designEvidenceContext": {
"type": "object",
"required": [
"schemaVersion"
],
"properties": {
"copy": {
"type": "object",
"properties": {
"cta": {},
"body": {},
"legal": {},
"claims": {},
"eyebrow": {},
"headline": {},
"copyPolicy": {},
"disclaimer": {},
"lockedTexts": {},
"supportingCopy": {},
"claimReferences": {},
"mandatoryElements": {},
"approvedCopyVariants": {}
}
},
"brand": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"tokens": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"version": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
{
"type": "null"
}
]
},
"constraints": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"facts": {
"type": "array",
"items": {
"type": "object",
"default": null,
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"authority": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceRef": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"statement": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"capturedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"evidenceId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"observedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"publishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"extractedFacts": {
"type": "array",
"items": {}
}
}
},
"default": []
},
"scope": {
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"advertiserId": {
"type": "string"
}
}
},
"locale": {
"type": "string"
},
"campaign": {
"type": "object",
"properties": {
"audience": {},
"objective": {},
"proposition": {}
}
},
"opportunity": {
"anyOf": [
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"reviewAt": {
"type": "string"
},
"objective": {
"type": "string"
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string"
}
},
"audienceContext": {
"type": "string"
},
"evidenceSupport": {
"type": "array",
"items": {
"type": "object",
"required": [
"evidenceId",
"quote"
],
"properties": {
"quote": {
"type": "string"
},
"evidenceId": {
"type": "string"
}
}
}
},
"proposedMessage": {
"type": "string"
},
"visualDirection": {
"type": "string"
},
"visualTerritory": {
"type": "string"
},
"messagingTerritory": {
"type": "string"
},
"measurableHypothesis": {},
"supportingEvidenceIds": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
{
"type": "null"
}
]
},
"schemaVersion": {
"type": "string",
"const": "design-evidence-context-v1"
},
"craftPrecedents": {
"type": "array",
"items": {
"type": "object",
"default": null,
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"default": []
}
}
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"expectedActiveVersionId": {
"anyOf": [
{
"type": "string",
"maxLength": 200,
"minLength": 1
},
{
"type": "null"
}
]
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanr_build_campaign_creative_set — Plan and create an initial Studio creative set for a campaign that has no saved creatives. Do not use this tool to rebuild existing creatives; use build_ad with campaignId or campaignName, which resolves and rebuilds the full saved Studio inventory. (deprecated alias)
Plan and create an initial Studio creative set for a campaign that has no saved creatives. Do not use this tool to rebuild existing creatives; use build_ad with campaignId or campaignName, which resolves and rebuilds the full saved Studio inventory.. Deprecated alias for build_campaign_creative_set. Classification: creates billable AI usage. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"campaignName",
"objective",
"audience",
"KPI",
"funnelStage"
],
"properties": {
"KPI": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"brand": {
"type": "object",
"required": [
"domain"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"domain": {
"type": "string",
"maxLength": 253,
"minLength": 1
},
"brandId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"websiteUrl": {
"type": "string",
"maxLength": 2000,
"minLength": 1
}
},
"additionalProperties": false
},
"notes": {
"type": "string",
"maxLength": 2000
},
"budget": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "string",
"maxLength": 120,
"minLength": 1
}
]
},
"seatId": {
"type": "string",
"minLength": 1
},
"billing": {
"enum": [
"agent",
"operator",
"advertiser"
],
"type": "string"
},
"channel": {
"enum": [
"display",
"dooh"
],
"type": "string",
"default": "display"
},
"endDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"outputs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "editable"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "static"
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string"
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"enum": [
"editable",
"static_jpeg",
"static_png"
],
"type": "string"
}
]
},
"maxItems": 8
},
"sandbox": {
"type": "boolean",
"default": false
},
"audience": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"operator": {
"type": "string",
"maxLength": 253,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"objective": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"campaignId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"doohContext": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"funnelStage": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"targetSizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 12,
"minItems": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"campaignName": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"generateTags": {
"type": "boolean",
"default": false
},
"saveToStudio": {
"type": "boolean",
"default": true
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"desiredVariantCount": {
"type": "integer",
"maximum": 24,
"minimum": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"strictBrandCompliance": {
"type": "boolean",
"default": true
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"createAdvertiserIfMissing": {
"type": "boolean",
"default": false
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_resolve_or_provision_advertiser — resolve or provision advertiser (deprecated alias)
resolve or provision advertiser. Deprecated alias for resolve_or_provision_advertiser. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"brand": {
"type": "object",
"required": [
"domain"
],
"properties": {
"name": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"domain": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"brandId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"websiteUrl": {
"type": "string",
"maxLength": 2000,
"minLength": 1
}
},
"additionalProperties": false
},
"dryRun": {
"type": "boolean"
},
"seatId": {
"type": "string",
"minLength": 1
},
"billing": {
"enum": [
"agent",
"operator",
"advertiser"
],
"type": "string"
},
"sandbox": {
"type": "boolean"
},
"operator": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"createIfMissing": {
"type": "boolean"
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_create_strategy — create creative strategy (deprecated alias)
create creative strategy. Deprecated alias for create_creative_strategy. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brand",
"product",
"audience",
"goal"
],
"properties": {
"goal": {
"type": "string",
"minLength": 1
},
"brand": {
"type": "string",
"minLength": 1
},
"offer": {
"type": "string"
},
"seatId": {
"type": "string",
"minLength": 1
},
"channel": {
"type": "string"
},
"context": {
"type": "string"
},
"product": {
"type": "string",
"minLength": 1
},
"audience": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"constraints": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_create_brief — Generate Studio-ready design briefs for one or more creatives, using campaign context, brand rules, audience, offer, and format constraints. When creative IDs and saveToStudio are supplied, LeanrIQ saves only when the caller has Studio write permission; otherwise it returns a non-destructive proposal. (deprecated alias)
Generate Studio-ready design briefs for one or more creatives, using campaign context, brand rules, audience, offer, and format constraints. When creative IDs and saveToStudio are supplied, LeanrIQ saves only when the caller has Studio write permission; otherwise it returns a non-destructive proposal.. Deprecated alias for create_creative_brief. Classification: writes to Studio, creates billable AI usage. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"brief": {},
"force": {
"type": "boolean"
},
"input": {},
"assets": {},
"prompt": {
"type": "string"
},
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string"
},
"assetId": {
"type": "string"
},
"outputs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "editable"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "static"
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string"
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"enum": [
"editable",
"static_jpeg",
"static_png"
],
"type": "string"
}
]
},
"maxItems": 8,
"description": "Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output."
},
"audience": {},
"campaign": {},
"creative": {},
"flightId": {
"type": "string"
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {},
"accountId": {
"type": "string"
},
"objective": {
"type": "string"
},
"advertiser": {},
"campaignId": {
"type": "string"
},
"creativeId": {
"type": "string"
},
"templateId": {
"type": "string"
},
"creativeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"persistence": {
"enum": [
"preview_only",
"save_to_studio"
],
"type": "string"
},
"advertiserId": {
"type": "string"
},
"instructions": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string"
},
"requestedFormats": {
"type": "array",
"items": {}
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"skipTraffickedRebuild": {
"type": "boolean"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_create_creative_brief — Generate Studio-ready design briefs for one or more creatives, using campaign context, brand rules, audience, offer, and format constraints. When creative IDs and saveToStudio are supplied, LeanrIQ saves only when the caller has Studio write permission; otherwise it returns a non-destructive proposal. (deprecated alias)
Generate Studio-ready design briefs for one or more creatives, using campaign context, brand rules, audience, offer, and format constraints. When creative IDs and saveToStudio are supplied, LeanrIQ saves only when the caller has Studio write permission; otherwise it returns a non-destructive proposal.. Deprecated alias for create_creative_brief. Classification: writes to Studio, creates billable AI usage. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"brief": {},
"force": {
"type": "boolean"
},
"input": {},
"assets": {},
"prompt": {
"type": "string"
},
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string"
},
"assetId": {
"type": "string"
},
"outputs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "editable"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "static"
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string"
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"enum": [
"editable",
"static_jpeg",
"static_png"
],
"type": "string"
}
]
},
"maxItems": 8,
"description": "Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output."
},
"audience": {},
"campaign": {},
"creative": {},
"flightId": {
"type": "string"
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {},
"accountId": {
"type": "string"
},
"objective": {
"type": "string"
},
"advertiser": {},
"campaignId": {
"type": "string"
},
"creativeId": {
"type": "string"
},
"templateId": {
"type": "string"
},
"creativeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"persistence": {
"enum": [
"preview_only",
"save_to_studio"
],
"type": "string"
},
"advertiserId": {
"type": "string"
},
"instructions": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string"
},
"requestedFormats": {
"type": "array",
"items": {}
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"skipTraffickedRebuild": {
"type": "boolean"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_create_production_plan — create production plan (deprecated alias)
create production plan. Deprecated alias for create_production_plan. Classification: creates billable AI usage. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brand",
"campaignName",
"format",
"brief"
],
"properties": {
"mode": {
"enum": [
"planning",
"studio_instructions"
],
"type": "string",
"default": "studio_instructions"
},
"brand": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"tone": {
"type": "string",
"minLength": 1
},
"colours": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"summary": {
"type": "string",
"minLength": 1
},
"targetAudience": {
"type": "string",
"minLength": 1
}
}
}
]
},
"brief": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"assets": {
"type": "array",
"items": {
"type": "object",
"required": [
"type"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"name": {
"type": "string",
"minLength": 1
},
"type": {
"enum": [
"logo",
"image",
"video",
"copy",
"other"
],
"type": "string"
},
"description": {
"type": "string",
"minLength": 1
}
}
}
},
"format": {
"type": "string",
"minLength": 1
},
"seatId": {
"type": "string",
"minLength": 1
},
"creative": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"size": {
"type": "string",
"minLength": 1
},
"elements": {
"type": "array",
"items": {
"type": "object",
"required": [
"type"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"size": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "number"
},
"height": {
"type": "number"
}
}
},
"type": {
"enum": [
"text",
"image",
"logo",
"button",
"shape",
"video",
"carousel",
"other"
],
"type": "string"
},
"label": {
"type": "string",
"minLength": 1
},
"style": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"locked": {
"type": "boolean"
},
"content": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"editable": {
"type": "object",
"properties": {
"size": {
"type": "boolean"
},
"text": {
"type": "boolean"
},
"asset": {
"type": "boolean"
},
"style": {
"type": "boolean"
},
"position": {
"type": "boolean"
}
}
},
"position": {
"type": "object",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
}
},
"roleHint": {
"enum": [
"headline",
"body",
"cta",
"logo",
"image",
"video",
"background",
"carousel",
"other"
],
"type": "string"
},
"currentValue": {
"type": "string"
}
}
}
}
}
},
"campaignId": {
"type": "string",
"minLength": 1
},
"creativeId": {
"type": "string",
"minLength": 1
},
"constraints": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"advertiserId": {
"type": "string",
"minLength": 1
},
"campaignName": {
"type": "string",
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"templateAnalysis": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"studioCapabilities": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"requestedOperationTypes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_run_creative_chain — run creative chain (deprecated alias)
run creative chain. Deprecated alias for run_creative_chain. Classification: writes to Studio, creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"KPI": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"goal": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"tone": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {},
"additionalProperties": {}
}
]
},
"force": {
"type": "boolean"
},
"offer": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"budget": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"seatId": {
"type": "string",
"minLength": 1
},
"channel": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"endDate": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"product": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"audience": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"buildAds": {
"type": "boolean"
},
"seatName": {
"type": "string",
"minLength": 1
},
"accountId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"mustAvoid": {
"type": "array",
"items": {
"type": "string"
}
},
"objective": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"startDate": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"creativeId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"constraints": {
"type": "array",
"items": {
"type": "string"
}
},
"creativeIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"maxItems": 24,
"minItems": 1
},
"funnelStage": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"mustInclude": {
"type": "array",
"items": {
"type": "string"
}
},
"targetSizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 12,
"minItems": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"campaignName": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"deliverables": {
"type": "array",
"items": {
"type": "string"
}
},
"saveToStudio": {
"type": "boolean"
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_brand_profile — Research and return a LeanrIQ brand profile. This read capability does not save to Studio. (deprecated alias)
Research and return a LeanrIQ brand profile. This read capability does not save to Studio.. Deprecated alias for get_brand_profile. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brandName",
"brandUrl"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"brandUrl": {
"type": "string",
"format": "uri",
"maxLength": 500
},
"seatName": {
"type": "string",
"minLength": 1
},
"brandName": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"forceRefresh": {
"type": "boolean",
"default": false
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"competitorLimit": {
"anyOf": [
{
"type": "number",
"const": 5
},
{
"type": "number",
"const": 8
}
]
},
"requestedSections": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"maxItems": 32
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_brand_visuals — Collect brand logos, imagery, colours, fonts, and visual previews for use in Studio creative builds. Use this before build_ad when a campaign needs visual grounding; this read capability does not save to Studio. (deprecated alias)
Collect brand logos, imagery, colours, fonts, and visual previews for use in Studio creative builds. Use this before build_ad when a campaign needs visual grounding; this read capability does not save to Studio.. Deprecated alias for get_brand_visuals. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertiserId",
"brandName",
"websiteUrl"
],
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"options": {
"type": "object",
"default": {},
"properties": {
"maxFonts": {
"type": "integer",
"default": 10,
"maximum": 30,
"minimum": 0
},
"maxLogos": {
"type": "integer",
"default": 5,
"maximum": 20,
"minimum": 0
},
"maxImages": {
"type": "integer",
"default": 60,
"maximum": 80,
"minimum": 0
},
"maxVideos": {
"type": "integer",
"default": 12,
"maximum": 30,
"minimum": 0
},
"fetchFonts": {
"type": "boolean",
"default": true
},
"fetchLogos": {
"type": "boolean",
"default": true
},
"useBrowser": {
"type": "boolean",
"default": true
},
"extractCtas": {
"type": "boolean",
"default": true
},
"fetchImages": {
"type": "boolean",
"default": true
},
"fetchVideos": {
"type": "boolean",
"default": true
},
"scrapeSocial": {
"type": "boolean",
"default": true
},
"extractColours": {
"type": "boolean",
"default": true
},
"maxScreenshots": {
"type": "integer",
"default": 0,
"maximum": 2,
"minimum": 0
},
"maxSocialImages": {
"type": "integer",
"default": 30,
"maximum": 40,
"minimum": 0
},
"fetchScreenshots": {
"type": "boolean",
"default": false
},
"maxAiGeneratedImages": {
"type": "integer",
"default": 6,
"maximum": 6,
"minimum": 0
},
"socialLookbackMonths": {
"type": "integer",
"default": 3,
"maximum": 3,
"minimum": 1
},
"includeAiGeneratedImages": {
"type": "boolean",
"default": false
}
}
},
"storage": {
"type": "object",
"default": {},
"properties": {
"bucket": {
"type": "string",
"minLength": 1
},
"prefix": {
"type": "string"
},
"cdnBaseUrl": {
"type": "string",
"format": "uri"
}
}
},
"seatName": {
"type": "string",
"minLength": 1
},
"brandName": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"websiteUrl": {
"type": "string",
"format": "uri",
"maxLength": 1000
},
"advertiserId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_competitor_creative_intelligence — Run canonical LeanrIQ Competitor Intelligence V2 for one advertiser-scoped competitor. Defaults match Studio: 90-day DISPLAY evidence and no mixed social/video banner inference. Without forceRefresh, an existing canonical result is reused when available. (deprecated alias)
Run canonical LeanrIQ Competitor Intelligence V2 for one advertiser-scoped competitor. Defaults match Studio: 90-day DISPLAY evidence and no mixed social/video banner inference. Without forceRefresh, an existing canonical result is reused when available.. Deprecated alias for run_competitor_intelligence. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. 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. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"limit": {
"type": "integer",
"maximum": 48,
"minimum": 1
},
"domain": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"market": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"region": {
"type": "string",
"maxLength": 16,
"minLength": 2
},
"seatId": {
"type": "string",
"minLength": 1
},
"markets": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"website": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"brandName": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"advertiserId": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"competitorId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"evidenceMode": {
"enum": [
"DISPLAY",
"CROSS_CHANNEL",
"BOTH"
],
"type": "string",
"default": "DISPLAY"
},
"forceRefresh": {
"type": "boolean",
"default": false
},
"lookbackDays": {
"type": "integer",
"default": 90,
"maximum": 730,
"minimum": 1
},
"sourceLocale": {
"type": "string"
},
"strategyMode": {
"enum": [
"REPLICATE",
"DIFFERENTIATE",
"BOTH"
],
"type": "string",
"default": "BOTH"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"evidenceLimit": {
"type": "integer",
"maximum": 48,
"minimum": 1
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"strategyModes": {
"type": "array",
"items": {
"enum": [
"REPLICATE",
"DIFFERENTIATE"
],
"type": "string"
},
"maxItems": 2
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"competitorName": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"competitorDomain": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"competitorWebsite": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"crossChannelLimit": {
"type": "integer",
"maximum": 120,
"minimum": 1
},
"recommendationMode": {
"enum": [
"FULL",
"EVIDENCE_ONLY"
],
"type": "string",
"default": "FULL"
},
"defaultContentLocale": {
"type": "string"
},
"competitorKeyMessages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 8
},
"competitorPositioning": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"advertiserGuidanceSnapshot": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}leanriq_get_vertical_intelligence — get vertical intelligence (deprecated alias)
get vertical intelligence. Deprecated alias for get_vertical_intelligence. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"brief": {},
"force": {
"type": "boolean"
},
"input": {},
"assets": {},
"prompt": {
"type": "string"
},
"seatId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string"
},
"assetId": {
"type": "string"
},
"outputs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "editable"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "static"
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string"
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"enum": [
"editable",
"static_jpeg",
"static_png"
],
"type": "string"
}
]
},
"maxItems": 8,
"description": "Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output."
},
"audience": {},
"campaign": {},
"creative": {},
"flightId": {
"type": "string"
},
"seatName": {
"type": "string",
"minLength": 1
},
"template": {},
"accountId": {
"type": "string"
},
"objective": {
"type": "string"
},
"advertiser": {},
"campaignId": {
"type": "string"
},
"creativeId": {
"type": "string"
},
"templateId": {
"type": "string"
},
"creativeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"persistence": {
"enum": [
"preview_only",
"save_to_studio"
],
"type": "string"
},
"advertiserId": {
"type": "string"
},
"instructions": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceLocale": {
"type": "string"
},
"targetMarket": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"contentLocale": {
"type": "string"
},
"marketContext": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarket": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"targetMarkets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"maxItems": 50
},
"contentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"idempotencyKey": {
"type": "string"
},
"requestedFormats": {
"type": "array",
"items": {}
},
"defaultContentLocale": {
"type": "string"
},
"marketLanguageProfile": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"resolvedContentLocale": {
"type": "string"
},
"skipTraffickedRebuild": {
"type": "boolean"
},
"languageVariantGroupId": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"requestedOutputLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
"supportedContentLocales": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_recommend_workflow — Recommend the shortest LeanrIQ workflow
Purpose: choose the shortest safe LeanrIQ creative/adtech workflow when the caller is unsure which capability to use. Use only for ambiguous requests; do not call this before every LeanrIQ action. Output: one outcome journey, preferred capability, minimal call plan, completion evidence and approval boundary. Read-only and non-mutating. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"intent"
],
"properties": {
"intent": {
"type": "string",
"minLength": 1
},
"knownIds": {
"type": "object",
"properties": {
"flightId": {
"type": "string",
"minLength": 1
},
"campaignId": {
"type": "string",
"minLength": 1
},
"creativeId": {
"type": "string",
"minLength": 1
},
"advertiserId": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_campaign_builder — Build a campaign in the LeanrIQ Creative Cockpit
One-prompt campaign builder with an interactive MCP App. Phase territories creates three distinct AI creative territories from the campaign objective. Phase build executes the selected territory through the canonical run_creative_chain, saves real Studio creatives, builds ads, returns previews and QA evidence, and never publishes media. A LeanrIQ seat is required; idempotencyKey is required for the build phase. 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. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brand",
"campaignName",
"product",
"audience",
"objective"
],
"properties": {
"brand": {
"type": "string",
"minLength": 1
},
"offer": {
"type": "string"
},
"phase": {
"enum": [
"territories",
"build"
],
"type": "string",
"default": "territories"
},
"seatId": {
"type": "string",
"minLength": 1
},
"product": {
"type": "string",
"minLength": 1
},
"audience": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
},
"objective": {
"type": "string",
"minLength": 1
},
"campaignId": {
"type": "string"
},
"targetSizes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 24
},
"advertiserId": {
"type": "string"
},
"campaignName": {
"type": "string",
"minLength": 1
},
"deliverables": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 24
},
"idempotencyKey": {
"type": "string",
"minLength": 1
},
"landingPageUrl": {
"type": "string"
},
"selectedTerritory": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1
},
"positioning": {
"type": "string"
},
"ctaDirection": {
"type": "string"
},
"risksToAvoid": {
"type": "array",
"items": {
"type": "string"
}
},
"messageAngles": {
"type": "array",
"items": {
"type": "string"
}
},
"audienceInsight": {
"type": "string"
},
"visualDirection": {
"type": "string"
},
"messageHierarchy": {
"type": "array",
"items": {
"type": "string"
}
},
"creativeTerritory": {
"type": "string"
}
},
"additionalProperties": {}
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_current_seat — Get active seat
Purpose: show the currently active LeanrIQ seat for the authenticated user. Output: returns the active seat and allowed seat list. Exact-ID read tools can resolve a unique authorised seat server-side. Select or pass a seat when you want to force a workspace, when a write is requested, or when LeanrIQ asks you to disambiguate. Constraints: read-only helper tool. Failure cases: AUTH_REQUIRED, SEAT_ACCESS_DENIED. 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}leanriq_select_seat — Select active seat
Purpose: select an allowed LeanrIQ seat for subsequent seat-scoped operations. Output: returns the selected seat and allowed seat list. Exact-ID read tools can resolve a unique authorised seat server-side. Select or pass a seat when you want to force a workspace, when a write is requested, or when LeanrIQ asks you to disambiguate. Constraints: only authenticated seats already granted to the user can be selected. Failure cases: AUTH_REQUIRED, SEAT_ACCESS_DENIED. 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. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"seatId": {
"type": "string",
"minLength": 1
},
"seatName": {
"type": "string",
"minLength": 1
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"assistantSummary",
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"default": {},
"properties": {},
"additionalProperties": {}
},
"meta": {
"type": "object",
"default": {},
"properties": {
"usage": {
"type": "object",
"properties": {
"costUnits": {
"type": "number",
"minimum": 0
},
"qaRetries": {
"type": "number",
"minimum": 0
},
"toolCalls": {
"type": "number",
"minimum": 0
},
"failedBuilds": {
"type": "number",
"minimum": 0
},
"successfulBuilds": {
"type": "number",
"minimum": 0
},
"servedImpressions": {
"type": "number",
"minimum": 0
},
"generatedCreatives": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": {}
},
"seatId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"userId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"traceId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"seatName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"toolName": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"requestId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"durationMs": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"governance": {
"type": "object",
"properties": {
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"toolVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"usageSnapshot": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"message": {
"type": "string",
"minLength": 1
},
"retriable": {
"type": "boolean"
},
"approvalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"approvalStatus": {
"enum": [
"not_required",
"required",
"approved",
"rejected"
],
"type": "string"
},
"retryAfterSeconds": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"approvalConditions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"assistantSummary": {
"type": "object",
"required": [
"title",
"summary",
"keyInsights",
"nextRecommendedAction"
],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"summary": {
"type": "string",
"minLength": 1
},
"keyInsights": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"nextRecommendedAction": {
"type": "object",
"required": [
"label",
"toolName",
"reason"
],
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string",
"minLength": 1
},
"toolName": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
15 advertised
launch_creative_campaign — Launch Creative Runtime
Hero prompt for turning a campaign objective or brief into LeanrIQ workspace previews, with optional Studio promotion, traffic readiness, or explicit publish.
- 0
- Brand or advertiser name. (required)
- 1
- Campaign name or flight identifier. (required)
- 2
- Product, offer, or service promoted. (required)
- 3
- Primary target audience. (required)
- 4
- Primary campaign objective (for example awareness, consideration, conversion). (required)
- 5
- Requested formats/placements and any channel constraints. (required)
- 6
- Landing page URL to align claims and destination messaging. (required)
- 7
- Studio flight ID to QA, preview, or traffic. (required)
work_with_yahoo_creatives — Work with Yahoo creatives
Resolve the correct Yahoo advertiser, campaign, or creative identifier before using LeanrIQ Yahoo creative tools.
- 0
- Yahoo advertiser/account ID, when the user supplied one. (required)
- 1
- Yahoo campaign ID, when the user supplied one. (required)
- 2
- Yahoo creative ID, when the user supplied one. (required)
create_display_campaign_brief — Create display campaign brief
Starter prompt for building a structured display brief with LeanrIQ.
- 0
- Brand or advertiser name. (required)
- 1
- Campaign name or flight identifier. (required)
- 2
- Product, offer, or service promoted. (required)
- 3
- Primary target audience. (required)
- 4
- Primary campaign objective (for example awareness, consideration, conversion). (required)
- 5
- Requested formats/placements and any channel constraints. (required)
create_multi_format_campaign_plan — Create multi-format campaign plan
Starter prompt for planning production across multiple ad formats.
- 0
- Brand or advertiser name. (required)
- 1
- Campaign name or flight identifier. (required)
- 2
- Product, offer, or service promoted. (required)
- 3
- Primary target audience. (required)
- 4
- Primary campaign objective (for example awareness, consideration, conversion). (required)
- 5
- Requested formats/placements and any channel constraints. (required)
generate_brand_onboarding_profile — Generate brand onboarding profile
Starter prompt for creating a brand profile used in campaign setup.
- 0
- Brand or advertiser name. (required)
- 1
- Product, offer, or service promoted. (required)
- 2
- Primary target audience. (required)
- 3
- Landing page URL to align claims and destination messaging. (required)
run_full_creative_strategy_chain — Run full creative strategy chain
Starter prompt for creating standalone LeanrIQ creative previews, then promoting approved work to Studio when authorised.
- 0
- Brand or advertiser name. (required)
- 1
- Campaign name or flight identifier. (required)
- 2
- Product, offer, or service promoted. (required)
- 3
- Primary target audience. (required)
- 4
- Primary campaign objective (for example awareness, consideration, conversion). (required)
- 5
- Requested formats/placements and any channel constraints. (required)
- 6
- Landing page URL to align claims and destination messaging. (required)
golden_campaign_to_preview_demo — Golden campaign to preview demo
Launch-demo path from seat selection to saved Studio creative previews and revision.
- 0
- Campaign name or flight identifier. (required)
- 1
- Primary campaign objective (for example awareness, consideration, conversion). (required)
build_existing_campaign_to_previews — Build existing campaign previews
Hero buyer workflow: select seat, find an existing Studio campaign, build saved creatives, and return preview links plus the revision step.
- 0
- Campaign name or flight identifier. (required)
- 1
- Primary campaign objective (for example awareness, consideration, conversion). (required)
create_initial_campaign_creative_set — Create initial campaign creative set
Use when a campaign has no saved creatives yet: create the initial Studio creative set, then move to build_ad for previews.
- 0
- Brand or advertiser name. (required)
- 1
- Campaign name or flight identifier. (required)
- 2
- Product, offer, or service promoted. (required)
- 3
- Primary target audience. (required)
- 4
- Primary campaign objective (for example awareness, consideration, conversion). (required)
- 5
- Requested formats/placements and any channel constraints. (required)
revise_saved_creative — Revise saved creative
Revise one saved Studio creative from natural-language feedback and return fresh preview links.
- 0
- Yahoo creative ID, when the user supplied one. (required)
- 1
- Plain-language changes to apply to the saved creative. (required)
qa_and_prepare_traffic — QA and prepare traffic
QA creative or flight readiness and prepare the trafficking path; only publish when the user explicitly asks.
- 0
- Yahoo creative ID, when the user supplied one. (required)
- 1
- Studio flight ID to QA, preview, or traffic. (required)
leanriq_build_existing_campaign — Build an existing campaign in the fewest calls
Outcome-first prompt for building saved Studio campaign creatives without redundant seat, permission, or discovery calls.
- 0
- Exact Studio campaign ID when known. (required)
- 1
- Campaign name when the exact ID is unknown. (required)
- 2
- Campaign objective or build intent. (required)
leanriq_competitor_to_creative_direction — Turn competitor activity into differentiated creative direction
Research competitor creative patterns and translate them into actionable brand differentiation without mutating Studio unless requested.
- 0
- Competitor or brand to analyse. (required)
- 1
- Optional vertical/category context. (required)
leanriq_performance_to_revision — Turn creative performance into a safe revision
Use performance evidence to produce a bounded creative recommendation or revision without overclaiming causality.
- 0
- Exact Studio creative ID. (required)
- 1
- Performance goal or KPI to improve. (required)
leanriq_qa_then_publish — QA then publish with explicit approval
Validate a flight and publish only after explicit user intent and any required human approval.
- 0
- Exact Studio flight ID. (required)
- 1
- Requested media destination when relevant. (required)
Resources
22 advertised
leanriq_knowledge_leanr_positioning — Leanr Positioning
LeanrIQ static positioning knowledge used for strategy context.
leanriq://knowledge/leanr-positioning{
"readOnlyHint": true
}leanriq_knowledge_creative_rules — Creative Rules
LeanrIQ static creative guidance and constraints.
leanriq://knowledge/creative-rules{
"readOnlyHint": true
}leanriq_knowledge_format_rules — Format Rules
LeanrIQ static format guidance and guardrails.
leanriq://knowledge/format-rules{
"readOnlyHint": true
}leanriq_workflow_launch_demo — LeanrIQ MCP Launch Demo Workflow
Golden buyer demo path: seat, permissions, campaign, build_ad, preview links, task polling, and revision.
leanriq://workflows/launch-demo{
"readOnlyHint": true
}leanriq_schema_resolve_or_provision_advertiser — Resolve or provision advertiser Input Contract
Input schema documentation for leanriq_resolve_or_provision_advertiser.
leanriq://schemas/resolve-or-provision-advertiser{
"readOnlyHint": true
}leanriq_schema_leanr_build_campaign_creative_set — Build campaign creative set Input Contract
Input schema documentation for leanr_build_campaign_creative_set.
leanriq://schemas/leanr-build-campaign-creative-set{
"readOnlyHint": true
}leanriq_schema_create_strategy — Create strategy Input Contract
Input schema documentation for leanriq_create_strategy.
leanriq://schemas/create-strategy{
"readOnlyHint": true
}leanriq_schema_create_brief — Create brief Input Contract
Input schema documentation for leanriq_create_brief.
leanriq://schemas/create-brief{
"readOnlyHint": true
}leanriq_schema_create_production_plan — Create production plan Input Contract
Input schema documentation for leanriq_create_production_plan.
leanriq://schemas/create-production-plan{
"readOnlyHint": true
}leanriq_schema_get_brand_profile — Get brand profile Input Contract
Input schema documentation for leanriq_get_brand_profile.
leanriq://schemas/get-brand-profile{
"readOnlyHint": true
}leanriq_schema_save_brand_profile_to_studio — Save brand profile to Studio Input Contract
Input schema documentation for leanriq_save_brand_profile_to_studio.
leanriq://schemas/save-brand-profile-to-studio{
"readOnlyHint": true
}leanriq_schema_get_competitor_creative_intelligence — Get competitor creative intelligence Input Contract
Input schema documentation for leanriq_get_competitor_creative_intelligence.
leanriq://schemas/get-competitor-creative-intelligence{
"readOnlyHint": true
}leanriq_schema_create_creative_brief — Create structured creative brief Input Contract
Input schema documentation for leanriq_create_creative_brief.
leanriq://schemas/create-creative-brief{
"readOnlyHint": true
}leanriq_schema_get_vertical_intelligence — Get vertical intelligence Input Contract
Input schema documentation for leanriq_get_vertical_intelligence.
leanriq://schemas/get-vertical-intelligence{
"readOnlyHint": true
}leanriq_schema_get_brand_visuals — Get brand visuals Input Contract
Input schema documentation for leanriq_get_brand_visuals.
leanriq://schemas/get-brand-visuals{
"readOnlyHint": true
}leanriq_schema_save_brand_visuals_to_studio — Save brand visuals to Studio Input Contract
Input schema documentation for leanriq_save_brand_visuals_to_studio.
leanriq://schemas/save-brand-visuals-to-studio{
"readOnlyHint": true
}leanriq_schema_build_ad — Build Studio ad Input Contract
Input schema documentation for leanriq_build_ad.
leanriq://schemas/build-ad{
"readOnlyHint": true
}leanriq_protocol_profile — LeanrIQ MCP Protocol Profile
Versioned LeanrIQ MCP contract describing async behavior, mutation modes, previews, validation, partial-failure policy, and auth expectations.
leanriq://protocol/profile{
"readOnlyHint": true
}leanriq_capability_summary — LeanrIQ capability summary for external agents
Start here if you do not know LeanrIQ. It states supported workflow stages, outputs, approval boundaries and the recommended agent journey.
leanriq://agentic/capabilities{
"readOnlyHint": true
}leanriq_creative_operating_system — LeanrIQ Creative Operating System
Outcome-first creative/adtech journeys, minimal-call rules, approval boundaries and completion evidence for agents using LeanrIQ.
leanriq://agentic/creative-operating-system{
"readOnlyHint": true
}leanriq_agent_trust_contract — LeanrIQ Agent Trust Contract
Machine-readable contract for authoritative IDs, completion state, persistence evidence, QA evidence and mutation boundaries.
leanriq://agentic/trust-contract{
"readOnlyHint": true
}leanriq_creative_cockpit_app — LeanrIQ Creative Cockpit
Interactive creative-director workspace for territory selection, Studio campaign builds, previews and revisions.
ui://leanriq/creative-cockpit{
"readOnlyHint": true
}90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 3 of 3 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 3963 ms
- 95th percentile latency
- 3995 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 3928 ms · metadata changed · 137 tool(s), 22 resource(s), 0 resource template(s), 15 prompt(s)
- · probe · passed · 3998 ms · metadata changed · 137 tool(s), 22 resource(s), 0 resource template(s), 15 prompt(s)
- · repository · passed · unavailable
- · repository · passed · metadata changed · unavailable
- · repository · failed · Repository maintenance failed
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http leanriq-mcp https://iq.leanrads.com/mcpCodex
codex mcp add leanriq-mcp --url https://iq.leanrads.com/mcpCursor
{
"mcpServers": {
"leanriq-mcp": {
"url": "https://iq.leanrads.com/mcp"
}
}
}Cline
{
"mcpServers": {
"leanriq-mcp": {
"type": "streamableHttp",
"url": "https://iq.leanrads.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"leanriq-mcp": {
"type": "http",
"url": "https://iq.leanrads.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http leanriq-mcp https://iq.leanrads.com/mcpClaude Desktop
https://iq.leanrads.com/mcpWindsurf
{
"mcpServers": {
"leanriq-mcp": {
"serverUrl": "https://iq.leanrads.com/mcp"
}
}
}Let your agent find its tools
Find servers like LeanrIQ MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other design servers
Do you run LeanrIQ MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.