• Preparing search index...
  • The search index is not available
@honua/sdk-js
  • @honua/sdk-js
  • studio-agent
  • parseStudioDraftResult

Function parseStudioDraftResult

  • parseStudioDraftResult(result): StudioMcpDraft | undefined
  • Experimental

    Reads a StudioPackageDraft out of a tools/call result — structured content first (the documented shape), then the first text block parsed as JSON, then undefined for a tool whose result is not a draft at all (validate, preview).

    Parameters

    • result: McpToolsCallResult

    Returns StudioMcpDraft | undefined

    • Defined in work/honua-sdk-js/honua-sdk-js/src/studio-agent/session.ts:1035

Settings

Member Visibility
@honua/sdk-js
  • Loading...

Generated using TypeDoc