{"ok":true,"site":{"host":"commanddeck.kazu22.chatgpt.site","url":"https://commanddeck.kazu22.chatgpt.site/","type":"live","desc":"CommandDeck is an intent-compiled operation room for commerce teams and WebMCP agents.","tools":[{"name":"get_store_snapshot","kind":"answer","impl":"imperative","description":"Read the compact Trailhead Supply state shown in CommandDeck: catalog counts, current campaign, trusted module IDs, revision, and next actions.","title":"Get store snapshot","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/learn","/storefront?room=workspace-1"]},{"name":"get_room_blueprint","kind":"answer","impl":"imperative","description":"Read one intent's allowed layouts, block IDs, required editing blocks and human review groups. Choose from clearance, pricing, replenishment, storefront. Only trusted blocks can be composed; no HTML or code is accepted.","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"intent":{"type":"string","enum":["clearance","pricing","replenishment","storefront"]}},"required":["intent"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/learn","/storefront?room=workspace-1"]},{"name":"inspect_inventory","kind":"answer","impl":"imperative","description":"Read active inventory in pages of six. All monetary values are integer USD cents. sales90 is units sold in 90 days; age is days since last sale. Use returned IDs to compose an intent room. This is not a future-sales forecast.","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"categories":{"type":"array","items":{"type":"string","enum":["Hiking","Camp","Hydration","Apparel"]}},"minimumDaysSinceLastSale":{"type":"integer","minimum":0,"maximum":9007199254740991},"minimumInventory":{"type":"integer","minimum":0,"maximum":9007199254740991},"cursor":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/learn","/storefront?room=workspace-1"]},{"name":"compose_intent_room","kind":"act","impl":"imperative","description":"Create a real purpose-built UI: clearance merchandise board, pricing comparison, replenishment stock board, or storefront editor. Read the blueprint first, choose layout and blocks, supply inspected product IDs. Can replace only unreviewed agent drafts with replaceExisting:true; human edits and locks are protected.","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"expectedGlobalRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"intent":{"type":"string","enum":["clearance","pricing","replenishment","storefront"]},"title":{"type":"string","minLength":1,"maxLength":80},"objective":{"type":"string","minLength":1,"maxLength":240},"productIds":{"minItems":1,"maxItems":24,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"layout":{"type":"string","enum":["board","analysis","ledger","studio","focus"]},"blocks":{"minItems":1,"maxItems":11,"type":"array","items":{"type":"string","enum":["product_gallery","price_comparison","margin_chart","stock_board","coverage_table","quantity_plan","copy_editor","storefront_canvas","change_summary","policy_controls","schedule_strip"]}},"policy":{"type":"object","properties":{"marginFloor":{"type":"number","minimum":0,"maximum":95},"earlyDiscount":{"type":"number","minimum":0,"maximum":95},"lateDiscount":{"type":"number","minimum":0,"maximum":95},"targetMargin":{"type":"number","minimum":0,"maximum":95},"coverageDays":{"type":"integer","minimum":1,"maximum":365}},"additionalProperties":false},"copy":{"type":"object","properties":{"headline":{"type":"string","minLength":1,"maxLength":90},"supportingText":{"type":"string","minLength":1,"maxLength":240},"ctaLabel":{"type":"string","minLength":1,"maxLength":40}},"required":["headline","supportingText","ctaLabel"],"additionalProperties":false},"durationHours":{"type":"integer","minimum":1,"maximum":168},"replaceExisting":{"type":"boolean"}},"required":["expectedGlobalRevision","intent","title","objective","productIds"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/learn","/storefront?room=workspace-1"]},{"name":"find_clearance_candidates","kind":"answer","impl":"imperative","description":"Find stale inventory and apply the requested projected post-discount gross-margin floor. Returns compact product IDs and counts.","title":"Find clearance candidates","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"categories":{"type":"array","items":{"enum":["Hiking","Camp","Hydration","Apparel"]},"description":"Catalog categories to search."},"minimumDaysSinceLastSale":{"type":"integer","minimum":1,"description":"Minimum stale-stock age in days."},"minimumInventory":{"type":"integer","minimum":1,"description":"Minimum on-hand units."},"marginFloorPercent":{"type":"number","minimum":0,"maximum":100,"description":"Minimum post-discount gross margin percent."}},"required":["categories","minimumDaysSinceLastSale","minimumInventory","marginFloorPercent"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/learn","/storefront?room=workspace-1"]},{"name":"compose_operation_room","kind":"act","impl":"imperative","description":"Legacy clearance-only editor for compatible saved demo scripts. For purpose-driven layouts and block composition, prefer compose_intent_room. This legacy flow requires the current global revision and module IDs returned by the store snapshot.","title":"Compose operation room","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"expectedGlobalRevision":{"type":"integer","description":"Current global revision for optimistic concurrency."},"title":{"type":"string","description":"Short merchant-facing operation title."},"objective":{"type":"string","description":"Plain-language inventory objective."},"moduleIds":{"type":"array","items":{"enum":["product_scope","margin_guard","discount_policy","storefront_hero","campaign_schedule","impact_summary","approval_gate","agent_activity","storefront_preview"]},"description":"Legacy compatibility module IDs. Adaptive block/layout choices use compose_intent_room."},"candidateProductIds":{"type":"array","items":{"type":"string"},"description":"IDs returned by candidate search."},"marginFloorPercent":{"type":"number","description":"Required projected gross-margin floor."},"campaignDurationHours":{"type":"integer","description":"Campaign duration in hours."}},"required":["expectedGlobalRevision","title","objective","moduleIds","candidateProductIds","marginFloorPercent","campaignDurationHours"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/learn","/storefront?room=workspace-1"]},{"name":"list_rooms","kind":"answer","impl":"imperative","description":"List independent saved demo rooms in pages of six, including the active room. Switching preserves data, edits, approvals and rollback per room. Each room has its own demo catalog; changes do not propagate to sibling rooms.","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/learn","/storefront?room=workspace-1"]},{"name":"create_room_workspace","kind":"act","impl":"imperative","description":"Create and activate an empty independent demo room without deleting the current room. Then inspect inventory, read its blueprint and compose_intent_room. No prices are applied and no approvals are created.","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"expectedGlobalRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["expectedGlobalRevision","name"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/learn","/storefront?room=workspace-1"]},{"name":"open_room","kind":"act","impl":"imperative","description":"Activate a workspace ID returned by list_rooms. Save the current room and restore the selected room's own products, edits, approvals, locks, campaign and rollback snapshot. Read its current state again before writing.","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"expectedGlobalRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"workspaceId":{"type":"string","minLength":1}},"required":["expectedGlobalRevision","workspaceId"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/learn","/storefront?room=workspace-1"]}],"category":"Productivity & Business","favicon":"/favicons/commanddeck.kazu22.chatgpt.site.png","apiSurface":"spec","toolCount":9}}