Skip to content

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.

Approval card only

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.

ParameterTypeRequiredDescription
draft_pidstringyes

Access kind and annotations

Approval card only: called by the approval card in the client, not by the assistant

  • readOnlyHint: false write: changes data or state
  • destructiveHint: false non-destructive: overwrites or deletes nothing
  • idempotentHint: false non-idempotent: each call may add something new
  • openWorldHint: false works only within the inFakt account

OAuth scopes the tool requires:

  • api:invoices:write
  • api:invoices:read
  • api:account:read
  • api:sensitive:bank_accounts:read

Related tools