Tool tree
gradeNot graded
page: Every page
discoverAdSlotsAnswer
List all ad placements on this page with their format, size, fill status, and visibility. Use this first to understand the ad layout.
View tool JSON
{
"name": "discoverAdSlots",
"kind": "answer",
"impl": "imperative",
"description": "List all ad placements on this page with their format, size, fill status, and visibility. Use this first to understand the ad layout.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}getSDKDiagnosticsAnswer
Full SDK health report: lifecycle state, config, timing, and errors. Use to pinpoint where in the pipeline something failed (config, Prebid, auction, render).
View tool JSON
{
"name": "getSDKDiagnostics",
"kind": "answer",
"impl": "imperative",
"description": "Full SDK health report: lifecycle state, config, timing, and errors. Use to pinpoint where in the pipeline something failed (config, Prebid, auction, render).",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}getDynamicSlotDecisionAnswer
Explain the latest dynamic slot placement decision: overlay, gutter, inline candidate selection, rejected candidates, and current waiting state.
View tool JSON
{
"name": "getDynamicSlotDecision",
"kind": "answer",
"impl": "imperative",
"description": "Explain the latest dynamic slot placement decision: overlay, gutter, inline candidate selection, rejected candidates, and current waiting state.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}getTelemetryTimelineAnswer
Return the recent telemetry timeline for one ad lifecycle keyed by correlationId. Use to trace fetch, auction, render, errors, and end-to-end timing.
View tool JSON
{
"name": "getTelemetryTimeline",
"kind": "answer",
"impl": "imperative",
"description": "Return the recent telemetry timeline for one ad lifecycle keyed by correlationId. Use to trace fetch, auction, render, errors, and end-to-end timing.",
"inputSchema": {
"type": "object",
"properties": {
"correlationId": {
"type": "string",
"description": "The ad correlationId. If omitted, the latest known renderer correlationId is used."
},
"slotId": {
"type": "string",
"description": "Optional slot container ID to resolve correlationId automatically."
},
"includeMetadata": {
"type": "boolean",
"description": "Include raw event metadata in the timeline output. Defaults to false."
}
}
},
"page": "/"
}getCorrelationStatsAnswer
Summarize all unique correlationIds seen so far and show how many render and refresh events each correlationId has produced.
View tool JSON
{
"name": "getCorrelationStats",
"kind": "answer",
"impl": "imperative",
"description": "Summarize all unique correlationIds seen so far and show how many render and refresh events each correlationId has produced.",
"inputSchema": {
"type": "object",
"properties": {
"correlationId": {
"type": "string",
"description": "Optional specific correlationId to inspect. If omitted, returns stats for all seen correlationIds."
}
}
},
"page": "/"
}getAdViewabilityAnswer
Check if a rendered ad is actually visible and diagnose CSS issues hiding it. Reports container dimensions, visibility percent, and specific CSS problems (height:0, display:none, overflow:hidden, z-index obstruction).
View tool JSON
{
"name": "getAdViewability",
"kind": "answer",
"impl": "imperative",
"description": "Check if a rendered ad is actually visible and diagnose CSS issues hiding it. Reports container dimensions, visibility percent, and specific CSS problems (height:0, display:none, overflow:hidden, z-index obstruction).",
"inputSchema": {
"type": "object",
"properties": {
"slotId": {
"type": "string",
"description": "The ad slot container ID. Defaults to the primary slot."
}
}
},
"page": "/"
}getPageContextAnswer
Get an AI-generated summary of the current page content for contextual ad targeting analysis. Runs on-device via the Summarizer API. Use to diagnose targeting mismatches.
View tool JSON
{
"name": "getPageContext",
"kind": "answer",
"impl": "imperative",
"description": "Get an AI-generated summary of the current page content for contextual ad targeting analysis. Runs on-device via the Summarizer API. Use to diagnose targeting mismatches.",
"inputSchema": {
"type": "object",
"properties": {
"summaryType": {
"type": "string",
"enum": [
"key-points",
"tldr",
"teaser"
],
"description": "Type of summary to generate. Defaults to tldr."
}
}
},
"page": "/"
}getBuiltInAICapabilitiesAnswer
Report browser support and availability for built-in AI APIs used by the SDK, including Summarizer, Translator, and LanguageDetector.
View tool JSON
{
"name": "getBuiltInAICapabilities",
"kind": "answer",
"impl": "imperative",
"description": "Report browser support and availability for built-in AI APIs used by the SDK, including Summarizer, Translator, and LanguageDetector.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}detectContentLanguageAnswer
Detect the language of page content, creative content, or arbitrary text using the browser LanguageDetector API when available.
View tool JSON
{
"name": "detectContentLanguage",
"kind": "answer",
"impl": "imperative",
"description": "Detect the language of page content, creative content, or arbitrary text using the browser LanguageDetector API when available.",
"inputSchema": {
"type": "object",
"properties": {
"source": {
"type": "string",
"enum": [
"page",
"creative",
"text"
],
"description": "Where to read text from. Defaults to page."
},
"slotId": {
"type": "string",
"description": "Optional slot container ID when source is creative."
},
"text": {
"type": "string",
"description": "Explicit text input when source is text."
}
}
},
"page": "/"
}translateTextAction
Translate text into a target language using the browser Translator API when available. Falls back to the original text when translation cannot run.
View tool JSON
{
"name": "translateText",
"kind": "act",
"impl": "imperative",
"description": "Translate text into a target language using the browser Translator API when available. Falls back to the original text when translation cannot run.",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text to translate."
},
"targetLanguage": {
"type": "string",
"description": "The BCP-47 target language code."
},
"sourceLanguage": {
"type": "string",
"description": "Optional source language code."
}
},
"required": [
"text",
"targetLanguage"
]
},
"page": "/"
}explainForPublisherAction
Turn raw SDK diagnostics into a short publisher-friendly explanation using built-in AI summarization and optional translation.
View tool JSON
{
"name": "explainForPublisher",
"kind": "act",
"impl": "imperative",
"description": "Turn raw SDK diagnostics into a short publisher-friendly explanation using built-in AI summarization and optional translation.",
"inputSchema": {
"type": "object",
"properties": {
"topic": {
"type": "string",
"enum": [
"integration",
"telemetry",
"dynamic-slot",
"creative",
"page-context"
],
"description": "Which SDK area to explain."
},
"slotId": {
"type": "string",
"description": "Optional slot container ID for telemetry or creative explanations."
},
"correlationId": {
"type": "string",
"description": "Optional correlationId for telemetry explanations."
},
"targetLanguage": {
"type": "string",
"description": "Optional target language for translated output."
}
},
"required": [
"topic"
]
},
"page": "/"
}analyzeCreativeAction
Inspect the rendered ad creative for issues: dimension mismatch, blank iframe, heavy JS, render errors. Use after confirming an ad was rendered but something looks wrong.
View tool JSON
{
"name": "analyzeCreative",
"kind": "act",
"impl": "imperative",
"description": "Inspect the rendered ad creative for issues: dimension mismatch, blank iframe, heavy JS, render errors. Use after confirming an ad was rendered but something looks wrong.",
"inputSchema": {
"type": "object",
"properties": {
"slotId": {
"type": "string",
"description": "The ad slot container ID. Defaults to the primary slot."
}
}
},
"page": "/"
}validateIntegrationAction
Run an automated health checklist for the publisher SDK integration. Returns pass/fail status for each check with actionable messages.
View tool JSON
{
"name": "validateIntegration",
"kind": "act",
"impl": "imperative",
"description": "Run an automated health checklist for the publisher SDK integration. Returns pass/fail status for each check with actionable messages.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}whySlotNotRenderedYetAnswer
Explain why a given slot has not rendered yet, including dynamic slots that have not been created and slots still waiting for render completion.
View tool JSON
{
"name": "whySlotNotRenderedYet",
"kind": "answer",
"impl": "imperative",
"description": "Explain why a given slot has not rendered yet, including dynamic slots that have not been created and slots still waiting for render completion.",
"inputSchema": {
"type": "object",
"properties": {
"slotId": {
"type": "string",
"description": "The slot container ID to inspect."
}
},
"required": [
"slotId"
]
},
"page": "/"
}