pricemirror_connect
ChatGPTAuthenticate the website frame for the connected account. No product operations or account data are loaded. Credentials are returned only in private UI metadata.
pricemirror_create
ChatGPTUse this when the user supplies supplier offers with a Pricemirror mention to get a price comparison in chat, including a mention without additional text or a short creation request. Not for an explicit import-only, interface-only or do-not-compare request. Imports the supplied originals into the connected account and generates and saves one comparison using its normal comparison allowance. Accepts all selected attachments in files, or existing offerIds, together with an idempotency requestId. Returns an inline card with live progress, the saved table and PDF/Excel export controls. No manual workspace step is needed. customInstructions contains only additional requirements supplied by the user. Repeating the same requestId and inputs reuses the existing attempt.
pricemirror_export
ChatGPTExport the saved revision as native XLSX or PDF using the account's existing export allowance. Set language only when the user explicitly requests different export labels (de, en, fr or el); it controls document labels, dates and page numbers without translating saved table content. If omitted, the saved document language is used, falling back to account language for older documents. Do not set it merely because the UI or conversation language changed. Preserve language and requestId on retry to retrieve the same export without another charge.
pricemirror_get_account
ChatGPTGet available comparison allowance and permissions for the connected account; initializes accounting records if needed.
pricemirror_get_generation
ChatGPTRead an existing comparison by its unchanged requestId. After create or revise starts, set waitForCompletion true: waits up to 20 seconds for completion while the existing card streams independently. If still pending, repeat this bounded wait without interim chat narration. Only after confirmed success give a short natural completion confirmation; do not repeat the table or add your own price analysis unless asked. A plain status lookup without waiting remains available for uncertain outcomes. Failed, cancelled, expired, interrupted or missing attempts must not be reported as complete. Never starts a new comparison, consumes comparison allowance or opens another card.
pricemirror_get_generation_preview
ChatGPTRead the current authenticated comparison snapshot for the live card. Read-only; never starts or restarts generation.
pricemirror_get_mirror
ChatGPTRender a saved comparison in the Pricemirror interface for inspection and editing. Use its saved mirrorId to reopen a finished result or show it when no live card is visible. Do not open a duplicate of an already visible live card. The card shows the full table with PDF, Excel and header controls.
pricemirror_import_offer
ChatGPTImport one user-selected chat attachment into Pricemirror only for an import-only request or recovery of an earlier individual import. For a new comparison, pass all attachments directly to pricemirror_create instead. Supports PDF, Excel, Word, GAEB, PNG and JPEG originals without Pricemirror OCR or LLM. Status original is ready. Keep the same requestId for retries; supplied files are downloaded and compared by content, even when file_id matches. To resolve an uncertain outcome or expired URL, omit file and use the same requestId: this only reads an existing import, never starts or restarts one. Missing, pending or failed lookups must be resolved; do not automatically replace the requestId or omit the affected offer. Preserve returned offer IDs; no second workspace upload is required.
pricemirror_list_mirrors
ChatGPTList saved price comparisons belonging to the connected user.
pricemirror_list_offers
ChatGPTList the connected user's uploaded supplier offers and processing status. Use only when the user asks to browse previously uploaded offers or their IDs are unknown. New chat attachments go directly to pricemirror_create; do not list offers after an import whose IDs were returned. Failed imports must not be silently omitted. Does not return source document text.
pricemirror_open
ChatGPTUse when the user explicitly asks for the full Pricemirror interface, or wants to browse/manage existing offers and comparisons without requesting a comparison. Also serves the sidebar icon. Do not use for a bare Pricemirror mention with attached supplier offers: call pricemirror_create directly and show the result in chat instead. Opening this interface does not import chat attachments or create their comparison.
pricemirror_open_workspace
ChatGPTCompatibility entrypoint for existing workspace links. Use pricemirror_open for an explicit interface request; use pricemirror_create for a Pricemirror mention with attached supplier offers, even without additional text.
pricemirror_retry_generation
ChatGPTRetry a confirmed failed or cancelled comparison using its original offers and settings. Only after an explicit click in the card. Repeated clicks reuse the same replacement attempt.
pricemirror_revise
ChatGPTCreate a new version of an existing saved comparison in one call. Pass either its saved mirrorId OR sourceRequestId from the latest creation/revision result when its saved ID is not yet known, plus a fresh requestId and the user's changeRequest in their own words. Never pass both source IDs. The server resolves completed jobs; it never restarts a pending or failed source. Pricemirror privately retrieves the original offers, saved user instructions and previous comparison, rechecks the sources and saves a separate result. The old comparison is unchanged. This consumes the normal comparison allowance. For an added offer, include only new attachments in files and/or already uploaded additions in additionalOfferIds; original offers are reused automatically. Never invent changes, analyze documents, reconstruct prior instructions or send HTML. Preserve all inputs and requestId after a lost response; never start another version merely to poll. The live card displays progress and the new result.
pricemirror_update_mirror
ChatGPTPersist revised table or name data from the Pricemirror interface. Requires the exact revision last loaded; conflicts require reloading before any overwrite.