You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Evaluate and triage issue #138 "get_screen returns incomplete screen data — missing theme, designMd, screenMetadata" as an architectural capability gap requiring coordination with the upstream API team.
Code-Level Diagnosis
Code path:packages/sdk/generated/tools-manifest.json and packages/sdk/generated/src/tool-definitions.ts Mechanism: The SDK automatically parses the upstream Stitch API schema to generate tool wrappers. The issue indicates get_screen returns fewer fields than generate_screen_from_text. Root cause: A review of the tools-manifest.json schema confirms that the get_screen tool's output schema does not include theme, designMd, screenMetadata, prompt, generatedBy, screenType, or designSystem. These fields are simply not part of the get_screen endpoint's API schema on the backend. This cannot be fixed by changes to the SDK because the SDK merely passes through the backend's response payload based on the schema.
Current Implementation
// In tools-manifest.json for 'get_screen':"Screen": {
"description": "A screen generated by the agent.",
"properties": {
"deviceType": { ... },
"height": { ... },
"htmlCode": { ... },
"name": { ... },
"screenshot": { ... },
"title": { ... },
"width": { ... }
},
"type": "object"
}
// Notice the absence of 'theme', 'screenMetadata', etc.
Proposed Implementation
Files to modify: None in the SDK repo at this time.
Integration (Before -> After)
// No changes required until the upstream schema is updated.
Test Scenarios
N/A
Target Files
N/A
Boundary Rules
No boundary rules apply; this is an informational signal and requires no code changes.
Goal Directives: The initial directive requires focusing on actionability.
Current State: The requested missing fields are not included in the upstream get_screen schema. Providing them via the SDK requires upstream changes to the Stitch API and MCP server.
Action Items
This issue is structurally an Insight.
Reason Skipped for Assessment: The requested output fields are not available in the upstream API schema. Implementing this fix requires backend support before the SDK can generate the appropriate wrappers that include these fields.
Objective
Evaluate and triage issue #138 "get_screen returns incomplete screen data — missing theme, designMd, screenMetadata" as an architectural capability gap requiring coordination with the upstream API team.
Code-Level Diagnosis
Code path:
packages/sdk/generated/tools-manifest.jsonandpackages/sdk/generated/src/tool-definitions.tsMechanism: The SDK automatically parses the upstream Stitch API schema to generate tool wrappers. The issue indicates
get_screenreturns fewer fields thangenerate_screen_from_text.Root cause: A review of the
tools-manifest.jsonschema confirms that theget_screentool's output schema does not includetheme,designMd,screenMetadata,prompt,generatedBy,screenType, ordesignSystem. These fields are simply not part of theget_screenendpoint's API schema on the backend. This cannot be fixed by changes to the SDK because the SDK merely passes through the backend's response payload based on the schema.Current Implementation
Proposed Implementation
Files to modify: None in the SDK repo at this time.
Integration (Before -> After)
Test Scenarios
Target Files
Boundary Rules
No boundary rules apply; this is an informational signal and requires no code changes.
Findings
get_screenschema. Providing them via the SDK requires upstream changes to the Stitch API and MCP server.Action Items
Fleet Context
jules:session:289001775965171631