LeanrIQ is an MCP server published by io.github.leanrads, hosted at iq.leanrads.com. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 98 tools, including get_current_user, list_accessible_seats, get_current_seat, get_permissions, get_capabilities.
Creative-intelligence MCP for campaign strategy, ad builds, QA, and reporting.
1 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
| contentLocales | array | |
| defaultContentLocale | string | |
| marketLanguageProfile | object | |
| resolvedContentLocale | string | |
| languageVariantGroupId | string | |
| requestedOutputLocales | array | |
| supportedContentLocales | array |
{
"name": "get_current_user",
"title": "get current user",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
| contentLocales | array | |
| defaultContentLocale | string | |
| marketLanguageProfile | object | |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
| contentLocales | array | |
| defaultContentLocale | string | |
| marketLanguageProfile | object | |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| accountId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
| contentLocales | array | |
| defaultContentLocale | string | |
| marketLanguageProfile |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| includeHidden | boolean | |
| marketContext | object | |
| targetMarkets | array | |
| contentLocales | array | |
| defaultContentLocale | string | |
| marketLanguageProfile |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
| contentLocales | array | |
| defaultContentLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| ext | object | |
| seatId | string | |
| account | object | |
| context | object | |
| end_date | string | |
| seatName | string | |
| start_date | string | |
| adcp_version | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| cursor | string | |
| seatId | string | |
| status | string | |
| seatName | string | |
| accountId | string | |
| campaignId | string | |
| creativeId | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| taskId | string | |
| assetId | string | |
| flightId | string | |
| seatName | string | |
| accountId | string | |
| previewId | string | |
| campaignId | string | |
| creativeId | string | |
| templateId | string | |
| advertiserId * |
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.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| seatId | string | |
| seatName | string | |
| accountId * | string | |
| advertiser * | object | |
| approvalId | string | |
| sourceLocale | string | |
| targetMarket | string |
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.
| Parameter | Type | Description |
|---|---|---|
| patch * | object | |
| dryRun | boolean | |
| seatId | string | |
| seatName | string | |
| accountId * | string | |
| approvalId | string | |
| advertiserId * | string | |
| sourceLocale |
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.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| seatId | string | |
| flightId | string | |
| seatName | string | |
| accountId * | string | |
| approvalId | string | |
| campaignId | string | |
| creativeId | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| brandUrl * | string | |
| seatName | string | |
| brandName * | string | |
| advertiserId | string | |
| forceRefresh | boolean | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| brandUrl * | string | |
| seatName | string | |
| accountId * | string | |
| brandName * | string | |
| advertiserId * | string | |
| forceRefresh |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| options | object | |
| storage | object | |
| seatName | string | |
| brandName * | string | |
| websiteUrl * | string | |
| advertiserId * | string | |
| sourceLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| options | object | |
| storage | object | |
| seatName | string | |
| accountId * | string | |
| brandName * | string | |
| websiteUrl * | string | |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| cursor | string | |
| seatId | string | |
| status | string | |
| seatName | string | |
| accountId | string | |
| campaignId | string | |
| creativeId | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string |
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.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| limit | integer | |
| domain | string | |
| market | any | |
| region | string | |
| seatId | string | |
| markets | any | |
| website |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| website | string | |
| reportId | string | |
| seatName | string | |
| advertiserId | string | |
| competitorId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| seatId | string | |
| website | string | |
| reportId | string | |
| seatName | string | |
| advertiserId | string | |
| competitorId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| advertiserId * | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
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.
| Parameter | Type | Description |
|---|---|---|
| runId * | string | |
| seatId | string | |
| seatName | string | |
| advertiserId * | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| advertiserId * | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
| contentLocales | array | |
| defaultContentLocale |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| advertiserId * | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| eventIds * | array | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
| contentLocales |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| entity | string | |
| seatId | string | |
| eventId | string | |
| question | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| entity | string | |
| seatId | string | |
| eventId | string | |
| question | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| entity | string | |
| seatId | string | |
| eventId | string | |
| question | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| entity | string | |
| seatId | string | |
| eventId | string | |
| question | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| entity | string | |
| seatId | string | |
| eventId | string | |
| question | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| entity | string | |
| seatId | string | |
| eventId | string | |
| question | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| entity | string | |
| seatId | string | |
| eventId | string | |
| question | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| entity | string | |
| seatId | string | |
| eventId | string | |
| question | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| entity | string | |
| seatId | string | |
| eventId | string | |
| question | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets |
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.
| Parameter | Type | Description |
|---|---|---|
| reason | string | |
| seatId | string | |
| eventId * | string | |
| outcome * | string | one of ["RELEVANT","DISMISSED","APPROVED","ACTIVATED","OVERRIDDEN","EXPIRED","CORRECTED"] |
| seatName | string | |
| advertiserId | string | |
| sourceLocale |
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.
Schema too large to show here (22,204 characters).
{
"name": "run_world_intelligence",
"title": "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.",
"description": "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.",
"inputSchema": {
"truncated": true,
"chars": 22204
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| runId | string | |
| seatId | string | |
| seatName | string | |
| startedAt | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| seatId | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| seatId | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| opportunityId * | string | |
| targetMarkets | array |
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.
| Parameter | Type | Description |
|---|---|---|
| brief | any | |
| force | boolean | |
| input | any | |
| assets | any | |
| prompt | string | |
| seatId | string | |
| taskId | string | |
| assetId | string | |
| outputs | array | Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output. |
| audience | any | |
| campaign |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| cursor | string | |
| seatId | string | |
| status | string | |
| seatName | string | |
| accountId | string | |
| campaignId | string | |
| creativeId | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| taskId | string | |
| assetId | string | |
| flightId | string | |
| seatName | string | |
| accountId | string | |
| previewId | string | |
| campaignId * | string | |
| creativeId | string |
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.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| seatId | string | |
| campaign * | object | |
| seatName | string | |
| accountId | string | |
| approvalId | string |
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.
| Parameter | Type | Description |
|---|---|---|
| patch * | object | |
| dryRun | boolean | |
| seatId | string | |
| seatName | string | |
| accountId * | string | |
| approvalId | string | |
| campaignId |
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.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| seatId | string | |
| flightId | string | |
| seatName | string | |
| accountId * | string | |
| approvalId | string | |
| campaignId * | string | |
| creativeId |
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.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| seatId | string | |
| seatName | string | |
| accountId | string | |
| approvalId | string | |
| campaignId * | string |
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.
| Parameter | Type | Description |
|---|---|---|
| brief | any | |
| force | boolean | |
| input | any | |
| assets | any | |
| prompt | string | |
| seatId | string | |
| taskId |
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.
| Parameter | Type | Description |
|---|---|---|
| mode | string | one of ["planning","studio_instructions"] |
| brand * | any | |
| brief * | object | |
| assets | array | |
| format * | string | |
| seatId | string | |
| creative | object | |
| seatName | string | |
| template |
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.
Schema too large to show here (21,752 characters).
{
"name": "build_videoad",
"title": "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.",
"description": "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.",
"inputSchema": {
"truncated": true,
"chars": 21752
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| brand * | string | |
| rules | array | |
| format * | string | |
| seatId | string | |
| context | string | |
| creative * | object | |
| seatName | string | |
| objective |
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.
| Parameter | Type | Description |
|---|---|---|
| KPI | string | |
| goal | string | |
| tone | string | |
| brand | any | |
| force | boolean | |
| offer | string | |
| budget | any | |
| seatId | string | |
| channel | string |
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.
| Parameter | Type | Description |
|---|---|---|
| KPI | string | |
| cta | string | |
| tone | string | |
| brand | any | |
| force | boolean | |
| offer | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| accountId | string | |
| approvalId | string | |
| campaignId | string | |
| workspaceId * | string | |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| cursor | string | |
| seatId | string | |
| status | string | |
| seatName | string | |
| accountId | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| taskId | string | |
| assetId | string | |
| flightId | string | |
| seatName | string | |
| accountId | string | |
| previewId | string | |
| campaignId | string | |
| creativeId * | string | |
| templateId | string | |
| advertiserId |
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.
| Parameter | Type | Description |
|---|---|---|
| brief | any | |
| force | boolean | |
| input | any | |
| assets | any | |
| prompt | string |
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.
| Parameter | Type | Description |
|---|---|---|
| engine | string | one of ["original","scene"] |
| seatId | string | |
| seatName | string | |
| accountId * | string | |
| campaignId * | string | |
| creativeId * | string | |
| aiBudgetUsd |
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.
| Parameter | Type | Description |
|---|---|---|
| copy | object | |
| assets | object | |
| format | object | |
| seatId | string | |
| campaign | object | |
| creative | object |
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.
| Parameter | Type | Description |
|---|---|---|
| KPI * | string | |
| brand | object | |
| notes | string | |
| budget | any | |
| seatId | string | |
| billing | string | one of ["agent","operator","advertiser"] |
| channel | string | one of ["display","dooh"] |
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.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| prompt | string | |
| seatId | string | |
| seatName | string | |
| accountId | string |
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.
| Parameter | Type | Description |
|---|---|---|
| brief | any | |
| force | boolean | |
| input | any | |
| assets | any | |
| prompt | string | |
| seatId | string | |
| taskId | string |
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.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| seatId | string | |
| seatName | string | |
| accountId * | string | |
| approvalId | string | |
| creativeId * | string | |
| sourceLocale | string | |
| targetMarket | string |
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.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| seatId | string | |
| creative | object | |
| seatName | string | |
| accountId * | string | |
| versionId | string | |
| approvalId | string | |
| creativeId * | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| taskId | string | |
| assetId | string | |
| flightId | string | |
| seatName | string | |
| accountId | string | |
| previewId | string | |
| campaignId | string | |
| creativeId * | string | |
| templateId | string | |
| advertiserId |
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.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| seatId | string | |
| creative | object | |
| seatName | string | |
| accountId * | string | |
| versionId * | string | |
| approvalId | string | |
| creativeId * |
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.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| seatId | string | |
| flightId | string | |
| seatName | string | |
| accountId * | string | |
| approvalId | string | |
| campaignId | string | |
| creativeId * |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| cursor | string | |
| seatId | string | |
| status | string | |
| seatName | string | |
| accountId | string | |
| campaignId | string | |
| creativeId | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| taskId | string | |
| assetId | string | |
| flightId | string | |
| seatName | string | |
| accountId | string | |
| previewId | string | |
| campaignId | string | |
| creativeId | string | |
| templateId * | string | |
| advertiserId |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| cursor | string | |
| seatId | string | |
| status | string | |
| seatName | string | |
| accountId | string | |
| campaignId | string | |
| creativeId | string | |
| advertiserId | string | |
| sourceLocale |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| taskId | string | |
| assetId * | string | |
| flightId | string | |
| seatName | string | |
| accountId | string | |
| previewId | string | |
| campaignId | string | |
| creativeId | string | |
| templateId |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| accountId * | string | |
| creativeId | string | |
| creativeIds | array | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| taskId | string | |
| assetId | string | |
| flightId | string | |
| seatName | string | |
| accountId | string | |
| previewId * | string | |
| campaignId | string | |
| creativeId | string | |
| templateId | string | |
| advertiserId |
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.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| dryRun | boolean | |
| seatId | string | |
| flightId | string | |
| platform | string | |
| seatName | string | |
| accountId | string | |
| approvalId | string | |
| campaignId |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| taskId | string | |
| assetId | string | |
| flightId * | string | |
| seatName | string | |
| accountId | string | |
| previewId | string | |
| campaignId | string | |
| creativeId | string | |
| templateId | string | |
| advertiserId | string |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| cursor | string | |
| seatId | string | |
| status | string | |
| seatName | string | |
| accountId | string | |
| campaignId | string | |
| creativeId | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string |
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.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| dryRun | boolean | |
| seatId | string | |
| flightId * | string | |
| platform | string | |
| seatName | string | |
| accountId | string | |
| approvalId | string | |
| campaignId |
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.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| seatId | string | |
| flightId * | string | |
| seatName | string | |
| accountId * | string | |
| approvalId | string | |
| campaignId | string | |
| creativeId |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| taskId | string | |
| assetId | string | |
| flightId * | string | |
| seatName | string | |
| accountId | string | |
| previewId | string | |
| campaignId | string | |
| creativeId | string | |
| templateId | string | |
| advertiserId |
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.
| Parameter | Type | Description |
|---|---|---|
| force | boolean | |
| dryRun | boolean | |
| seatId | string | |
| flightId * | string | |
| seatName | string | |
| accountId * | string | |
| approvalId | string | |
| creativeId | string | |
| sourceLocale | string | |
| targetMarket | string |
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.
| Parameter | Type | Description |
|---|---|---|
| force | boolean | |
| dryRun | boolean | |
| seatId | string | |
| flightId * | string | |
| seatName | string | |
| accountId * | string | |
| approvalId | string | |
| creativeId * |
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.
| Parameter | Type | Description |
|---|---|---|
| force | boolean | |
| dryRun | boolean | |
| seatId | string | |
| flightId * | string | |
| seatName | string | |
| accountId * | string | |
| approvalId | string | |
| creativeId | string |
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.
| Parameter | Type | Description |
|---|---|---|
| force | boolean | |
| dryRun | boolean | |
| seatId | string | |
| flightId * | string | |
| seatName | string | |
| accountId * | string | |
| approvalId | string | |
| creativeId * |
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.
| Parameter | Type | Description |
|---|---|---|
| force | boolean | |
| dryRun | boolean | |
| seatId | string | |
| flightId * | string | |
| seatName | string | |
| accountId * | string | |
| approvalId | string | |
| creativeId | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| flightId * | string | |
| seatName | string | |
| accountId | string | |
| approvalId | string | |
| creativeIds | array | |
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.
| Parameter | Type | Description |
|---|---|---|
| force | boolean | |
| seatId | string | |
| flightId * | string | |
| platform | string | |
| seatName | string | |
| accountId | string | |
| approvalId | string | |
| creativeId * | string | |
| sourceLocale | string | |
| targetMarket | string | |
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.
| Parameter | Type | Description |
|---|---|---|
| force | boolean | |
| seatId | string | |
| flightId * | string | |
| platform | string | |
| seatName | string | |
| accountId | string | |
| approvalId | string | |
| creativeId * | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| taskId | string | |
| assetId | string | |
| flightId * | string | |
| seatName | string | |
| accountId | string | |
| previewId | string | |
| campaignId | string | |
| creativeId | string | |
| templateId | string | |
| advertiserId |
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.
| Parameter | Type | Description |
|---|---|---|
| type | string | one of ["json","csv"] |
| seatId | string | |
| flightId * | string | |
| seatName | string | |
| accountId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| taskId * | string | |
| seatName | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
| contentLocales | array |
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| cursor | string | |
| seatId | string | |
| status | string | |
| seatName | string | |
| accountId | string | |
| campaignId | string | |
| creativeId | string | |
| advertiserId | string | |
| sourceLocale | string | |
| targetMarket | string |
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.
| Parameter | Type | Description |
|---|---|---|
| reason | string | |
| seatId | string | |
| taskId * | string | |
| seatName | string | |
| accountId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
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.
| Parameter | Type | Description |
|---|---|---|
| reason | string | |
| seatId | string | |
| taskId * | string | |
| seatName | string | |
| accountId | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| feedback * | object | |
| flightId | string | |
| seatName | string | |
| accountId * | string | |
| creativeId | string | |
| sourceLocale | string | |
| targetMarket | string |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| advertiserId * | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string |
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.
| Parameter | Type | Description |
|---|---|---|
| runId * | string | |
| seatId | string | |
| seatName | string | |
| advertiserId * | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array |
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.
| Parameter | Type | Description |
|---|---|---|
| seatId | string | |
| seatName | string | |
| advertiserId * | string | |
| sourceLocale | string | |
| targetMarket | string | |
| contentLocale | string | |
| marketContext | object | |
| targetMarkets | array | |
| contentLocales | array | |
39 more tools not shown here; see the raw JSON.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| resolvedContentLocale |
| string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_accessible_seats",
"title": "list accessible seats",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| resolvedContentLocale |
| string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_current_seat",
"title": "get current seat",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_permissions",
"title": "get permissions",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_capabilities",
"title": "get capabilities",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_leanriq_capabilities",
"title": "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.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| marketContext | object |
| media_buy_ids * | array |
| status_filter | any |
| targetMarkets | array |
| contentLocales | array |
| time_granularity | string | one of ["hourly","daily","weekly","monthly"] |
| attribution_window | object |
| defaultContentLocale | string |
| reporting_dimensions | object |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
| include_window_breakdown | boolean |
| include_package_daily_breakdown | boolean |
{
"name": "get_media_buy_delivery",
"title": "AdCP-standard media-buy delivery reporting.",
"description": "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.",
"inputSchema": {
"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"
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_advertisers",
"title": "list advertisers",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_advertiser",
"title": "get advertiser",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "create_advertiser",
"title": "create advertiser",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "update_advertiser",
"title": "update advertiser",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| resourceId | string |
| advertiserId * | string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "archive_advertiser",
"title": "archive advertiser",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| competitorLimit | any |
| requestedSections | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_brand_profile",
"title": "Research and return a LeanrIQ brand profile. This read capability does not save to Studio.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| boolean |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| competitorLimit | any |
| requestedSections | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "refresh_brand_profile",
"title": "Refresh and save a standalone Studio advertiser brand profile.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_brand_visuals",
"title": "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.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| advertiserId * |
| string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "refresh_brand_visuals",
"title": "refresh brand visuals",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_competitors",
"title": "list competitors",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| seatName | string |
| brandName | string |
| advertiserId | string |
| competitorId | string |
| evidenceMode | string | one of ["DISPLAY","CROSS_CHANNEL","BOTH"] |
| forceRefresh | boolean |
| lookbackDays | integer |
| sourceLocale | string |
| strategyMode | string | one of ["REPLICATE","DIFFERENTIATE","BOTH"] |
| targetMarket | string |
| contentLocale | string |
| evidenceLimit | integer |
| marketContext | object |
| strategyModes | array |
| targetMarkets | array |
| competitorName | string |
| contentLocales | array |
| competitorDomain | string |
| competitorWebsite | string |
| crossChannelLimit | integer |
| recommendationMode | string | one of ["FULL","EVIDENCE_ONLY"] |
| defaultContentLocale | string |
| competitorKeyMessages | array |
| competitorPositioning | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
| advertiserGuidanceSnapshot | object |
{
"name": "run_competitor_intelligence",
"title": "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.",
"description": "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.",
"inputSchema": {
"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": {}
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext |
| object |
| targetMarkets | array |
| competitorName | string |
| contentLocales | array |
| includeEvidence | boolean |
| competitorDomain | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_competitor_intelligence",
"title": "Read saved canonical LeanrIQ Competitor Intelligence V2 for an advertiser-scoped competitor. This does not reacquire evidence or generate new recommendations.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| marketContext | object |
| targetMarkets | array |
| competitorName | string |
| contentLocales | array |
| includeEvidence | boolean |
| competitorDomain | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_competitor_evidence",
"title": "List qualified display evidence from saved canonical LeanrIQ Competitor Intelligence V2. Cross-channel inspiration is not mixed into DISPLAY evidence.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext |
| object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "run_creative_intelligence",
"title": "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.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocales |
| array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_creative_intelligence_run",
"title": "Read an exact durable intelligence run, including stage, terminal state and retry metadata.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_creative_intelligence",
"title": "Read saved advertiser creative opportunities and source provenance.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| opportunityId * | string |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "create_creative_intelligence_plan",
"title": "Create a concise proposed campaign plan from one grounded opportunity. Studio approval is required before campaign creation.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_world_activation_evidence",
"title": "Read scoped verified event attestations for Studio approval and activation; no publication authority.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext | object |
| opportunityId | string |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_world_research_profile",
"title": "Read advertiser-scoped World Intelligence V3 profile with evidence; no publication authority.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext | object |
| opportunityId | string |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_world_research_summary",
"title": "Read advertiser-scoped World Intelligence V3 summary with evidence; no publication authority.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext | object |
| opportunityId | string |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_world_research_events",
"title": "Read advertiser-scoped World Intelligence V3 events with evidence; no publication authority.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext | object |
| opportunityId | string |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_world_research_event",
"title": "Read advertiser-scoped World Intelligence V3 event with evidence; no publication authority.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext | object |
| opportunityId | string |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_world_research_mentions",
"title": "Read advertiser-scoped World Intelligence V3 mentions with evidence; no publication authority.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext | object |
| opportunityId | string |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_world_research_insights",
"title": "Read advertiser-scoped World Intelligence V3 insights with evidence; no publication authority.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext | object |
| opportunityId | string |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_world_research_proposal",
"title": "Read advertiser-scoped World Intelligence V3 proposal with evidence; no publication authority.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext | object |
| opportunityId | string |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_world_research_decision",
"title": "Read advertiser-scoped World Intelligence V3 decision with evidence; no publication authority.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext | object |
| opportunityId | string |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_world_research_question",
"title": "Read advertiser-scoped World Intelligence V3 question with evidence; no publication authority.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| array |
| contentLocales | array |
| advertiserContext | object |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "build_world_research_profile",
"title": "Build a versioned advertiser research graph from configured identity and approved context.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "record_world_research_feedback",
"title": "Record reviewed relevance or decision feedback without changing approval or safety constraints.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| targetMarkets |
| array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_world_intelligence",
"title": "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.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocales |
| array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_world_signals",
"title": "List active, source-provenanced World Intelligence signals for one authorised advertiser. This is current contextual intelligence, not a general-purpose news search.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocales |
| array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_world_opportunities",
"title": "List active World Intelligence creative opportunities for one authorised advertiser. Opportunities are human-review recommendations and never publish creative.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_world_opportunity",
"title": "Get one active or historical World Intelligence opportunity and its compact provenance in the selected advertiser scope. It does not publish creative.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| any |
| creative | any |
| flightId | string |
| seatName | string |
| template | any |
| accountId | string |
| objective | string |
| advertiser | any |
| campaignId | string |
| creativeId | string |
| templateId | string |
| creativeIds | array |
| persistence | string | one of ["preview_only","save_to_studio"] |
| advertiserId | string |
| instructions | array |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| requestedFormats | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| skipTraffickedRebuild | boolean |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_vertical_intelligence",
"title": "get vertical intelligence",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_campaigns",
"title": "list campaigns",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| templateId | string |
| advertiserId | string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_campaign",
"title": "get campaign",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "create_campaign",
"title": "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 sec",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "update_campaign",
"title": "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.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| resourceId | string |
| advertiserId | string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "archive_campaign",
"title": "archive campaign",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| advertiserId * | string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| opportunityId * | string |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "select_world_opportunity_for_campaign",
"title": "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.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| assetId | string |
| outputs | array | Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output. |
| audience | any |
| campaign | any |
| creative | any |
| flightId | string |
| seatName | string |
| template | any |
| accountId | string |
| objective | string |
| advertiser | any |
| campaignId | string |
| creativeId | string |
| templateId | string |
| creativeIds | array |
| persistence | string | one of ["preview_only","save_to_studio"] |
| advertiserId | string |
| instructions | array |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| requestedFormats | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| skipTraffickedRebuild | boolean |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "create_creative_brief",
"title": "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 proposa",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| object |
| campaignId | string |
| creativeId | string |
| constraints | array |
| advertiserId | string |
| campaignName * | string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| templateAnalysis | object |
| studioCapabilities | object |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| requestedOperationTypes | array |
| supportedContentLocales | array |
{
"name": "create_production_plan",
"title": "create production plan",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "qa_creative",
"title": "QA a creative for launch readiness with actionable issues, certification evidence, and next steps before preview, revision, or trafficking.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| endDate | string |
| product | string |
| audience | string |
| buildAds | boolean |
| seatName | string |
| accountId | string |
| mustAvoid | array |
| objective | string |
| startDate | string |
| campaignId | string |
| creativeId | string |
| constraints | array |
| creativeIds | array |
| funnelStage | string |
| mustInclude | array |
| targetSizes | array |
| advertiserId | string |
| campaignName | string |
| deliverables | array |
| saveToStudio | boolean |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "run_creative_chain",
"title": "run creative chain",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| budget | any |
| seatId | string |
| channel | string |
| endDate | string |
| product | string |
| audience | string |
| elements | array |
| flightId | string |
| headline | string |
| platform | string |
| seatName | string |
| vertical | string |
| accountId | string |
| mustAvoid | array |
| objective * | string |
| skippable | boolean |
| startDate | string |
| approvalId | string |
| campaignId | string |
| flightName | string |
| constraints | array |
| creativeIds | array |
| destination | string |
| funnelStage | string |
| mustInclude | array |
| persistence | string | one of ["preview_only","save_to_studio"] |
| targetSizes | array |
| workspaceId | string |
| advertiserId | string |
| campaignName | string |
| deliverables | array |
| saveToStudio | boolean |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| executionMode | string | one of ["preview","collaborate","operate","traffic_ready","publish","autopilot"] |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| landingPageUrl | string |
| sourceAssetIds | array |
| supportingCopy | string |
| thirdPartyTags | array |
| durationSeconds | integer |
| revisionRequest | string |
| workspaceSource | object |
| performanceEvidence | array |
| defaultContentLocale | string |
| sourceFrameImageUrls | array |
| workspaceAccessToken | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
…and 3 more parameters.
{
"name": "launch_creative_campaign",
"title": "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 explici",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| advertiserId |
| string |
| campaignName | string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "promote_creative_workspace",
"title": "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.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| campaignId | string |
| creativeId | string |
| advertiserId | string |
| campaignName | string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| advertiserName | string |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_creatives",
"title": "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",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_creative",
"title": "get creative",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| seatId | string |
| taskId | string |
| assetId | string |
| outputs | array | Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output. |
| audience | any |
| campaign | any |
| creative | any |
| flightId | string |
| seatName | string |
| template | any |
| accountId | string |
| objective | string |
| advertiser | any |
| campaignId | string |
| creativeId | string |
| templateId | string |
| creativeIds | array |
| persistence | string | one of ["preview_only","save_to_studio"] |
| advertiserId | string |
| instructions | array |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| requestedFormats | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| skipTraffickedRebuild | boolean |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "build_ad",
"title": "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 creativ",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| number |
| qualityMode | string | one of ["STANDARD","PREMIUM_CREATIVE"] |
| advertiserId * | string |
| editorSource | object |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| premiumBudgetUsd | number |
| blankEditorSource | object |
| imageEditorSource | object |
| reassessVersionId | string |
| directionReference | object |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "build_creative_os",
"title": "Design, render and save a review-held editable scratch Display or Social working version using Creative OS.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| seatName | string |
| template | object |
| accountId | string |
| templates | array |
| advertiser | object |
| campaignId | string |
| copyPolicy | object |
| creativeId | string |
| aiBudgetUsd | number |
| doohContext | object |
| advertiserId | string |
| saveToStudio | boolean |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| strategyBrief | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| deliveryProfile | object |
| directionReference | object |
| approvedCopyVariants | array |
| defaultContentLocale | string |
| designEvidenceContext | object |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| expectedActiveVersionId | any |
| supportedContentLocales | array |
{
"name": "build_dooh",
"title": "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 ne",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| endDate | string |
| outputs | array |
| sandbox | boolean |
| audience * | string |
| operator | string |
| seatName | string |
| accountId | string |
| objective * | string |
| startDate | string |
| campaignId | string |
| doohContext | object |
| funnelStage * | string |
| targetSizes | array |
| advertiserId | string |
| campaignName * | string |
| generateTags | boolean |
| saveToStudio | boolean |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| desiredVariantCount | integer |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| strictBrandCompliance | boolean |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
| createAdvertiserIfMissing | boolean |
{
"name": "build_campaign_creative_set",
"title": "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.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| approvalId | string |
| creativeId * | string |
| persistence | string | one of ["preview_only","save_to_studio"] |
| instructions | array |
| saveToStudio | boolean |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "revise_creative",
"title": "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",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| assetId | string |
| outputs | array | Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output. |
| audience | any |
| campaign | any |
| creative | any |
| flightId | string |
| seatName | string |
| template | any |
| accountId | string |
| objective | string |
| advertiser | any |
| campaignId | string |
| creativeId | string |
| templateId | string |
| creativeIds | array |
| persistence | string | one of ["preview_only","save_to_studio"] |
| advertiserId | string |
| instructions | array |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| requestedFormats | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| skipTraffickedRebuild | boolean |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "export_creative",
"title": "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.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "clone_creative",
"title": "clone creative",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| sourceLocale | string |
| targetMarket | string |
| changeSummary | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "create_creative_version",
"title": "create creative version",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_creative_versions",
"title": "list creative versions",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| sourceLocale | string |
| targetMarket | string |
| changeSummary | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "restore_creative_version",
"title": "restore creative version",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| resourceId | string |
| advertiserId | string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "archive_creative",
"title": "archive creative",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_templates",
"title": "list templates",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_template",
"title": "get template",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_assets",
"title": "list assets",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| advertiserId | string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_asset",
"title": "get asset",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| array |
| contentLocales | array |
| idempotencyKey | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "generate_preview_links",
"title": "Generate public review preview links for one or more saved Studio creatives without changing campaign content.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_preview_link",
"title": "get preview link",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| advertiserId | string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| thirdPartyTags | array |
| creativeConfigs | array |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "create_flight",
"title": "create flight",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_flight",
"title": "get flight",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_flights",
"title": "list flights",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| advertiserId | string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| thirdPartyTags | array |
| creativeConfigs | array |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "update_flight",
"title": "update flight",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| resourceId | string |
| advertiserId | string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| expectedVersion | any |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "delete_flight",
"title": "delete flight",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "validate_flight",
"title": "validate flight",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "preview_trafficking_output",
"title": "preview trafficking output",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "traffick_creative",
"title": "traffick creative",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "traffick_flight",
"title": "traffick flight",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "retraffick_creative",
"title": "retraffick creative",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "retraffick_flight",
"title": "retraffick flight",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| sourceLocale |
| string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "push_flight_to_yahoo",
"title": "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.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocale |
| string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_adserver_tag",
"title": "get adserver tag",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "generate_adserver_tag",
"title": "generate adserver tag",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| sourceLocale | string |
| targetMarket | string |
| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_trafficked_assets",
"title": "get trafficked assets",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocales |
| array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "export_trafficked_assets",
"title": "export trafficked assets",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "get_task",
"title": "Poll a durable LeanrIQ task returned by build_ad, revise_creative, trafficking, or another queued capability and continue with the completed output.",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "list_tasks",
"title": "list tasks",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext |
| object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "cancel_task",
"title": "cancel task",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext |
| object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "retry_task",
"title": "retry task",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocale | string |
| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "provide_performance_feedback",
"title": "provide performance feedback",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| marketContext | object |
| targetMarkets | array |
| contentLocales | array |
| idempotencyKey * | string |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "leanriq_run_creative_intelligence",
"title": "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)",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| contentLocales | array |
| defaultContentLocale | string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "leanriq_get_creative_intelligence_run",
"title": "Read an exact durable intelligence run, including stage, terminal state and retry metadata. (deprecated alias)",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| defaultContentLocale |
| string |
| marketLanguageProfile | object |
| resolvedContentLocale | string |
| languageVariantGroupId | string |
| requestedOutputLocales | array |
| supportedContentLocales | array |
{
"name": "leanriq_get_creative_intelligence",
"title": "Read saved advertiser creative opportunities and source provenance. (deprecated alias)",
"description": "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.",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"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
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}