@insiderfinance/totalfinance-mcp
McpServerOptions · field contracts
Page 2 of 2. Back to the entry point or find this declaration.
| Name / type | Meaning & unit | Optional / default |
|---|---|---|
stores.journal.read(journalId)string | unitless by name | Required / declared member No @default declared; consult the signature and description. |
stores.journal.storeIdstring | Stable opaque storage identity. Fresh stores differ; reopening a file store retains it. unitless by name | Required / declared member No @default declared; consult the signature and description. |
stores.journal.transact<T>(input: { journalId: string; execute: (prior: readonly import('@insiderfinance/totalfinance/portfolio').ExecutionJournalEvent[]) => { events: readonly import('@insiderfinance/totalfinance/portfolio').ExecutionJournalEvent[]; result: T; }; }) => T | Serialize restoration, idempotency checks, identity allocation and commit for one journal.
`execute` is synchronous and receives a detached snapshot. Its events are a newly appended
batch (possibly empty), committed before result is returned. Exceptions commit nothing.
Do not nest transactions/append on the same journal; read does not acquire another lock. unitless by name | Required / declared member No @default declared; consult the signature and description. |
stores.journal.transact(input){ execute: (prior: readonly import('@insiderfinance/totalfinance/portfolio').ExecutionJournalEvent[]) => { events: readonly import('@insiderfinance/totalfinance/portfolio').ExecutionJournalEvent[]; result: T; }; journalId: string; } | unitless by name | Required / declared member No @default declared; consult the signature and description. |
stores.journal.transact(input).execute(prior: readonly import('@insiderfinance/totalfinance/portfolio').ExecutionJournalEvent[]) => { events: readonly import('@insiderfinance/totalfinance/portfolio').ExecutionJournalEvent[]; result: T; } | unitless by name | Required / declared member No @default declared; consult the signature and description. |
stores.journal.transact(input).journalIdstring | unitless by name | Required / declared member No @default declared; consult the signature and description. |
toolsTotalFinanceTool[] | Override the default tool set with an explicit list (the low-level escape hatch). unitless by name | Optional No @default declared; consult the signature and description. |