fynk MCP
This endpoint is listed in the official MCP Registry as fynk MCP. If you published it, claim ownership there.
Server Details
Draft, find, update and sign contracts in fynk, the European contract management platform. Your AI assistant can search and summarize your documents, create contracts from templates or PDFs, fill in parties, signatories and dynamic fields, build templates, manage tags, teams and metadata, and send documents out for e-signature (SES, AES, QES). It acts with your own fynk permissions via OAuth. Requires an Essential, Business or Pro plan (14-day free trial) with MCP enabled by an account admin.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- fynk
TDQS
Scored across 78 tools
Most tools map cleanly to a resource plus an action, and descriptions draw sharp lines between account parties, document parties, external parties, signatories, document users, and account users. A few areas still require careful reading, especially the several people-related create/update tools and the document-vs-template variants, but misselection is unlikely when descriptions are consulted.
Tool names follow a consistent kebab-case verb_noun pattern throughout: list-*, get-*, create-*, update-*, delete-*, archive-*, restore-*, move-*, search-*, and attach/detach-*. The few longer names such as create-document-from-pdf-upload or set-template-published-state remain structurally predictable.
Seventy-eight tools is far beyond a comfortably scoped MCP surface, even for a full contract-lifecycle platform. Many are individually justified, but the sheer breadth imposes a heavy discovery and selection burden on the agent, making the set feel like an API catalog rather than a focused toolset.
The surface covers a very broad contract and template lifecycle: documents, templates, parties, signatories, users, metadata, tags, teams, links, uploads, stages, and AI analysis state. There are still notable gaps, such as no deletion or removal operation for document parties and no archive/restore pair for templates despite one existing for documents.
Publisher details
- Operator
- fynk · Publisher source
- Operator website
- https://fynk.com · Publisher source
- Vendor relationship
- First-party
- Documentation
- https://help.fynk.com/en/articles/759041-connect-fynk-to-your-ai-assistant-with-mcp · Publisher source
- Privacy policy
- Not provided
- Trust center
- https://trust.fynk.com/ · Publisher source
- Restrictions
- Requires a fynk Essential, Business or Pro plan (or 14-day free trial) with MCP enabled by an account owner or admin under Account Settings → MCP; no regional limits or custom OAuth app needed, as clients register automatically via OAuth. · Publisher source
Available Tools
78 toolsarchive-documentArchive documentADestructiveIdempotentInspect
Archives a document, hiding it from the account's default document lists.
Use this tool when:
A document is no longer actively worked with and should be moved out of the way
The user asks to archive, hide, or clean up a document
Archiving does not delete anything: the document keeps all its data and can be restored later with the restore-document tool. The document must not already be archived.
Inputs: document_uuid (required). Returns: url, name, uuid, stage, +5 more
attach-account-users-to-teamAttach account users to teamADestructiveIdempotentInspect
Add one or more account users as members of a team.
Use this tool when:
The user asks to add people to a team
Membership can give people access to the documents, templates, imports and automations assigned to the team, subject to their own permissions, so confirm who is being added when the user's request leaves room for doubt.
Existing members of the team are preserved. Use detach-account-users-from-team to remove members. Pass account_user_uuids from list-account-users, list-account-team-members (when copying members between teams), or the account-user uuids the user references.
Inputs: team_uuid (required), account_user_uuids (required). Returns: icon, name, uuid, _entity_type
create-account-document-typeCreate account document typeAInspect
Create a new custom document type for the account.
Use this tool when:
The user asks for a new kind of document to be distinguished, e.g. "add a Framework Agreement document type"
A document or template needs a document type that the account does not have yet
Call list-account-document-types first: fynk already provides system document types such as "Non-Disclosure Agreement", "Rental Agreement" or "Service Agreement" to every account, and a custom type that duplicates one of them splits the account's documents across two types. Create a new type only when none of the existing ones fits.
Write name in Title Case, the way fynk's own types are named ("Data Processing Agreement", "Letter of Intent"),
rather than copying the user's phrasing verbatim - a request for "a type for supplier framework contracts" should
produce "Supplier Framework Agreement".
description and prompt are how a new type is normally set up, so propose both from what the type is for rather
than leaving them out:
descriptiontells users what the type covers, in one sentence. fynk's "Rental Agreement" reads: "A contract between a landlord and tenant defining the terms under which property is rented, including duration, payment terms, and usage conditions."promptis what fynk's AI analyses read when deciding whether a document is of this type - without one, they rarely pick the type. Phrase it as a selection criterion, the way fynk's own types do. "Rental Agreement" reads: "Select this type if the document defines the terms under which a tenant rents property from a landlord, including rent amount, duration, deposit, and usage conditions."
relevant_metadata_uuids decides which metadata fields fynk's AI analyses look for in documents of this type,
besides the fields already relevant for every document type, which apply to the new type automatically. Call
list-account-metadata to find the candidates, and propose the fields that type's documents would carry, e.g. a
"Net Rent" field for a lease type. The fields chosen here are made relevant for the new type alongside the types they already have, and
list-account-metadata reports the result: each field there names the document types it is relevant for.
Inputs: name (required), prompt, description, relevant_metadata_uuids. Returns: name, uuid, prompt, customised, +3 more
create-account-metadataCreate account metadataAInspect
Create a new account-level metadata field definition.
Use this tool when:
The user asks for a new metadata field to track some piece of information on their documents
You need a metadata field to exist before writing values to it with update-document-metadata-values
Call list-account-metadata first: the account may already have a field for what the user wants, and fynk provides a range of system metadata fields that cannot be re-created under the same name.
name is the programmatic identifier (lowercase letters, digits and underscores only) and display_name is what
the user sees. Write display_name in Title Case, the way fynk's own fields are named ("Signing Date", "Contract
Value"), rather than copying the user's phrasing verbatim - a request for "a product colour metadata" should still
produce product_colour / "Product Colour".
select and multi_select fields require select_values (the allowed options); no other field type accepts them.
These strings are literally what the user picks from in the UI, so write them as presentable labels, capitalised
like display_name: "Red", "Green", "Blue", not the "red, green or blue" lifted out of the request.
name and value_type are fixed at creation and cannot be changed afterwards, and it is worth getting the rest
right first time rather than leaving a correction to make later. So confirm any detail the user has not spelled out
instead of guessing at it - in particular the exact select_values strings, since a request like "a colour field
with red, green or blue" names the options without settling how they should read.
prompt and keywords decide whether fynk's AI analyses fill this field in - a prompt puts the field into them,
keywords only assist it and do nothing on their own. This is how a new field is normally set up: fynk's own
creation form turns AI analysis on by default and requires both. So propose a prompt and keywords drawn from
what the field is for rather than silently leaving them out, and omit both only for a field the user wants to fill
in by hand. Set a description as well - it is what tells a user configuring the field what it holds.
Inputs: name (required), value_type (required), display_name (required), prompt, +5 more. Returns: name, type, uuid, settings, +8 more
create-account-partiesCreate account partiesAInspect
Create one or more account parties saved in your account.
Use this tool when:
The user asks to add their company, a subsidiary, a group company or a parent company as parties of the account
A document or template needs an account party (account_party_uuid) that list-account-parties does not return yet
Account parties are the account's own entities — the user's company, subsidiaries, group companies or parent company. They are the internal side of an agreement and are reusable across multiple documents and templates. Never use this tool for counterparties. Add external parties to the relevant document or template with create-document-party or create-template-party.
Create up to 20 parties per call. Before calling this tool, call list-account-parties to check which parties already exist. Only include parties that are missing; do not create duplicates of existing account parties.
The parties are created together or not at all. Accounts whose plan does not include multiple account parties may only hold one; a call that would take such an account past one party is refused with a permission error and creates nothing.
Inputs: parties (required). Returns: parties
create-account-tagCreate account tagAInspect
Create a new tag in the current account.
Use this tool when:
The user asks to create a new tag
You need a new tag to be available before attaching it to documents or templates
name (max 40 chars) and color (hex like "#FF0000") are required.
Inputs: name (required), color (required). Returns: name, uuid, color, _entity_type
create-account-teamCreate account teamAInspect
Create a new team in the current account.
Use this tool when:
The user asks to create a new team
You need a new team to be available before attaching it to documents or templates
The tool requires name. Do not ask the user about an icon — the team will use the default icon. Optionally pass account_user_uuids to add initial members. After creation, don't expose the UUID to the user.
Inputs: name (required), account_user_uuids. Returns: icon, name, uuid, _entity_type
create-document-from-pdf-uploadCreate document from PDF uploadAInspect
Create a new document from a PDF previously uploaded via create-document-pdf-upload-url.
Use this tool when:
The user wants to import an existing PDF into fynk as a draft document for further processing, OR
The user wants to record an already-signed PDF in fynk by setting
initial_stageto "done"
Call create-document-pdf-upload-url first to obtain file_upload_uuid, then upload the PDF to the URL it returns with a multipart/form-data POST, as that tool describes, and call this tool only once that upload has succeeded. Each file_upload_uuid is single-use: it is consumed by a successful call, or by a call refused because the file is not a valid PDF or exceeds the page limit. To create another document (or upload a replacement file), call create-document-pdf-upload-url again. If a call is refused over any other argument, the upload remains intact—fix the argument and retry with the same file_upload_uuid. initial_stage is required and must be either "draft" or "done"; ask the user which they want if it isn't clear from context. Depending on the account's settings, template_uuid may be required (it copies checkpoints, document type, metadata, parties, etc. from a template).
Only pass auto_apply_ai_analysis when the user has expressed whether AI analysis results should be applied to the document automatically; omit it to use the account's default setting. The AI analysis runs in the background after this tool returns; read its state from the ai_analysis section of get-document-info before relying on the parties, metadata or summary it fills in.
The template_uuid, team_uuids, tag_uuids, and account_party_uuid arguments expect UUIDs, which can be discovered via list-templates, list-account-teams, list-account-tags, and list-account-parties respectively.
Inputs: file_name (required), initial_stage (required), file_upload_uuid (required), tag_uuids, +5 more. Returns: url, name, tags, uuid, +26 more
create-document-from-scratchCreate document from scratchAInspect
Create a new, empty document from scratch (not based on a template), optionally assigning teams, tags, and an account party.
Use this tool when:
The user wants to start a new blank document that is not based on a template
The document is created in the draft stage with no content. To create a document based on a template instead, use create-document-from-template.
The team_uuids, tag_uuids, and account_party_uuid arguments expect UUIDs, which can be discovered via list-account-teams, list-account-tags, and list-account-parties respectively.
Inputs: name (required), tag_uuids, team_uuids, account_party_uuid. Returns: url, name, tags, uuid, +25 more
create-document-from-templateCreate document from templateADestructiveInspect
Create a new document from a template, optionally pre-filling parties, signatories, and dynamic fields, and optionally starting the signing process immediately.
Use this tool when:
The user wants to generate a document based on an existing template
It is usually helpful to call get-template-info with include=["parties", "signatories", "dynamic_fields"] first to discover the template's parties, signatories, and dynamic fields so that the parties, signatories, and dynamic_field_values arguments can be populated correctly.
When completing dynamic fields, take note of the field's type when constructing the value. These are the rules to use when constructing the value string:
number: the numeric value in a string, using '.' as the decimal separator -> "1234.56"
currency: concatenate the ISO currency code and the numeric value with a ';' -> "EUR;1000.10" (for one thousand Euro and ten cents)
currency_duration: same as currency, but append another ';' followed by either
monthlyoryearly-> "EUR;1000.10;monthly" / "USD;1000.10;yearly"select: one of the options from the field's
select_valueslist -> "red"multi_select: an array of the selected values in the
valuesfield -> ["red", "blue"]bool: either of the strings "true" (displayed to the user as "Yes") or "false" (displayed to the user as "No") -> "true" / "false"
duration: a PHP-compatible duration specification -> "P6D" (6 days), "P2W" (2 weeks), "PT12H" (12 hours)
date: the date in the format "YYYY-MM-DD" -> "2026-12-31"
email, text, textarea, or any type not listed above: a string -> "test@example.com"
Setting start_signing=true will move the new document straight into the signing stage and invite the signatories to sign it; this fails if any required information (party data, mandatory dynamic field values, signature blocks) is missing.
Inputs: template_uuid (required), parties, signatories, document_name, +2 more. Returns: url, name, tags, uuid, +25 more
create-document-linkCreate document linkAInspect
Links two existing documents, recording how they relate to each other, e.g. that one contract is a renewal of another.
Use this tool when:
The user says how two contracts relate, e.g. "this is the renewal of the 2023 service agreement" or "link the amendment to its main contract"
Documents migrated from another system belong together, e.g. a framework agreement and the order forms under it (parent_of / child_of)
relationship_type is read from document_uuid's side: renewal_of means document_uuid renews other_document_uuid, renewed_by means other_document_uuid renews document_uuid. Find both documents' UUIDs with list-documents first. Two documents can be linked only once with each kind of relationship.
The documents already linked to a document are returned by get-document-info with include linked_documents. To change a link's relationship type, remove the link with delete-document-link and create the right one.
Inputs: document_uuid (required), relationship_type (required), other_document_uuid (required). Returns: uuid, document, created_at, relationship, +1 more
create-document-partyCreate document partyAInspect
Adds a party to a document, alongside any parties it already has.
Use this tool when:
A contracting party is missing from a document, e.g. the counterparty of a contract created from scratch
A signatory has to be added for a party the document does not have yet: create the party first, then add the signatory with create-document-signatory
Pass party_account_party_uuid to add one of the account's saved parties (list-account-parties), usually the user's own company. A saved party can be on a document only once, and is always internal. For any other party, give party_entity_name, party_address and party_scope instead.
Parties cannot be added while the document is archived, in the signing stage or an approved stage, going through an approval checkpoint, or bound by a preemptive signature.
Inputs: document_uuid (required), party_reference (required), party_scope, party_address, +2 more. Returns: uuid, address, ref_uuid, reference, +3 more
create-document-pdf-upload-urlCreate document PDF upload URLAInspect
Create a signed URL that a single PDF can be POST-uploaded to, for later use with create-document-from-pdf-upload.
Use this tool when:
The user wants to create a document from an existing PDF file and you need somewhere to upload it to first
The upload is an HTTP request you send yourself. If you cannot send HTTP requests with the file's contents, do not call this tool; ask the user to upload the PDF in the fynk app instead.
Call it once per PDF: each URL accepts exactly one file of up to 30 MB, and stops working at expires_at, a few minutes after it was issued.
Upload with a multipart/form-data POST to url that sends every entry of fields as a form field with its value unchanged, followed by the PDF as a final field named file; S3 ignores any field sent after the file. Only a 204 response means the upload succeeded, so check the status before calling create-document-from-pdf-upload, and request a new URL to retry a failed upload. With curl, send the fields with --form-string, since -F reads a value starting with @ or < as a file reference:
curl -w "%{http_code}\n" -X POST "<url>" \
--form-string "key=<fields.key>" \
--form-string "<each other entry of fields>=<its value>" \
-F "file=@/path/to/contract.pdf;type=application/pdf"curl reads ; and , in that file path as separators, so wrap a path containing either in escaped double quotes (-F "file=@\"/path/to/a;b.pdf\";type=application/pdf").
Then pass file_upload_uuid to create-document-from-pdf-upload.
Inputs: no named parameters. Returns: url, fields, expires_at, file_upload_uuid
create-document-signatoryCreate document signatoryADestructiveInspect
Adds a signatory to a document.
Use this tool when:
You have a document with one or more parties configured and want to add a signatory for one of the parties.
The signatory becomes a user of the document and is invited by email to sign it once the document moves to the signing stage, so confirm the email address with the user rather than inferring it. The email may belong to someone who is already a user of the document, e.g. one added with create-document-user; they become a signatory and keep their role.
When adding a signatory whose email corresponds to an existing user in the current fynk account, all of the optional arguments will be ignored and the signatory information will be populated from the existing user's profile.
Inputs: document_uuid (required), signatory_email (required), signatory_party_identifier (required), signatory_title, +3 more. Returns: name, uuid, email, party_uuid, +3 more
create-document-userCreate document userADestructiveInspect
Gives a person access to a document as an owner, collaborator or viewer, and by default emails them an invitation.
Use this tool when:
Someone should be able to open, comment on or edit a document, e.g. a colleague who should review a draft or a counterparty's lawyer who should comment during review
A colleague should become an owner of a document
Identify the person by exactly one of email or account_user_uuid. Someone who is to sign the document is added with create-document-signatory instead. An email address that already belongs to a user of the document is refused; change that user with update-document-user.
By default the person is emailed an invitation straight away. Before calling, always ask the user whether the person should receive that email now, rather than relying on the default, and confirm the email address with them rather than inferring it. With invite_method none the person is added without an email, and can be invited later via update-document-user with mode send_invitation. A person without a fynk account user in this account can open the document only once invited. When creating multiple users in succession, make sure to check with the user for each of them whether an email should be sent.
Whenever the document has a party on the person's side, party_identifier is required. Any of the document's parties is accepted, but the person usually belongs to one on their side: a party where is_internal is true for a person with a fynk account user in this account, one where is_internal is false for anyone else, typically the counterparty their company is. Ask the user which party if it is not clear.
A person without a fynk account user in this account (internal_user false) cannot be added while the document is in the draft or approved_draft stage, and cannot be an owner. For a person with a fynk account user in this account, the name and title come from their fynk profile, and first_name, last_name and title are ignored.
Inputs: role (required), document_uuid (required), email, title, +6 more. Returns: name, role, uuid, email, +5 more
create-template-dynamic-fieldCreate template dynamic fieldAInspect
Create a new dynamic field on a template.
Use this tool when:
The user wants to add a variable / fill-in field (e.g. text, number, date, select) to a template
You are building up a template and need a placeholder whose value is filled in per document
IMPORTANT: this is only the first of two steps. Creating the field does NOT place it in the template content, so on
its own the fill-in placeholder will not appear in the document text. To make it show up, reference the returned
ref_uuid in the template body (via replace-template-content) as:
<span data-dynamic-field data-ref-uuid="<dynamic field ref_uuid>"></span>Until it is referenced in the content the field exists but is rendered nowhere. The same two-step pattern applies
to signature blocks (create-template-signature-block, then
<div data-signatures><span data-signature-block data-ref-uuid="..."></span></div>).
Dynamic fields define the variable data filled in when a template is used to create a document. Each field has a
type controlling what values it accepts, and a scope controlling who fills it in.
A party's name or address is never a dynamic field. Both live on the party record: add the party with create-template-party and render its details in the content with , taking data-format="address" for the address as a block and data-format="address:inline" for it on one line, as a preamble reads it. A document made from the template then follows its own parties.
select and multi_select fields require select_values (the allowed options).
The optional default value is set via value (for non-multi_select fields) or values (for multi_select fields).
Construct the value string according to the field type:
number: the numeric value in a string, using '.' as the decimal separator -> "1234.56"
currency: concatenate the ISO currency code and the numeric value with a ';' -> "EUR;1000.10"
currency_duration: same as currency, but append another ';' followed by either
monthlyoryearly-> "EUR;1000.10;monthly"select: one of the options from
select_values-> "red"multi_select: an array of the selected options in the
valuesfield -> ["red", "blue"]bool: either of the strings "true" (shown as "Yes") or "false" (shown as "No")
duration: a PHP-compatible duration specification -> "P6D" (6 days)
date: the date in the format "YYYY-MM-DD" -> "2026-12-31"
email, text, textarea, or any type not listed above: a string -> "test@example.com"
Inputs: name (required), type (required), template_uuid (required), scope, +5 more. Returns: name, type, uuid, scope, +8 more
create-template-from-scratchCreate template from scratchAInspect
Create a new empty template with editable ProseMirror content.
Use this tool when:
The user wants to start building a new template from scratch (not from an existing PDF or template)
The new template is created empty and its content is authored in a later step. The body references parties, dynamic fields and signature blocks by ref_uuid, so those have to exist before the content can point at them. Build the template in this order:
create-template-party for each contracting party.
create-template-signature-block for each party that signs.
create-template-dynamic-field for every value that varies per document - dates, amounts, notice periods, payment terms. A party's name or address is never one of them: both live on the party record and the content renders them from there.
replace-template-content once, with a body that references all of them by their ref_uuids and wraps each clause in an ordered list node so fynk numbers it.
Authoring the content first and adding the parties, fields and signature blocks afterwards forces a second, destructive rewrite of the whole body to weave the references in, so plan them up front. This applies just as much when the content is derived from a source document such as a PDF: every filled-in blank in the source is a dynamic field unless it holds party identity, and its signature lines are signature blocks.
The locale defines the template's content language and default number formats. Never ask the user for it - a
BCP 47 tag is not something they can be expected to know. Infer it from the conversation, e.g. the language the
content is to be written in or a country or jurisdiction the user names, and otherwise omit it, which falls back to
the account's locale.
Inputs: name (required), locale. Returns: url, name, tags, uuid, +19 more
create-template-partyCreate template partyAInspect
Add a party to a template.
Use this tool when:
The user wants to add a party (e.g. a counterparty, customer, or employer) to a template
You are building up a template and need parties before adding signatories or signature blocks
There are two ways to add a party:
Internal (saved) party: send
account_party_uuid(from list-account-parties) together withreference. No other fields may be sent in this case.External party: send
referenceandscope, and optionallyentity_nameandaddress.
The two names on a party say different things:
referenceis the generic label for the party's role on the template (e.g. "Employer", "Customer"), and stays the same for every document made from it.entity_nameis the name of the legal entity itself: a company's name ("Acme GmbH") or, when the party is an individual rather than an organisation, that person's name. On a template it is usually only known for the account's own side; a counterparty's is filled in per document, so leave it out rather than inventing one.
To render the party's details inline in the template text, reference the returned ref_uuid in the body
(via replace-template-content) as:
<span data-party data-ref-uuid="<party ref_uuid>" data-format="name"></span>where data-format selects what is rendered: "name" (the party's entity/company name), "reference" (its
reference label), "address", or "address:inline". A data-format is required.
Note: adding a party does not, by itself, give that party anywhere to sign. If the party is meant to sign documents
created from the template, follow up with create-template-signature-block for the party — and remember that the
signature block must in turn be placed in the template content (via replace-template-content) inside a signature
container, <div data-signatures><span data-signature-block data-ref-uuid="..."></span></div>, before it will appear on any
document.
Inputs: reference (required), template_uuid (required), scope, address, +2 more. Returns: uuid, address, ref_uuid, reference, +3 more
create-template-signature-blockCreate template signature blockAInspect
Add a signature block to a template, bound either to one of its parties or to a single signatory.
Use this tool when:
The user wants a party to have a place to sign on documents created from the template
The user wants one specific signatory to have their own place to sign
You are building up a template and need to add signing slots
Pass exactly one of party_uuid or document_user_uuid. A party-bound block is signed by every signatory of that
party, whoever they turn out to be on a document created from the template; a user-bound block is signed only by
the signatory it names. Use get-template-info with include=["parties", "signatories"] to discover the available
parties and signatories and their UUIDs.
A user-bound block requires a signatory that belongs to a party, because the block records that party alongside the signatory.
IMPORTANT: this is only the first of two steps. Creating the signature block does NOT place it in the template
content, so on its own it will not appear on any document. To make it show up, reference the returned ref_uuid
in the template body (via replace-template-content) from a signature container, which houses one or more blocks:
<div data-signatures data-align="left"><span data-signature-block data-ref-uuid="<signature block ref_uuid>"></span></div>A block is always placed inside such a container, even when it is the only one.
Until it is referenced in the content the block exists but is rendered nowhere. The same two-step pattern applies
to dynamic fields (create-template-dynamic-field, then <span data-dynamic-field data-ref-uuid="...">).
style (regular or minimal) and scale (50–150, percent) are optional and default to "regular" and 100.
Inputs: template_uuid (required), scale, style, party_uuid, +1 more. Returns: uuid, scale, style, ref_uuid, +3 more
delete-account-document-typeDelete account document typeADestructiveIdempotentInspect
Remove a document type from the account, whether it is one of the account's own types or one of fynk's system document types.
Use this tool when:
The user explicitly asks to delete or remove a document type
document_type_uuid comes from list-account-document-types, and the user must have made clear which type they
mean - either by naming it, or because it is the type this conversation has been about. Ask which one they mean
when that is not clear, offering the candidates by name.
What removing a type does depends on what list-account-document-types reports for it. A type the account created
itself, without provided_by_fynk, is deleted for good. One of fynk's own types, with provided_by_fynk, is
deactivated instead: it disappears from the account but can be brought back as fynk provides it with
update-account-document-type and reactivate: true. A customised type loses its customisation either way, so
tell the user so before going ahead with one.
A type that documents or templates still use cannot be removed. The refusal says how many use it.
Inputs: document_type_uuid (required). Returns: deleted_document_type, deactivated_document_type
delete-account-metadataDelete account metadataADestructiveIdempotentInspect
Delete one of the account's own metadata field definitions.
Use this tool when:
The user explicitly asks to delete a metadata field
metadata_uuid comes from list-account-metadata, and the user must have made clear which field they mean - either
by naming it, or because it is the field this conversation has been about. Ask which one they mean when that is not
clear, offering the candidates by their display name.
Deleting a field also removes every value recorded for it, on every document and template in the account, and none
of that can be brought back. So deleting a field the account has recorded values for is refused until the user has
confirmed it: the refusal names the field and how many documents and templates hold a value for it - then repeat
the call with confirmed_deleting_values_in_use: true once they have confirmed it. Send that only in answer to
such a refusal, never as a matter of course.
Put the effect to the user in their own terms and ask before going ahead - "deleting Discount Rate would also remove the value 12 documents hold for it, shall I go ahead?" - rather than quoting the refusal back at them. Name the field you are about to delete either way, and never delete more than the user asked for.
Where the user wants a field to stop being filled in rather than to lose what it already holds, clear its prompt
with update-account-metadata instead: that takes the field out of fynk's AI analyses and leaves the values on their
documents alone.
Only the account's own fields can be deleted. fynk's system fields are provided to every account and cannot be
removed, system_reference fields included - use update-account-metadata to change how one of those is configured
for this account.
Deletion is refused while a bulk metadata operation is still running for the field.
Inputs: metadata_uuid (required), confirmed_deleting_values_in_use. Returns: removed_values, deleted_metadata
delete-account-tagDelete account tagADestructiveIdempotentInspect
Delete an existing tag.
Use this tool when:
The user explicitly asks to delete a tag
The specified tag is deleted and detached from documents and templates automatically.
Inputs: tag_uuid (required). Returns: deleted_tag
delete-account-teamDelete account teamADestructiveIdempotentInspect
Delete an existing team.
Use this tool when:
The user explicitly asks to delete a team
The specified team is deleted and detached from documents and templates automatically. Deletion will fail if the team is assigned as an approver on any template.
Inputs: team_uuid (required). Returns: deleted_team
delete-document-linkDelete document linkADestructiveIdempotentInspect
Removes a link between two documents. Both documents stay as they are; only the recorded relationship between them goes.
Use this tool when:
A link was made in error, e.g. the wrong contract was marked as the one renewed, or the relationship type was wrong (remove it, then create the right one with create-document-link)
The user says two documents no longer belong together
Take link_uuid from the linked_documents section of get-document-info for document_uuid.
Inputs: link_uuid (required), document_uuid (required). Returns: document, removed_link
delete-document-signatoryDelete document signatoryADestructiveIdempotentInspect
Remove a signatory from a document.
Use this tool when:
A signatory was added in error or should no longer sign and the document has not yet been signed by them
Identify the signatory to remove by document_uuid plus signatory_email. Removal may fail if the document's stage no longer permits signatory changes.
A signatory who is also an owner or collaborator (their role in the document_users section of get-document-info) keeps that access and only stops being a signatory. A signatory whose role is viewer is removed from the document entirely and loses access to it; tell the user this before removing them.
Inputs: document_uuid (required), signatory_email (required). Returns: removed_signatory
delete-document-userDelete document userADestructiveIdempotentInspect
Removes a user from a document entirely, revoking their access to it.
Use this tool when:
Someone should no longer have access to a document, e.g. a collaborator who has left the project
A user was added to a document by mistake
Identify the user by document_uuid plus email; the document_users section of get-document-info lists everyone with access.
This also removes the user as a signatory, if they are one. To only stop an owner or collaborator from signing, use delete-document-signatory instead. A document always keeps at least one owner, so removing its last owner is refused. Removing yourself ends your own access to the document.
Inputs: email (required), document_uuid (required). Returns: removed_document_user
delete-template-dynamic-fieldDelete template dynamic fieldADestructiveIdempotentInspect
Delete a dynamic field from a template.
Use this tool when:
The user explicitly asks to remove a dynamic field (a variable / fill-in field) from a template
A dynamic field cannot be deleted while it is referenced by a condition or a metadata value on the template; remove those references first. Use get-template-info with include=["dynamic_fields"] to discover the dynamic fields on a template and their UUIDs.
Inputs: template_uuid (required), dynamic_field_uuid (required). Returns: deleted_dynamic_field
delete-template-partyDelete template partyADestructiveIdempotentInspect
Delete a party from a template.
Use this tool when:
The user explicitly asks to remove a party from a template
A party cannot be deleted while it still has signature blocks bound to it. Delete those signature blocks first with delete-template-signature-block. Use get-template-info to discover the parties on a template and their UUIDs.
Inputs: party_uuid (required), template_uuid (required). Returns: deleted_party
delete-template-signature-blockDelete template signature blockADestructiveIdempotentInspect
Delete a signature block from a template.
Use this tool when:
The user explicitly asks to remove a signature block (a party's signing slot) from a template
The party the signature block belonged to remains on the template; only the signing slot is removed. Use get-template-info with include=["signature_blocks"] to discover the signature blocks on a template and their UUIDs.
Inputs: template_uuid (required), signature_block_uuid (required). Returns: deleted_signature_block
detach-account-users-from-teamDetach account users from teamADestructiveIdempotentInspect
Remove one or more account users from a team.
Use this tool when:
The user asks to remove people from a team
Only the account users listed in account_user_uuids are removed; other team members stay attached. Passing a user that is not on the team is a no-op.
Inputs: team_uuid (required), account_user_uuids (required). Returns: icon, name, uuid, _entity_type
duplicate-documentDuplicate documentAInspect
Create a new draft document as a copy of an existing document.
Use this tool when:
The user wants to duplicate or copy a document, e.g. to reuse a previous contract as the starting point for a new one with a different counterparty
A new agreement should start from an existing document rather than from a template
The copy takes over the source document's content, parties, signatories, dynamic field values, metadata values, attachments, teams, tags, document type and template link. The new document always starts in the draft stage, whatever stage the source document is in, and a source document that is in signing or done is copied with its content as it was before signing started.
Change what differs in the new document afterwards with the update-* tools, e.g. update-document-party for the counterparty or update-document-dynamic-fields for amounts and dates.
Inputs: document_uuid (required), name. Returns: url, name, tags, uuid, +25 more
duplicate-templateDuplicate templateAInspect
Create a new template as a copy of an existing template.
Use this tool when:
The user wants to duplicate or copy a template, e.g. to build a variant of an existing contract for another jurisdiction or business line
A new template should start from an existing one rather than from scratch
The copy takes over the source template's content, parties, signatories, signature blocks, dynamic fields, conditions, metadata values, attachments, teams, tags, document type, locale and published state. Documents already created from the source template stay linked to the source.
Change what differs in the new template afterwards with the template tools, e.g. update-template-party, update-template-dynamic-field or replace-template-content. replace-template-content only writes a draft, so a copy of a published template has to be unpublished with set-template-published-state before its body can be rewritten.
Inputs: template_uuid (required), name. Returns: url, name, tags, uuid, +19 more
get-account-infoGet account infoARead-onlyIdempotentInspect
Get information about the current fynk account.
Use this tool when:
You need details about the active account (e.g. default document locale, signature settings) before tailoring a response
You are tailoring guidance to the account's business, and need what it reported about itself when signing up (industry, company size, the department the person who signed up works in)
For information about the current user, use get-user-info
Inputs: no named parameters. Returns: name, locale, status, created_at, +11 more
get-document-infoGet document infoARead-onlyIdempotentInspect
Gets information about a document.
Use this tool when:
You have a document's UUID and want to know more details about it. e.g. who is signing it, what values its dynamic fields or metadata have, etc
You need the documents linked to a document, e.g. the contract it renews or the amendments made to it (include linked_documents)
Called with no include parameter, returns the document's parties, teams, details, signatories, signing settings and workflow state. Use include to name the sections you want instead - among them dynamic_fields, conditions, linked_documents, metadata_values, signature_blocks, summary_text, tags, timestamps, attachments, stored_files, document_users and ai_analysis - and the response carries exactly those, so a question about one aspect of a document costs one section rather than the whole document.
The document_users section lists everyone with access to the document, signatories included, each with their access level (owner, collaborator or viewer) and whether they have been invited, plus the text fynk adds to invitation emails to people outside the account. Use it to answer questions like "who has access to this document?" or "has Emily been invited yet?".
The stored_files section holds what the app shows as "Internal file storage", separate from attachments: call them that when talking to the user, never "stored files".
The ai_analysis section reports the state of the AI analysis that creating a document from a PDF starts in the background. Request it after creating a document from a PDF and before relying on the document's parties, metadata or summary: until its status is applied, they do not carry the analysis results.
This tool covers a single document. Whenever possible avoid calling it once per document to gather the same information about several documents: list-documents returns parties, teams, tags and timestamps for a whole list via its include parameter, and specific metadata values for a whole list via its include_metadata parameter. It can be restricted to the UUIDs you already have, to get exactly the documents you are interested in.
The default response lists both the document's parties (the contracting entities, frequently organizations) and its signatories (the individual people who sign). These are distinct: a person often signs on behalf of a party (e.g. a business) without appearing as a party, so consider the signatories — not just the parties — when answering whether a specific named person is involved in or signs a document.
The dynamic_field_visibility argument narrows the dynamic_fields section to the fields that appear in the document itself, or to the ones that do not. A field belonging to a document is not necessarily written into it: fields get added and then never placed in the text, or the passage that referred to one gets rewritten, leaving a value no reader ever sees. Not every not_visible field is idle, though. Some exist only to drive a condition deciding which clauses the document shows, so they shape the contract without appearing in it (you can use the "conditions" include option to see which fields drive which conditions). Others sit inside a passage that a currently inactive condition removes, so they would appear if that condition flipped. Use "visible" when the question is about what the contract currently says. dynamic_field_visibility has no effect unless dynamic_fields is among the returned sections.
The workflow_state object - in the response by default, and requestable via include alongside other sections - describes what can currently be done with the document: whether the signing process can be started at all, which stages the document can be moved on to and everything standing in the way of each of them (stage_transitions, whose blockers say why), whether the requesting user can start signing, and — when a checkpoint blocks progress — who still needs to approve. Use it to answer questions like "why can't I sign this yet?", "what is blocking this document?" or "who still has to sign?", answering with the full list rather than one problem at a time. It is technical state, not display content: relay it to the user as natural-language prose and never echo raw field names or snake_case values.
Inputs: document_uuid (required), include, dynamic_field_visibility. Returns: url, name, tags, uuid, +27 more
get-document-textGet document textARead-onlyIdempotentInspect
Reads a document's plain text in character-based chunks.
Use this tool when:
You need to read a full document (e.g., to summarize, review, or compare wording).
You want to read more context around a match found by search-document-text.
For a specific clause or term, call search-document-text first—it is much cheaper than reading the whole document. Then pass an offset slightly before the match (e.g., 1,000 characters earlier, or 0 if the match is nearer the start) and a max_chars of a few thousand.
Works for all documents: authored in fynk, signed, or uploaded as a PDF, whose text comes from OCR with one line per paragraph.
Chunking & pagination:
Chunks are character slices and do not correspond to printed or PDF pages. Never cite page numbers; quote the passage or name its clause instead.
Each response includes total_chars, the returned range (offset to end_offset), and next_offset if more text remains. Pass next_offset as offset to continue.
Chunks break at paragraph or word boundaries, so a response may be shorter than max_chars.
Check total_chars on the first chunk before paging through the rest; only read an entire document when the task requires it.
Consistency & errors:
When paging or following up on search-document-text, pass the previous text_hash. If the document changed in between, the call fails instead of returning mismatched text; start again without text_hash: search again if the offset came from a search, otherwise read from offset 0.
If there is no text to read yet (text recognition of a PDF still running, or a new document's text not yet prepared) or none at all (password-protected PDF, unreadable scan), the call fails with a message giving the cause and whether retrying later can help.
The text follows an edit within a few seconds, so right after changing a document it may still show the previous wording.
Inputs: document_uuid (required), offset, max_chars, text_hash. Returns: text, offset, text_hash, end_offset, +2 more
get-latest-document-pdf-urlGet latest document PDF URLARead-onlyIdempotentInspect
Get a download URL for the latest revision of a document as a PDF.
Use this tool when:
The user wants to download the current state of a document as a PDF
You need a PDF link to share with the user for review
Returns the URL as plain text. The URL is short-lived; fetch a new one if it expires before download.
Inputs: document_uuid (required).
get-template-htmlGet template HTMLARead-onlyIdempotentInspect
Returns the content of a template serialised as HTML.
Use this tool when:
You want to read or navigate the content of a template
You want to understand the structure of a template before editing it
The HTML uses semantic data-* attributes for fynk-specific nodes. Addressable nodes (paragraphs, headings, etc.) carry a data-uuid attribute that can be used to target them in subsequent operations.
Numbered clauses are ordered list nodes,
<div data-list data-kind="ordered">, holding the clause text and any nested sub-clauses. Their computed number is shown read-only indata-number(e.g. "1.1."); numbers are never part of the text.<span data-section-ref data-uuid="...">is a cross-reference to the list node with that data-uuid, rendering its computed number.<span data-dynamic-field data-ref-uuid="...">is a dynamic field (fill-in placeholder).<span data-party data-ref-uuid="..." data-format="...">renders a party's name, reference name or address, as data-format says.<div data-signatures>is a signature container, holding one<span data-signature-block data-ref-uuid="...">per signature block.Images, dynamic tables and signing vote blocks appear as empty reference tags; their contents are held outside the HTML.
Text formatting is stated inline as style. Block alignment is stated as
data-text-align; a block's margins, indent and line height are not in the HTML.
get-template-info resolves the ref_uuids of dynamic fields, parties and signature blocks.
Only available for templates with a prosemirror_data content type. Returns an error for PDF templates.
For the full format, e.g. when interpreting clause numbering or preparing a rewrite, read the fynk://articles/working-with-template-content resource.
Inputs: template_uuid (required). Returns: html
get-template-infoGet template infoARead-onlyIdempotentInspect
Gets information about a template.
Use this tool when:
You have a template's UUID and want to know more details about it.
e.g. when you want to create a document from the template and need to know which parties, dynamic fields, etc are available in the template.
Called with no include parameter, returns the template's identity, its parties, its teams, its description and its signing settings. Use include to name the sections you want instead - among them signatories, signature_blocks, dynamic_fields, conditions, metadata_values, tags, timestamps, attachments and stored_files - and the response carries exactly those, so a question about one aspect of a template costs one section rather than the whole template.
The stored_files section holds what the app shows as "Internal file storage", separate from attachments: call them that when talking to the user, never "stored files".
Inputs: template_uuid (required), include. Returns: url, name, tags, uuid, +19 more
get-user-infoGet user infoARead-onlyIdempotentInspect
Get information about the current user.
Use this tool when:
You need to know who the current user is (email, locale, roles) before tailoring a response
For information about the current fynk account, use get-account-info
Inputs: no named parameters. Returns: email, roles, locale, _entity_type, +2 more
invite-account-usersInvite account usersADestructiveInspect
Invite one or more people by email to join the current account as account users, or reactivate account users who were removed from the account, without sending an email.
Use this tool when:
The user asks to invite colleagues, add new users or give people access to fynk
The user asks to resend an invitation to someone who has not accepted it yet, including one that has expired or was declined
list-account-users with include ["invitations"] lists the invitations that have not been accepted or canceled, so check it when the user asks to resend invitations without naming the addresses.
Batch invitations into one call for up to 25 people: inviting five colleagues is one call with five entries. The limit is 25 invitation entries per minute per calling user, across calls and including invitations the user sends from fynk's account settings. For more than 25 people, split the list into batches and wait for the rate limit to reset between batches. Ask the user which role to give when they have not said so.
Resending an invitation also replaces its role and team assignment with the supplied values. Reactivation likewise replaces the previously removed account user's role and team membership. Omitting team_uuids or passing [] assigns no teams, clearing any previous assignment on resend or reactivation.
Every entry is validated before processing begins, so one validation failure rejects the whole call and nothing is sent. An address that already belongs to an active account user is normally rejected during validation, and so is any invitation once the account has as many users as its plan includes.
An invitation takes a seat only when it is accepted, so a call can send more invitations than the account has free seats; once the seats are taken, the remaining people cannot join until more seats are bought or someone is removed. Reactivating a removed account user takes a seat straight away, and a call reactivating more of them than there are free seats is rejected. list-account-users with include ["invitations"] returns the number of free seats as free_seats; when you invite more people than that, tell the user that not all of them will be able to join yet.
The response lists one outcome per input entry, in input order: a sentence saying what was done for that address, e.g. "The existing account user was reactivated with the given role and teams. No email was sent." Tell the user what it says, since it is not always that an invitation was sent.
Inputs: invitations (required). Returns: invitations
join-documentJoin documentADestructiveIdempotentInspect
Joins a document as a collaborator. If the current user is already an owner or collaborator on the document, they have already joined it: the tool returns their existing document user unchanged.
Use this tool when:
You need to make changes to a document, but do not have a 'document user' in the document yet.
You need to make changes to a document, but your existing 'document user' does not yet have permission to change it.
To join every document matching some conditions, find the ones you have not joined yet with list-documents; its description shows how to leave out the documents you have already joined.
Inputs: document_uuid (required). Returns: name, role, uuid, email, +4 more
list-account-document-typesList account document typesARead-onlyIdempotentInspect
Get a list of the document types available in the account (fynk's system-provided types plus any custom types defined for the account).
Use this tool when:
You need a document type's UUID to filter list-documents by document type
You want to know which document types exist before referring to them by name in a response
You need to know what a document type covers, or how fynk's AI analyses recognise it (include=["details"])
Each document type is returned as its uuid and name by default. Request include=["details"] for its description and the prompt the AI analyses use to recognise it. Which metadata fields a document type has is reported from the other side, by list-account-metadata: each field there names the document types it is relevant for.
By default, only the types the account currently offers are returned. Removing one of fynk's system types deactivates it rather than deleting it: set filter_state to "deactivated" to list those types (e.g. when the user wants to reactivate one) or to "all" to list them alongside the rest.
Inputs: include, filter_state. Returns: document_types
list-account-metadataList account metadataARead-onlyIdempotentInspect
Get a list of the metadata fields available in the account to be associated with documents & templates.
Use this tool when:
You need to know which metadata names exist before referencing them in get-document-info / list-documents
You want to know the type, allowed values, or other configuration of an account's metadata fields
Inputs: no named parameters. Returns: metadata
list-account-partiesList account partiesARead-onlyIdempotentInspect
Get a list of the account parties saved on your account.
Account parties are the account's own entities — the user's company, subsidiaries, group companies or parent company. Phrasing like "our", "we", "us", "my company" or "our subsidiary" refers to an account party. These are the internal side of an agreement, as opposed to external parties (the counterparties on the other side), which you find with search-external-parties.
Use this tool when:
You need to know which pre-defined parties are available for use in documents or templates
You need to provide an account_party_uuid (use a uuid from this tool's response)
You need an account party's UUID to filter list-documents by account party — e.g. to find documents involving "our" company or one of its subsidiaries
If the entity is one of the account's own companies and is missing, use create-account-parties when available and needed for the user's request. If it is a counterparty, use search-external-parties. Absence from this list alone does not determine whether an entity is internal or external.
Inputs: no named parameters. Returns: account_parties
list-account-playbooksList account playbooksARead-onlyIdempotentInspect
Get a list of the playbooks defined in the account.
Use this tool when:
You need a playbook's UUID to refer to it
You want to know which playbooks exist before referring to them by name in a response
Playbooks allow automating the review of documents based on predefined criteria.
Inputs: no named parameters. Returns: playbooks
list-account-tagsList account tagsARead-onlyIdempotentInspect
Get a list of the tags available in the account to be associated with documents & templates.
Use this tool when:
You need a tag's UUID to filter list-documents / list-templates by tag
You want to know which tags exist before referring to them by name in a response
Inputs: no named parameters. Returns: tags
list-account-team-membersList account team membersARead-onlyIdempotentInspect
List the members (account users) of a given team.
Use this tool when:
You need the account-user uuids of a team's members in order to add them to another team
The user asks who is in a team
You are merging or restructuring teams and need to know the current membership
Returns each member's uuid, first_name, last_name, and email. Pass the uuids to attach-account-users-to-team to add the same people to another team. Suspended users are not included.
Inputs: team_uuid (required). Returns: members
list-account-teamsList account teamsARead-onlyIdempotentInspect
Get a list of the teams available in the account.
Use this tool when:
You need a team's UUID to filter list-documents by team
You want to know which teams exist before referring to them by name in a response
Inputs: no named parameters. Returns: teams
list-account-usersList account usersARead-onlyIdempotentInspect
Get a list of the account users (the people who can log in to this fynk account), and optionally the invitations to join it that are still open.
Use this tool when:
You need an account user's uuid, e.g. to add them to a team via attach-account-users-to-team
The user refers to a colleague by name and you need to match them to an account user
The user asks who is part of the account
The user asks who has been invited, who has not accepted yet, or whose invitation has expired or was declined: pass include ["invitations"]
Returns each account user's uuid, first_name, last_name, and email. Only the account users the current user is allowed to see are returned: most users see everyone in the account, but 'limited manager's only see themselves and the members of their own teams. So this list is not necessarily the full set of people in the account - avoid presenting it as complete.
The invitations are those not yet accepted or canceled, whether pending, expired or declined; someone who accepted is an account user instead. Only account users who may invite people can see them, and asking for them without that permission refuses the call. Alongside them comes free_seats, how many more people can join under the account's plan.
Inputs: include. Returns: free_seats, invitations, account_users
list-documentsList documentsARead-onlyIdempotentInspect
Get a paginated list of the documents available to the current user.
Use this tool when:
You need to find a document_uuid to use as input for another tool
You need to know which documents the current user has access to, or which match some conditions
You want to count documents matching some conditions (read
total)You need the same information about several documents: use include and include_metadata rather than calling get-document-info once per document
Without filter_expression, every document the user can access is returned, archived ones included, with the most recently updated first. For ordinary requests, add archived_at is null as described below. Each document is returned as a compact summary; use include to request additional sections (parties, teams, tags, details, signing_settings, timestamps) and include_metadata to return named metadata values for every document.
total counts all matching documents, but documents and their metadata are returned only for the current page. Fetch the remaining pages while current_page < max_page when you need the complete set, including when calculating totals from metadata such as contract value.
Discover before writing an expression
Call this tool with mode="describe_fields" before writing an expression that uses metadata (md.*), option values, or a field you are unsure of: it lists every field documents can be filtered on in this account, with its operators and allowed values, including the account's metadata fields. Metadata names and select options differ per account, so never guess them.
Accounts classify their documents using structures they define themselves, and the words a user puts in a question are usually labels their account already uses. "our customers", "suppliers", "key accounts", "renewals", "EMEA" and "high value" sound like descriptions of content but are far more likely to be a tag, a document type, or a metadata field or option. These lookups are cheap and return small, complete lists, so look rather than guess:
list-account-tags: uuids for
tagslist-account-document-types: uuids for
document_typelist-account-teams: uuids for
teamslist-account-parties: the account's own entities, for
account_partiessearch-external-parties: counterparties, for
external_partiessearch-document-users: people, for
document_users/signatorieslist-templates, search-automations, search-imports: uuids for
template,automation,import
When a question groups documents into a category that is not represented by a document type, check list-account-tags before treating that category as free text.
Decompose the request, then map every part to a condition
Split the request into its conditions, find the structured field each one corresponds to, and combine them all in one expression. "what logo usage rights do we have for our largest customers?" is three conditions: "customers" (likely a tag or document type), "largest" (a currency metadata field: a range condition, or sort_by that field) and "logo usage rights" (possibly a metadata field). Answering with just one of them silently answers a different question.
The search argument is a fuzzy full-text search over document name, content and other indexed fields. Use it only for genuinely free-text conditions; for a document name use name contains "...", and never use search for something a field covers. Loose or topical phrasing such as "anything to do with Acme" or "documents about product variant Alpha" does not make a condition free text: check for a structured field or value first. If search returns no results, check whether the term is a tag, document type, metadata value or party before concluding nothing matches.
FQL syntax
and, or, not, parentheses; =, !=, <, <=, >, >=; field in ("a", "b"); text contains / starts with / ends with (literal, case-insensitive); collections tags contains "<uuid>", contains any (...), contains all (...); is null, is not null, is empty, is not empty; object collections exists(collection, predicate) and all(collection, predicate); start_of("week"|"month"|"quarter"|"year"[, offset]), end_of(...) (same arguments), today(), days_ago(N), days_from_now(N), now(), current_account_user(). Metadata fields are md.<name>, or md["<name>"] when the name contains anything other than ASCII letters, digits and underscores; use field names exactly as mode="describe_fields" returns them, money components md.<name>.amount, .currency, .interval. Use double-quoted strings. Dates and timestamps are double-quoted ISO 8601 strings; a date-only operand, today(), days_ago(N), days_from_now(N) or end_of(...) (the period's last day) against a timestamp field covers that whole calendar day, exactly like the quoted date (so created_at = today() matches anything created today, created_at = days_ago(1) anything created yesterday, and created_at >= days_ago(7) anything created since the start of the day 7 days ago), while start_of(...) resolves to the period's first midnight. The optional signed offset of start_of and end_of counts whole periods from the current one: start_of("month", 1) is the start of next month, end_of("quarter", -1) the last day of last quarter. Duration operands are double-quoted ISO durations, e.g. md.<field> = "P10M" for ten months. Not every operator applies to every field: the operators mode="describe_fields" lists for a field are the ones it accepts.
FQL examples
Single conditions
Active documents:
archived_at is nullArchived documents:
archived_at is not nullDraft documents:
stage = "draft"Name contains NDA:
name contains "NDA"German documents across regional locales:
locale starts with "de"A specific document type:
document_type = "{document_type_uuid}"
Tags, teams and missing values
Either tag:
tags contains any ("{tag_a_uuid}", "{tag_b_uuid}")Both tags:
tags contains all ("{tag_a_uuid}", "{tag_b_uuid}")Neither tag:
not (tags contains any ("{tag_a_uuid}", "{tag_b_uuid}"))Assigned to a team:
teams contains "{team_uuid}"Unassigned to any team:
teams is emptyNo language set:
locale is nullA language is set:
locale is not null
Metadata
Use the account's discovered field names and option values in these examples.
A select value (with a metadata name requiring bracket notation):
md["tätigkeitsfamilie_it_kv"] = "ZT"An amount of at least 10,000:
md.contract_value.amount >= 10000Currency is EUR:
md.contract_value.currency = "EUR"A duration of ten months:
md.<field> = "P10M"Expiring on a specific date (date metadata):
md.expiration_date = "2026-11-10"Signed at any time on a specific day (system timestamp metadata):
md.signed_date = "2026-11-10". A date-only operand matches the whole calendar day in the query timezone.Signed at or after a specific instant:
md.signed_date >= "2026-11-10T14:30:00+01:00". Timestamp literals include the time and an explicit UTC offset (orZ).Expired before today:
md.expiration_date < today()Expiring today:
md.expiration_date = today()Expiring tomorrow:
md.expiration_date = days_from_now(1)Expires after today (expiration date set):
md.expiration_date > today()Expiring within the next 30 days, today included:
md.expiration_date >= today() and md.expiration_date <= days_from_now(30)Expiring this month:
md.expiration_date >= start_of("month") and md.expiration_date <= end_of("month")Expiring next quarter:
md.expiration_date >= start_of("quarter", 1) and md.expiration_date <= end_of("quarter", 1)Not expired before today, including documents expiring today or without an expiration date:
not (md.expiration_date < today())
Combined conditions
Active documents in draft or review with NDA in their name:
archived_at is null and stage in ("draft", "review") and name contains "NDA"Assigned to a specific team or unassigned:
teams contains "{team_uuid}" or teams is emptyA specific document type with a contract value of at least EUR 10,000:
document_type = "{document_type_uuid}" and md.contract_value.amount >= 10000 and md.contract_value.currency = "EUR"Involving a named counterparty:
exists(external_parties, entity_name = "Acme GmbH")Involving a named person:
exists(document_users, first_name = "Jane" and last_name = "Doe")Involving a person by email:
exists(document_users, email = "jane@example.com")Created last quarter:
created_at >= start_of("quarter", -1) and created_at <= end_of("quarter", -1)Created in the last 30 days or with an open discussion:
created_at >= days_ago(30) or exists(discussions, resolved_at is null)
Workflow recipes
Joined by the current user:
exists(document_users, account_user = current_account_user() and roles contains any ("owner", "collaborator")). Wrap innot (...)for documents not joined yet, e.g. before joining several with join-document. After joining a page, request page 1 again.AI analysis applied:
exists(ai_analyses, status = "applied")matches any of a document's analyses;exists(ai_analyses, latest = true and status = "applied")matches only its latest, the one the app shows the status of. Useai_analyses is emptyfor documents never analysed.Awaiting the current user's signature:
archived_at is null and stage = "signing" and exists(signatories, account_user = current_account_user() and signing_complete = false)Fetch information for known documents:
uuid in ("{uuid_a}", "{uuid_b}"). Combine with include or include_metadata; UUIDs that do not exist or are not accessible simply do not match. Set per_page to cover the requested UUIDs, up to 50; it defaults to 10 even for a UUID list. Fetch remaining pages when current_page < max_page.
Parties vs. people
A document's parties (the contracting entities, frequently organizations) are distinct from its signatories and other document users (the individual people on it). To find documents involving a named person in any role, use document_users; use signatories when the condition specifically concerns that person as a signer. A party field does not match the individual people acting on its behalf. account_parties are the account's OWN entities ("our company", "our subsidiary"); external_parties are the counterparties. When it is unclear which kind a named entity is, or one lookup returns nothing, check the other kind before concluding there are no matching documents.
Active vs. archived documents
The app user interface hides archived documents by default. Unless the user asks for archived documents, historical records, or explicitly includes archived documents in a complete inventory, add archived_at is null. This also applies to ordinary list and count requests; "all" alone does not imply including archived documents.
No archive condition is applied automatically. Use archived_at is not null for archived documents only, or omit the archive condition to include both. Archiving is not deletion: if an active-only search finds nothing, check archived documents before concluding that no matching documents exist.
Whenever results include archived documents, request include=["timestamps"] and clearly identify archived items using archived_at. For counts or aggregates, explicitly state that archived documents are included.
Inputs: mode (required), page, search, include, +5 more. Returns: total, fields, max_page, documents, +2 more
list-templatesList templatesARead-onlyIdempotentInspect
Get a paginated list of the templates available to the current user.
Use this tool when:
You need to know which templates are available for creating documents from
You need to know which templates the user may edit in fynk. These will have a "url" field pointing to the edit page. No "url" means no permission to edit
You need to find templates matching some conditions, e.g. by name, tag, team, document type or metadata
You want to count templates matching some conditions (read
total)
Without filter_expression, every template the user can access is returned, archived ones included, with the most recently updated first. For ordinary requests, add archived_at is null as described below. Each template is returned as a compact summary; use include to request additional sections (parties, teams, tags, details, signing_settings, timestamps), and prefer get-template-info for full information about a single template.
total counts all matching templates, but templates are returned only for the current page. Fetch the remaining pages while current_page < max_page when you need the complete set.
Discover before writing an expression
Call this tool with mode="describe_fields" before writing an expression that uses metadata (md.*), option values, or a field you are unsure of: it lists every field templates can be filtered on in this account, with its operators and allowed values. Metadata names and select options differ per account, so never guess them. Find uuids for tags, teams and document_type with list-account-tags, list-account-teams and list-account-document-types.
Accounts use their own tags, document types and metadata to classify templates. When a question groups templates into a category that is not represented by a document type, check list-account-tags before treating that category as text in the template name.
Split the request into its conditions and map each one to a structured field. "German customer NDA templates" has three conditions: language (locale starts with "de"), "customer" (likely a tag or metadata value) and "NDA" (look up the document type). Resolve every condition and combine them in the expression; use name contains for a condition that actually concerns the template name.
FQL syntax
and, or, not, parentheses; =, !=, <, <=, >, >=; field in ("a", "b"); text contains / starts with / ends with (literal, case-insensitive); collections tags contains "<uuid>", contains any (...), contains all (...); is null, is not null, is empty, is not empty; exists(collection, predicate) and all(collection, predicate); start_of("week"|"month"|"quarter"|"year"[, offset]), end_of(...) (same arguments), today(), days_ago(N), days_from_now(N), now(). Metadata fields are md.<name>, or md["<name>"] when the name contains anything other than ASCII letters, digits and underscores; use field names exactly as mode="describe_fields" returns them. Money fields have .amount and .currency components, plus .interval for recurring money, e.g. md.contract_value.amount and md.contract_value.currency. Use double-quoted strings. Dates and timestamps are double-quoted ISO 8601 strings; a date-only operand, today(), days_ago(N), days_from_now(N) or end_of(...) (the period's last day) against a timestamp field covers that whole calendar day, exactly like the quoted date (so created_at = today() matches anything created today, created_at = days_ago(1) anything created yesterday, and created_at >= days_ago(7) anything created since the start of the day 7 days ago), while start_of(...) resolves to the period's first midnight. The optional signed offset of start_of and end_of counts whole periods from the current one: start_of("month", 1) is the start of next month, end_of("quarter", -1) the last day of last quarter. Duration operands are double-quoted ISO durations, e.g. md.<field> = "P10M" for ten months. Not every operator applies to every field: the operators mode="describe_fields" lists for a field are the ones it accepts.
FQL examples
Single conditions
Active templates:
archived_at is nullArchived templates:
archived_at is not nullDraft templates:
published = falsePublished templates:
published = trueName contains NDA:
name contains "NDA"German templates across regional locales:
locale starts with "de"A specific document type:
document_type = "{document_type_uuid}"
Tags, teams and missing values
Either tag:
tags contains any ("{tag_a_uuid}", "{tag_b_uuid}")Both tags:
tags contains all ("{tag_a_uuid}", "{tag_b_uuid}")Neither tag:
not (tags contains any ("{tag_a_uuid}", "{tag_b_uuid}"))Assigned to a team:
teams contains "{team_uuid}"Unassigned to any team:
teams is empty
Metadata
Use the account's discovered field names and option values in these examples.
A select value (with a metadata name requiring bracket notation):
md["tätigkeitsfamilie_it_kv"] = "ZT"An amount of at least 10,000:
md.contract_value.amount >= 10000Currency is EUR:
md.contract_value.currency = "EUR"A duration of ten months:
md.<field> = "P10M"
Combined conditions
Active, published templates with NDA in their name:
archived_at is null and published = true and name contains "NDA"Active German templates of a specific document type:
archived_at is null and locale starts with "de" and document_type = "{document_type_uuid}"Assigned to a specific team or unassigned:
teams contains "{team_uuid}" or teams is emptyA contract value of at least EUR 10,000:
md.contract_value.amount >= 10000 and md.contract_value.currency = "EUR"
Active vs. archived, published vs. draft
The app user interface hides archived templates by default. Unless the user asks for archived templates, historical records, or explicitly includes archived templates in a complete inventory, add archived_at is null. This also applies to ordinary list and count requests; "all" alone does not imply including archived templates.
No archive condition is applied automatically. Use archived_at is not null for archived templates only, or omit the archive condition to include both. Archiving is not deletion: if an active-only search finds nothing, check archived templates before concluding that no matching templates exist.
Whenever results include archived templates, request include=["timestamps"] and clearly identify archived items using archived_at. For counts or aggregates, explicitly state that archived templates are included.
Drafts are included unless the expression excludes them; users who may only see published templates only ever get active, published ones. When picking a template to create a new document from, use archived_at is null and published = true: an archived template is one the account has retired from use.
Inputs: mode (required), page, include, sort_by, +3 more. Returns: total, fields, max_page, templates, +2 more
move-document-to-done-stageMove document to done stageADestructiveIdempotentInspect
Moves a document to the done stage.
Use this tool when:
The document's current stage is one of: draft, approved_draft, review, approved_review
The document will NOT be signed through fynk (documents signed through fynk automatically move to done when fully signed)
This stage transition may be blocked by checkpoints on the document, or by unresolved preconditions (unresolved proposals, mandatory dynamic fields without values, active editor sessions or working copies, active signing phases, etc.). A refusal here reports just the first problem it runs into; call get-document-info first and read workflow_state.stage_transitions.done.blockers to see everything that is in the way at once.
Inputs: document_uuid (required). Returns: url, name, uuid, stage, +3 more
move-document-to-review-stageMove document to review stageADestructiveIdempotentInspect
Moves a document to the review stage.
Use this tool when:
The document's current stage is one of: draft, approved_draft, approved_review, signing or done
You want to share the document for review before moving to a later stage
This stage transition may be blocked by checkpoints on the document, or - when reverting a document that was not created from a template - by an account that only allows signing to start from a template. A refusal here reports just the first problem it runs into; call get-document-info first and read workflow_state.stage_transitions.review.blockers to see everything that is in the way at once.
If the document is in the process of being signed, or has been signed already, moving back to review will cancel the current signing process and invalidate any existing signatures.
Inputs: document_uuid (required). Returns: url, name, uuid, stage, +3 more
move-document-to-signing-stageMove document to signing stageADestructiveIdempotentInspect
Moves a document to the signing stage and invites signatories to sign.
Use this tool when:
The document's current stage is one of: draft, approved_draft, review, approved_review
You want to start the signing process
This stage transition may be blocked by checkpoints on the document, or by unresolved preconditions (missing signature blocks, unresolved proposals, mandatory dynamic fields without values, active editor sessions or working copies, etc.). A refusal here reports just the first problem it runs into; call get-document-info first and read workflow_state.stage_transitions.signing.blockers to see everything that is in the way at once.
If the document has a signature_type set, the signature_type argument - if provided - must match it; otherwise the document's signature_type will be used. If the document has no signature_type, the one provided here (or the account default) will be used.
A qes or aes_eid signature_type requires sequential_signing=true. aes_eid is only available when the account has enabled AES (eID) in its settings.
Inputs: document_uuid (required), message, signature_type, sequential_signing. Returns: url, name, uuid, stage, +3 more
replace-template-contentReplace template contentADestructiveInspect
Replaces the ENTIRE content of a draft template from an HTML string in a single destructive write.
Use this tool ONLY when:
You are authoring the initial content of an empty, freshly created template (e.g. after create-template-from-scratch), or
The user has explicitly asked to discard the current content and rewrite the whole template.
This is the right tool for laying down a large body of content at once (e.g. a whole NDA). It writes the whole template body in one go; there is no way to edit an individual node.
Do NOT use this tool to edit a template that already has content. Overwriting throws the existing content away. If the template already has content, this tool refuses to run unless you pass replace_existing_content=true to confirm the destructive overwrite. Read the current content with get-template-html first, so anything worth keeping can be carried over into the new HTML.
Overwriting an existing body cannot be undone, so ask the user to confirm it before passing replace_existing_content=true.
Only allowed on unpublished (draft) templates with a prosemirror_data content type.
Create the template's parties, signature blocks and dynamic fields before this call, so the body can reference their existing records by ref_uuid. Key HTML forms:
Dynamic field:
Party:
Signatures:
Numbered clause: Clause text
Cross-reference: (set a matching UUID you generate as data-uuid on the target ordered list node in the same call)
Clause numbers are always computed by fynk: text starting with a clause marker ("1.", "(a)", "§ 5") is rejected. Headings go up to . No two nodes may share a data-uuid (except , which repeats the target clause's uuid). Copy images, dynamic tables and signing vote blocks over exactly as get-template-html returned them; leaving one out removes it.
The response carries a warnings list alongside the stored HTML: what the template still lacks to
work as a template. The write succeeded either way, but act on them before reporting the template as
finished.
Read the fynk://articles/working-with-template-content resource before your first call writing template content in a conversation: it covers nested and non-decimal clause numbering (1.1, (a), I., § 1), numbered sections vs headings, multi-paragraph clauses and alignment.
Inputs: html (required), template_uuid (required), replace_existing_content. Returns: html, warnings
restore-documentRestore documentADestructiveIdempotentInspect
Restores an archived document, making it show up in the account's default document lists again.
Use this tool when:
An archived document should become actively used again
The user asks to restore or unarchive a document
The document must currently be archived. To find archived documents, filter list-documents for archived documents.
Inputs: document_uuid (required). Returns: url, name, uuid, stage, +5 more
search-automationsSearch automationsARead-onlyIdempotentInspect
Search the account's automations by name.
Use this tool when:
You need an automation's UUID to filter list-documents by automation
You want to find automations matching a search term
Returns automations whose name matches the query, most recently created first. Results are capped, so narrow the query if you don't find what you're looking for.
Inputs: query (required), limit. Returns: automations
search-document-textSearch document textARead-onlyIdempotentInspect
Searches a document's text for literal terms or regular expressions and returns each match with surrounding text.
Use this tool when:
Finding a specific clause or term (e.g., notice period, liability cap, governing law).
Checking whether and where a document mentions something.
Prefer this over get-document-text when you only need specific passages. If a snippet is too short, search again with a larger context_chars (up to 2,000); for more than that, call get-document-text with offset as many characters before the match as you need (or 0 if the match is nearer the start) and max_chars about twice that, rather than reading the whole document.
Matching behavior:
Queries are literal text by default (no escaping needed for ".", "(", "$", "[").
Ignores case unless case_sensitive is true (e.g., to tell the defined term "Agreement" from "agreement").
Whitespace in a literal query matches any run of whitespace, including line breaks.
Matches inside longer words ("term" matches "termination" and "determined"); use regex mode with \b for whole words.
Pass several queries in one call for synonyms or translations (e.g., "Kündigung", "termination"); each match names the query it matched.
Returns the earliest matches in document order, up to max_results. If total_matches exceeds the number returned, narrow the query or raise max_results.
Regex mode (regex: true):
Each query is a PCRE regular expression, used as written, without delimiters. Escape special characters to match them literally ($, ., ().
Use it for whole words (\btermination\b), amounts (€\s?[\d.,]+), dates (\d{1,2}.\d{1,2}.\d{4}) and clause references (§\s?\d+).
Write \s+ between words: a space matches only a space, and the text breaks lines within sentences, especially in PDFs.
A pattern must match at least one character. Avoid nested repetition such as (\w+\s?)+, which can take too long and fail.
Handoff & errors:
Offsets are character indices into the same text get-document-text returns. Pass the returned text_hash to get-document-text to make sure the text hasn't changed in between.
If there is no text to search yet (text recognition of a PDF still running, or a new document's text not yet prepared) or none at all (password-protected PDF, unreadable scan), the call fails with a message giving the cause and whether retrying later can help.
The text follows an edit within a few seconds, so right after changing a document it may still show the previous wording.
Inputs: queries (required), document_uuid (required), regex, max_results, +2 more. Returns: matches, text_hash, total_chars, total_matches
search-document-usersSearch document usersARead-onlyIdempotentInspect
Search the account's document users (individual people who have access to documents) by name or email.
Use this tool when:
You need a person's name to filter list-documents by document user
You want to find document users matching a search term
Searches first name, last name and email. A two-word query is matched as firstname + lastname. Results are capped and de-duplicated by name, so narrow the query if you don't find who you're looking for.
Inputs: query (required), limit. Returns: document_users
search-external-partiesSearch external partiesARead-onlyIdempotentInspect
Search the account's external parties (people and businesses that appear on documents) by name.
External parties are the counterparties on documents — the entities on the OTHER side of an agreement, which do not belong to the account. They are distinct from account parties, which are the account's own entities (the company the user belongs to and its subsidiaries / group companies). Phrasing like "our", "we", "us", "my company" or "our subsidiary" refers to an account party, not an external party — in that case use list-account-parties instead.
Use this tool when:
You need a party's name to filter list-documents by external party
You want to find parties matching a search term
Matches the party's name (entity_name). Results are capped and de-duplicated by name, so narrow the query if you don't find who you're looking for. If you are looking for a named entity and it does not appear here, it may be an account party (the account's own side) instead — try list-account-parties before concluding it does not exist.
Inputs: query (required), limit. Returns: external_parties
search-importsSearch importsARead-onlyIdempotentInspect
Search the account's imports by name.
Use this tool when:
You need an import's UUID to filter list-documents by import
You want to find imports matching a search term
Returns imports whose name matches the query, most recently created first. Results are capped, so narrow the query if you don't find what you're looking for.
Inputs: query (required), limit. Returns: imports
set-template-published-statePublish or unpublish templateADestructiveIdempotentInspect
Publishes a template, making it available to the whole account, or unpublishes it back to a draft.
Use this tool when:
A template is finished, the user has read it over and asks to publish it, release it or hand it to their colleagues
Documents are to be created from a template that is still a draft
The user asks to take a published template out of circulation
A published template's content has to be rewritten, which replace-template-content refuses until the template is a draft again
Publishing is what puts a template into service. list-templates shows a draft only to the users who manage templates, so until it is published nobody else can find it to create a document from. It also settles the body, which replace-template-content only writes while the template is a draft.
A template that was just authored is therefore left as a draft rather than published on the spot. Tell the user what was written, let them read it over, and publish once they say it is right. Confirm either direction with them: publishing offers the template to their colleagues, unpublishing takes it away from them.
Unpublishing changes nothing about the documents already created from the template. They keep the content they were created with; the template is simply no longer offered for new ones.
Inputs: published (required), template_uuid (required). Returns: url, name, uuid, locale, +3 more
update-account-document-typeUpdate account document typeADestructiveIdempotentInspect
Change a document type the account can see, whether it is one of the account's own types or one of fynk's system document types.
Use this tool when:
The user asks to rename a document type, or to change what it covers
AI analyses keep picking the wrong document type, or miss one, and its
promptneeds sharpeningThe user asks to change which metadata fields are relevant for documents of a type
The user asks to put one of fynk's document types back to how fynk provides it
The user asks to bring back one of fynk's document types that was removed from the account
document_type_uuid comes from list-account-document-types; request include=["details"] there to see a type's
current description and prompt. Send only the arguments that should change; everything left out keeps its
current value. Sending null for description or prompt clears it.
list-account-document-types marks fynk's own document types with provided_by_fynk, and those this account has
customised with customised as well. A change to one of fynk's types applies to this account alone. The first
change to one that is not customised yet replaces it, for this account, with a customised copy that has a uuid of
its own, and moves the account's documents and templates onto it; use the uuid this tool returns from then on. That
first change must include name, because the copy carries its name as written here in every language the account's
users read fynk in, instead of fynk's translations. So send the name the user knows the type by, e.g.
"Non-Disclosure Agreement", rather than a respelling of the listed name.
Send reset_to_fynk_default: true on its own for a customised type to drop the customisation, putting fynk's own
name, description and prompt back and moving the documents and templates back onto it. The type's uuid changes
back to fynk's, which this tool returns.
A type that list-account-document-types reports as deactivated (with filter_state "deactivated" or "all") is one
of fynk's that was removed from the account. Send reactivate: true on its own to bring it back as fynk provides
it; customise it afterwards with a further call.
prompt is what fynk's AI analyses read when deciding whether a document is of this type. Phrase it as a
selection criterion, the way fynk's own types do: "Select this type if the document defines the terms under which
a tenant rents property from a landlord, including rent amount, duration, deposit, and usage conditions."
relevant_metadata_uuids replaces the metadata fields specifically relevant for the type, which decides the fields
fynk's AI analyses look for in documents of this type. Send every field that should remain: one left out is no
longer extracted from the type's documents, though values already recorded stay. Fields relevant for every
document type apply regardless and are unaffected. list-account-metadata reports the current state: each field
there names the document types it is relevant for.
Inputs: document_type_uuid (required), name, prompt, reactivate, +3 more. Returns: name, uuid, prompt, customised, +3 more
update-account-metadataUpdate account metadataADestructiveIdempotentInspect
Change the definition of a metadata field the account can see, whether it is one of the account's own fields or a
system_reference field provided by fynk.
Use this tool when:
The user asks to rename a metadata field, or to change what it holds
The user asks to start or stop having fynk's AI analyses fill a field in
The user asks to change which document types a field applies to
The user asks to put one of fynk's fields back to how fynk provides it
metadata_uuid comes from list-account-metadata. Send only the arguments that should change; everything left out
keeps its current value. Sending null for description, prompt or keywords clears it.
A field's name and value_type are fixed at creation and this tool cannot change either. To rename a field for
the people using it, change display_name - in Title Case, the way fynk's own fields are named ("Signing Date",
"Contract Value").
fynk's own system_reference fields can be reconfigured per account: the change applies to this account alone and
leaves the field as fynk defines it everywhere else, and putting an argument back to fynk's own value stops
overriding it. fynk's other system field types (system, system_autofilled, system_computed) are maintained
entirely by fynk and cannot be changed at all.
One of fynk's fields that an account has reconfigured reports the arguments it overrides as overridden_fields,
from this tool and from list-account-metadata alike. Send reset_to_fynk_default: true on its own to drop all of
them at once, leaving the account reading the field exactly as fynk provides it; there is no per-argument reset, so
re-send whichever of them are still wanted afterwards.
select_values replaces the whole list of options, which are literally what a user picks from, so write them as
presentable labels: "Net 30", not "net 30". They govern what can be chosen from now on and leave values already
recorded on documents as they are, so prefer adding an option to renaming or removing one. Since the list is
replaced wholesale, send every option that should remain: one left out is one taken away.
Taking away an option that documents already hold is refused until the user has confirmed it. Such a value stays
on its document but can no longer be filtered for. The refusal names the options and how many documents and
templates still use each - then repeat the call with confirmed_removing_options_in_use: true. Send that only in
answer to such a refusal, never as a matter of course. reset_to_fynk_default is covered the same way, since
putting fynk's own options back takes away any the account added to them.
Put the effect to the user in their own terms and ask before going ahead - "removing Net 90 would affect 3 documents that still use it, shall I go ahead?" - rather than quoting the refusal back at them.
prompt and keywords decide whether fynk's AI analyses fill this field in - a prompt puts the field into them,
keywords only assist it and do nothing on their own. So set both together to have a field extracted, and clear
prompt to take a field back out of the analyses and leave it to only be filled in by hand.
Inputs: metadata_uuid (required), prompt, keywords, description, +7 more. Returns: name, type, uuid, settings, +8 more
update-account-partyUpdate account partyADestructiveIdempotentInspect
Update the name and/or address of an account party - one of the account's own entities.
Use this tool when:
The user asks to rename their company, a subsidiary or another of the account's own entities
The user asks to change the address of one of the account's own entities
Send only the fields that should change.
Only account parties can be changed here. A party that belongs to a document or template is refused - use update-document-party or update-template-party for those. Templates linked to this account party use its updated name and address. Existing documents keep the details copied when the document was created or the party was added.
Inputs: party_uuid (required), address, entity_name. Returns: uuid, address, entity_name, _entity_type
update-account-tagUpdate account tagADestructiveIdempotentInspect
Update an existing tag's name and/or color.
Use this tool when:
The user asks to rename a tag
The user asks to change a tag's color
tag_uuid is required. Send only the fields that should change.
Inputs: tag_uuid (required), name, color. Returns: name, uuid, color, _entity_type
update-account-teamUpdate account teamADestructiveIdempotentInspect
Update an existing team's name and/or icon.
Use this tool when:
The user asks to rename a team
The user asks to change a team's icon
team_uuid is required. Send only the fields that should change.
Inputs: team_uuid (required), icon, name. Returns: icon, name, uuid, _entity_type
update-documentUpdate documentADestructiveIdempotentInspect
Updates a document's name, locale, document type, signing settings and/or external signatory invitation message.
Use this tool when:
A document should be renamed
The document's content language (locale) or document type should change
The signature type or sequential signing setting should change before signing starts
The message included in the email inviting external signatories should be set or changed
All arguments except document_uuid are optional and only need to be sent if their value should change. signature_type and sequential_signing cannot be changed once signing has started, and signature_type cannot be changed if it was specified by the document's template. Use the list-account-document-types tool to discover valid document type UUIDs. This tool cannot change the document's stage (use the move-document-to-*-stage tools for that).
Inputs: document_uuid (required), name, locale, signature_type, +3 more. Returns: url, name, uuid, stage, +8 more
update-document-dynamic-fieldsUpdate document dynamic fieldsADestructiveIdempotentInspect
Update the value of one or more of a document's dynamic fields.
Use this tool when:
You want to fill in (or change) values for fields like text inputs, dates, numbers, or selects on a document
A user asks to set values that signing requires before it can begin (mandatory dynamic fields)
Each entry in dynamic_field_values identifies the field by its ref_uuid or name (use get-document-info with include=["dynamic_fields"] to discover them) — sending the wrong key will fail validation.
Take note of the field's type when constructing the value. These are the rules to use when constructing the value string:
number: the numeric value in a string, using '.' as the decimal separator -> "1234.56"
currency: concatenate the ISO currency code and the numeric value with a ';' -> "EUR;1000.10" (for one thousand Euro and ten cents)
currency_duration: same as currency, but append another ';' followed by either
monthlyoryearly-> "EUR;1000.10;monthly" / "USD;1000.10;yearly"select: one of the options from the field's
select_valueslist -> "red"multi_select: an array of the selected values in the
valuesfield -> ["red", "blue"]bool: either of the strings "true" (displayed to the user as "Yes") or "false" (displayed to the user as "No") -> "true" / "false"
duration: a PHP-compatible duration specification -> "P6D" (6 days), "P2W" (2 weeks), "PT12H" (12 hours)
date: the date in the format "YYYY-MM-DD" -> "2026-12-31"
email, text, textarea, or any type not listed above: a string -> "test@example.com"
To unset a dynamic field, send a null value.
Inputs: document_uuid (required), dynamic_field_values. Returns: dynamic_fields
update-document-metadata-valuesUpdate document metadata valuesADestructiveIdempotentInspect
Set or unset the value of one or more of a document's metadata.
Use this tool when:
You want to fill in (or change) a document's metadata values
You want to remove a value the document currently has for a metadata
Each entry in metadata_value_changes identifies the metadata by its metadata_uuid or name (use list-account-metadata, or get-document-info with include=["metadata_values"], to discover them) — sending an identifier that does not match any of the account's metadata will fail validation.
Each entry also has an operation:
set: create the metadata value (if the document does not have one yet) or update the existing valueunset: remove the document's value for the metadata (no value is required)
For a set, take note of the metadata's value_type when constructing the value. These are the rules to use when constructing the value string:
number: the numeric value in a string, using '.' as the decimal separator -> "1234.56"
currency: concatenate the ISO currency code and the numeric value with a ';' -> "EUR;1000.10" (for one thousand Euro and ten cents)
currency_duration: same as currency, but append another ';' followed by either
monthlyoryearly-> "EUR;1000.10;monthly" / "USD;1000.10;yearly"select: one of the options from the metadata's
select_valueslist -> "red"multi_select: an array of the selected values in the
valuesfield -> ["red", "blue"]bool: either of the strings "true" (displayed to the user as "Yes") or "false" (displayed to the user as "No") -> "true" / "false"
duration: a PHP-compatible duration specification -> "P6D" (6 days), "P2W" (2 weeks), "PT12H" (12 hours)
date: the date in the format "YYYY-MM-DD" -> "2026-12-31"
email, text, textarea, or any type not listed above: a string -> "test@example.com"
Some metadata cannot be changed this way (e.g. computed metadata, or metadata whose value is driven by a dynamic field) — attempting to do so will fail validation.
Inputs: document_uuid (required), metadata_value_changes. Returns: unset_metadata, set_metadata_values
update-document-partyUpdate document partyADestructiveIdempotentInspect
Edit the details of a party on a document.
Use this tool when:
A party's reference, entity type, entity name, address, or scope needs to change on an existing document
document_uuid and party_identifier (a ref_uuid, reference, or entity_name of a party on the document) are required to identify the party. All other arguments are optional and only need to be sent if their value should change. For parties linked to an account party, only party_reference can be changed — attempting to update other fields will fail.
Inputs: document_uuid (required), party_identifier (required), party_scope, party_address, +2 more. Returns: uuid, address, ref_uuid, reference, +3 more
update-document-signatoryUpdate document signatoryADestructiveIdempotentInspect
Edit the details of a document signatory.
Use this tool when:
A signatory's name, title, mobile phone, or party assignment needs to change before signing starts
You need to move an existing signatory to a different party on the document
document_uuid and signatory_email are required to identify the signatory. All other arguments are optional and only need to be sent if their value should change. For internal signatories (linked to an account user), signatory_first_name, signatory_last_name, and signatory_title cannot be changed — they come from the user's profile.
Inputs: document_uuid (required), signatory_email (required), signatory_title, signatory_last_name, +3 more. Returns: name, uuid, email, party_uuid, +3 more
update-document-tagsUpdate document tagsADestructiveIdempotentInspect
Adds tags to and/or removes tags from a document.
Use this tool when:
One or more tags should be added to a document
A tag should be removed from a document
A document's tag should be replaced with another (one
removeand oneaddaction)
Actions are applied on top of the document's current tags: tags not mentioned in tag_actions stay attached. Each tag may appear in at most one action per call. Adding an already-attached tag or removing a tag that is not attached has no effect. Use the list-account-tags tool to discover valid tag UUIDs, and the create-account-tag tool to create a new tag first if no suitable one exists.
Inputs: tag_actions (required), document_uuid (required). Returns: url, name, tags, uuid, +3 more
update-document-teamsUpdate document teamsADestructiveIdempotentInspect
Adds teams to and/or removes teams from a document.
Use this tool when:
A document should be assigned to one or more teams
A team assignment should be removed from a document
A document should be moved from one team to another (one
removeand oneaddaction)
Actions are applied on top of the document's current team assignments: teams not mentioned in team_actions keep their assignment. Each team may appear in at most one action per call. Adding an already-assigned team or removing a team that is not assigned has no effect. Use the list-account-teams tool to discover valid team UUIDs. Some accounts enforce team assignment, in which case the last remaining team cannot be removed.
Inputs: team_actions (required), document_uuid (required). Returns: url, name, uuid, stage, +3 more
update-document-userUpdate document userADestructiveIdempotentInspect
Changes a document user's access level (role), party or details, or sends them their invitation email.
Use this tool when:
Someone's access to a document should change, e.g. a viewer who should now be able to edit becomes a collaborator
A document user should be moved to a different party on the document
An external document user's name or title is wrong or missing
A document user who was added without an invitation email should now be invited (
modesend_invitation)
Identify the user by document_uuid plus email; the document_users section of get-document-info lists everyone with access, with their invitation_status.
With mode update (the default), send only the arguments that should change. Changing the role never changes whether the user signs: a signatory demoted to viewer remains a signatory, so use the signatory tools to manage signing. Only users with a fynk account in this account (internal_user true) can be owners, and a document always keeps at least one owner. The name and title of an internal user come from their fynk profile and cannot be changed here.
With mode send_invitation, the user is emailed an invitation to the document straight away, optionally with an invitation_message; no other arguments are accepted. Confirm with the user before sending it. Each document user can be sent an invitation via this tool or create-document-user only once: a user who has already been invited (by email, or by fynk when signing started) is refused, and there is no way to resend it here. A user without a fynk account user in this account (internal_user false) cannot be invited while the document is in the draft or approved_draft stage.
Inputs: email (required), document_uuid (required), mode, role, +5 more. Returns: name, role, uuid, email, +5 more
update-template-dynamic-fieldUpdate template dynamic fieldADestructiveIdempotentInspect
Update an existing dynamic field on a template.
Use this tool when:
The user wants to change a dynamic field's name, scope, options, default value, or other properties
Only send the fields you want to change. A field's type cannot be changed after creation; to change the type,
delete the field and create a new one.
select and multi_select fields still require non-empty select_values.
The default value is set via value (for non-multi_select fields) or values (for multi_select fields), formatted
according to the field's type (see create-template-dynamic-field for the per-type format). Setting a default value
clears any autofill configured on the field. Use get-template-info with include=["dynamic_fields"] to discover the
dynamic fields on a template and their UUIDs and types.
Inputs: template_uuid (required), dynamic_field_uuid (required), name, scope, +5 more. Returns: name, type, uuid, scope, +8 more
update-template-partyUpdate template partyADestructiveIdempotentInspect
Update an existing party on a template.
Use this tool when:
The user wants to change a party's role label, entity details, or scope
The user wants to link an existing external party to a saved account party, or unlink it again
Only send the fields you want to change. reference is the party's role label on the template (e.g. "Employer").
Account party linkage:
Send
account_party_uuid(from list-account-parties) to link the party to a saved account party. While linked, onlyreferencemay be changed;entity_name,address, andscopecannot be sent.Send
account_party_uuidas null to unlink the party, turning it back into an external party whose entity details and scope you can then set.
Use get-template-info to discover the parties on a template and their UUIDs.
Inputs: party_uuid (required), template_uuid (required), scope, address, +3 more. Returns: uuid, address, ref_uuid, reference, +3 more
update-template-signature-blockUpdate template signature blockADestructiveIdempotentInspect
Update the presentation of a signature block on a template.
Use this tool when:
The user wants to change how an existing signature block looks (its style or scale)
Only style and scale can be changed, and a field left out keeps its current value. The party a signature block
belongs to cannot be reassigned; to move a signature block to a different party, delete it and create a new one.
Use get-template-info with include=["signature_blocks"] to discover the signature blocks on a template and their
UUIDs.
Inputs: template_uuid (required), signature_block_uuid (required), scale, style. Returns: uuid, scale, style, ref_uuid, +3 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Servers
- AlicenseAqualityBmaintenanceRevenue intelligence for complex B2B growth. Your agent builds the assets technical founders sell with, and prepares them for real buyer conversations.34120 npm2MIT
- AlicenseCqualityCmaintenanceCompetitor Monitor AI - MCP server providing AI-powered tools and automation by MEOK AI Labs114 npm44 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceSearches and analyzes competitor ads and content across Meta, Google, Instagram, TikTok, and YouTube with AI-powered creative analysis and cross-platform brand discovery.1MIT

industrylens-mcpofficial
AlicenseNot gradedqualityNot gradedmaintenanceBrowse IndustryLens's published competitive-intelligence reports and head-to-head competitor comparisons from any AI agent — real, source-backed data.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.