inFakt MCP server tool · Approval card (MCP Apps)
infakt_invoice_app_offer
Last updated: · Approval For The Card
Issues the card a single-use approval code for the current draft revision.
This tool is called by the approval card in the MCP client (MCP Apps), not by the assistant.
What it does
The server’s own text, in Polish, written for the assistant. Names of other tools link to their pages.
Pobierz zatwierdzenie dla karty, gdy klient pokazał kartę bez danych _meta wyniku. Tylko dla karty.
Niczego nie tworzy w inFakt: wydaje jednorazowy kod dla bieżącej wersji gotowego projektu, który zużywa dopiero kliknięcie w karcie (infakt_invoice_app_issue). Gdy ta wersja jest zatwierdzana w rozmowie, zwraca state="chat" bez kodu. Klientowi, który nie zgłosił obsługi kart MCP Apps, nie wydaje kodu.
Parameters
Fields of the params object. Types and field descriptions come from the schema the server publishes in tools/list.
| Parameter | Type | Required | Description |
|---|---|---|---|
draft_pid | string | yes |
Access kind and annotations
Approval card only: called by the approval card in the client, not by the assistant
readOnlyHint: falsewrite: changes data or statedestructiveHint: falsenon-destructive: overwrites or deletes nothingidempotentHint: falsenon-idempotent: each call may add something newopenWorldHint: falseworks only within the inFakt account
OAuth scopes the tool requires:
api:invoices:writeapi:invoices:readapi:account:readapi:sensitive:bank_accounts:read
Related tools
- infakt_invoice_app_issue – Creates the approved document in inFakt after the user clicks in the card.