{"id":107485,"plugin_id":"plugin_asdk_app_6ae3a54df10c8191b901cbadc1d0df56","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-20T07:41:58.163Z","digest":"9fff13a4ba680a4741727cf6f97cf93fa88a95c0ebf011363f755bdf3afcb004","against":null,"payload":{"description":"Drive an API Playground session through MCPJam's remote MCP tools or cloud CLI, inspect browser evidence, and hand the live session to its owner. Use for agent-driven MCP server debugging with a hosted browser.","included_files":[],"name":"drive-mcpjam-playground","skill_md_contents":"---\nname: drive-mcpjam-playground\ndescription: Drive an API Playground session through MCPJam's remote MCP tools or cloud CLI, inspect browser evidence, and hand the live session to its owner. Use for agent-driven MCP server debugging with a hosted browser.\n---\n\n# Drive MCPJam Playground\n\nUse the public `sessionId` returned by send, show, or browser open. The wire `chatSessionId` and logical `browserSessionId` are read-only metadata. Return minted “Open in Playground” links instead of constructing URLs.\n\n## Session loop\n\nSend a scoped request with `send_chat_message`; inspect `get_chat_session_trace` and `get_chat_session` for the reply, tool results, latency, and usage. A model call is billed on every send. Configuration pins at the first model turn.\n\nAttach a browser only on turns that need it. Initially send `browser: {policy: {mode: \"allowlist\", originAllowlist: [\"https://example.com\"]}}` with the origins relevant to the authorized task. Later send `browser: {}` to reuse that grant. `toolMode: \"read_only\"` additionally restricts browser tools to observation. Host policy remains a ceiling, and the browser grant and starting profile cannot be changed after opening.\n\nTo open, navigate, act, invoke, note, close, observe, trace, or fetch an artifact without a model call, use the CLI group `mcpjam cloud sessions browser`. The remote MCP tools do not include those commands while the hosted browser is in beta, so over MCP the browser moves only through `send_chat_message` turns. A `403` whose `details.code` is `FEATURE_UNAVAILABLE` means this organization does not have the hosted browser: tell the user instead of retrying.\n\n## Handoff and retries\n\nThe API-key owner can open the Playground link, take over the live browser, and press “Resume agent.” A `browser_in_use` result means the person still has control. Tell the user, wait for handback, and observe again before taking an action. Do not automatically repeat a click planned before takeover.\n\nKeep the same idempotency key when retrying a send whose outcome is unresolved. A completed key identifies the existing turn. An active key means wait. An unknown post-execution outcome requires reading the transcript and trace; do not generate a new key to repeat a potentially executed action. Keep command IDs stable for the same reason.\n\n## Evidence and desktop lifecycle\n\nScreenshots are URLs in send/trace/observe/artifact responses, not MCP image blocks. `unavailable` and `not_captured` are explicit absence states. Use `cloud sessions browser artifact --session <sessionId> --command-id <commandId> --download <dir>` to save available pixels.\n\nEach live conversation desktop is metered. The default per-user live cap is two across projects; an admin may override it. Close a browser when the authorized work is finished. Sleeping browsers wake on a browsing turn or command; show and trace reads do not wake them. A capacity refusal before execution may be retried with the same key after another browser closes.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}