Skip to content

inFakt MCP server tool · Costs and expenses

infakt_cost_note_add

Last updated: · Add Cost Note

Adds a note to one cost after preview and confirmation; existing notes stay.

Write with a confirmation token

What it does

The server’s own text, in Polish, written for the assistant. Names of other tools link to their pages.

Dodaje notatkę do jednego dokumentu kosztowego (każdy rodzaj i status).

When to use

użytkownik chce dopisać uwagę do kosztu, np. dla księgowej.

What it returns

nowa notatka przy koszcie w inFakt; istniejące notatki zostają bez zmian.

How to use

uuid z infakt_get_costs_list, content 1–2000 znaków. Pierwsze wywołanie zwraca podgląd i confirmation_token; po zgodzie użytkownika wywołaj ponownie z tym samym payloadem i tokenem.

Examples

infakt_meta_examples("add_cost_note")

Related tools (per the server)

Parameters

Fields of the params object. Types and field descriptions come from the schema the server publishes in tools/list.

ParameterTypeRequiredDescription
confirmation_tokenstringnoPrzy pierwszym wywołaniu pozostaw to pole puste, aby otrzymać preview operacji i podpisany token potwierdzenia. Po akceptacji użytkownika wywołaj narzędzie ponownie z identycznym payloadem oraz zwróconym confirmation_token.
contentstring (min 1, max 2000)yesTreść notatki (1–2000 znaków)
uuidUUIDyesUUID kosztu (z infakt_get_costs_list)

Access kind and annotations

Write with a confirmation token: the first call returns a preview and a token, the second call with that token performs the operation

  • 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:costs:write

Related tools