Agent teams, swarms, memory and hooks for Claude Code and Codex, served over MCP.
DelegAIze is installed from its publisher's own source and answers where it runs, so this marketplace is not in the path of a single call. There is no address here to send one to, and a panel that pretended otherwise would be showing you an answer we made up. Install it and call it from your own client — the Installation tab has the entry for each one.
What it does
AI agents for CRM, mail, calendar, ERP and accounting - you approve. EU-hosted, OAuth.
Quickstart
# 1 — add it to Claude Code
claude mcp add --scope user --transport http delegaize-mcp https://delegaize.innov-ai-tive.de/api/sb/functions/v1/mcp-server
# 2 — ask your agent for something these tools do
# ingest_message, list_inbound_messages, classify_message and 497 more
DelegAIze costs nothing on mcprush: there is no plan to choose here, no cap to set and nothing mcprush can bill you for.
Collected from a public index. Nobody has claimed this account, so nothing here was written by its author — claim it if it is yours.
Where are you running it?
Every route below installs the same thing and ends at the same approval screen. Nothing here runs on your machine and nothing runs on ours: this server answers at its publisher’s own address, and what you install is the connection straight to it.
This is a public server: it answers at its publisher’s own address and this marketplace is not in the path. Claude Code registers it in one command; --scope user makes it available in every project. The transport below is http, as the publisher's own manifest declares it. Its publisher asks you to sign in with OAuth: run /mcp in Claude Code and pick this server, and it opens a browser for that once.
claude mcp add --scope user --transport http delegaize-mcp https://delegaize.innov-ai-tive.de/api/sb/functions/v1/mcp-serverReconnect, or start a new session, and the tools appear in the model’s tool list.
One config entry pointing straight at the publisher’s own address — this marketplace is not in the path, and nothing from this listing executes on your machine.
500 tools, with what each one reads, writes and reaches shown before you agree — the same list on every route above. Read the tool surface.
Tool surface
What the model actually sees. Descriptions are diffed on every release — see version history.
Ingest one incoming message from an external channel (Beeper network, desktop mail, …) forwarded by the local comms-forward bridge. Idempotent on (channel, external_id). Stores the message and, unless auto_draft is false, generates an AI reply DRAFT (never auto-sends) — EXCEPT when a background agent of this tenant picks up new incoming items itself (run condition inbound_messages.neu / emails.uns
| Parameter | Type | Required | Notes |
|---|---|---|---|
| channel | string | yes | Source class, e.g. 'beeper' or 'mail' |
| external_id | string | yes | Stable per-channel de-dupe id |
| chat_id | string | no | ID of the chat |
| chat_name | string | no | Display name of the chat or conversation |
| sender | string | no | Sender handle or ID at the source channel |
| sender_name | string | no | Sender display name |
| subject | string | no | Subject line |
| body | string | yes | Body text |
| received_at | string | no | ISO-8601 timestamp |
| metadata | object | no | Additional source data stored with the message (free-form object) |
| auto_draft | boolean | no | Draft a reply (default true) |
| agent_id | string | no | Drafting agent; defaults to the tenant's first enabled agent |
Read the messages that arrived through the channel ingest (ingest_message — Beeper networks such as WhatsApp/Signal/LinkedIn, desktop mail — plus Mattermost, WeCom and WhatsApp ad leads), newest first. This is the inbox for those channels; list_whatsapp_messages only covers Twilio. Read-only. Filters: channel (exact, e.g. 'beeper', 'mattermost', 'wecom'), since (ISO-8601; messages recorded at or a
| Parameter | Type | Required | Notes |
|---|---|---|---|
| channel | string | no | Exact source channel, e.g. 'beeper', 'mattermost', 'wecom', 'mail' |
| since | string | no | ISO-8601; only messages recorded at or after this time |
| search | string | no | Substring of sender, sender_name, chat_name or body |
| unassigned_only | boolean | no | Only messages not yet attached to a lead (default false) |
| limit | number | no | Max rows (default 20, max 100) |
| untriaged_only | boolean | no | Only items nobody has classified yet (triaged_at is empty) |
| category | string | no | Only this triage category (exact, case-insensitive), e.g. 'Anfrage' |
| priority | string | no | Only this triage priority |
Classify one incoming item — an e-mail (kind 'email', id from list_emails) or a messenger message (kind 'inbound_message', id from list_inbound_messages): category, priority, responsible agent and a short note. category must be one of the tenant's classification classes (without any: Anfrage, Termin, Reklamation, Rechnung, Lieferant, Bewerbung, Newsletter, Spam, Sonstiges); an unknown one is rejec
| Parameter | Type | Required | Notes |
|---|---|---|---|
| kind | string | yes | Type of item to classify: e-mail or messenger message |
| id | string | yes | ID of the item (from list_emails or list_inbound_messages) |
| category | string | yes | Classification class of the tenant; unknown values are rejected with the list |
| priority | string | yes | Priority |
| agent_id | string | no | Responsible agent (uuid or exact name) |
| agent_name | string | no | Alternative to agent_id: the agent's name |
| note | string | no | Why / what to do next (max 2000 characters) |
| draft_delegation_id | string | no | Delegation (from delegate_to_user) that holds the reply draft |
Suggest 3-6 agents for this tenant from what actually arrives: reads the latest N incoming e-mails and messenger messages (default 200), groups them into topics with the tenant's language model and proposes one agent per topic: name, responsibility, reasoning with its share ('23 von 100 Eingängen' — counted by the server, not by the model), 2-3 example items (kind + id), recommended tool rights an
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | How many recent items to read (default 200, min 10, max 500) |
| sources | array | no | Which kinds of incoming items to analyse (default both). |
| mailbox_ids | array | no | Only these mailboxes (ids from list_mailboxes). Default: all. |
| channels | array | no | Only these messenger channels, e.g. whatsapp, teams, sms. Default: all. |
List leads for the current tenant. Filters: search (title/email/phone/best_phone — a search term that looks like a NUMBER is additionally matched against the last nine digits of phone, best_phone and fax, so '017612345678' finds a lead stored as '0176 12345678'. To identify a CALLER use find_by_phone instead: it also covers contacts, accounts and the call history, and states how sure it is), categ
| Parameter | Type | Required | Notes |
|---|---|---|---|
| custom | object | no | Filter on lead custom fields (list_custom_fields entity 'leads'): { key: value } — value = equals (multiselect: contains), array = any of (multiselect: contains all), null = empty. E.g. { "stufe": "A" |
| search | string | no | Free-text search term |
| category | string | no | Exact category match (case-insensitive), e.g. 'dgnb' |
| status | string | no | Only entries with this status |
| campaign_id | string | no | ID of the campaign |
| no_campaign | boolean | no | Only leads not assigned to any campaign |
| owner_id | string | no | ID of the owner (user) |
| min_score | number | no | Only leads with at least this score (0-100) |
| stale_days | number | no | Only leads whose last activity is older than N days |
| order_by | string | no | score | last_activity | created |
| include_memory | boolean | no | Attach recent AI memory per lead (default true) |
| memory_tokens | number | no | Approx max tokens of memory per lead (default 200, max 1000); older entries cut off |
| limit | number | no | Max rows (default 20, max 100) |
| offset | number | no | Pagination offset (default 0) |
Return { count } — the TOTAL number of leads matching a filter, without fetching any rows. Accepts the exact same filters as list_leads (search, category, status, campaign_id, no_campaign, owner_id, min_score, stale_days). Use this to size a segment before listing/exporting (e.g. how many stale leads, how many in a campaign).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| custom | object | no | Filter on lead custom fields (list_custom_fields entity 'leads'): { key: value } — value = equals (multiselect: contains), array = any of (multiselect: contains all), null = empty. E.g. { "stufe": "A" |
| search | string | no | Free-text search term |
| category | string | no | Exact category match (case-insensitive) |
| status | string | no | Only entries with this status |
| campaign_id | string | no | ID of the campaign |
| no_campaign | boolean | no | Only leads not assigned to any campaign |
| owner_id | string | no | ID of the owner (user) |
| min_score | number | no | Only count leads with at least this score (0-100) |
| stale_days | number | no | Only leads whose last activity is older than N days |
Export EVERY lead matching a filter to a downloadable file and return { url, filename, format, count, bytes, truncated }. url is a signed link (valid 7 days) to a private file. Unlike export_leads (which pages 100 at a time), this pulls the whole filtered set server-side into one file. format: csv (default; flat lead columns + account_name + memory_count/documents_count, for spreadsheets) | json
| Parameter | Type | Required | Notes |
|---|---|---|---|
| custom | object | no | Filter on lead custom fields (list_custom_fields entity 'leads'): { key: value } — value = equals (multiselect: contains), array = any of (multiselect: contains all), null = empty. E.g. { "stufe": "A" |
| format | string | no | csv (default) | json | jsonl |
| search | string | no | Free-text search term |
| category | string | no | Exact category match (case-insensitive) |
| status | string | no | Only entries with this status |
| campaign_id | string | no | ID of the campaign |
| no_campaign | boolean | no | Only leads not assigned to any campaign |
| owner_id | string | no | ID of the owner (user) |
| min_score | number | no | Only export leads with at least this score (0-100) |
| stale_days | number | no | Only leads whose last activity is older than N days |
| include_contact | boolean | no | Nest the lead's contact in json/jsonl (default true) |
| include_account | boolean | no | Nest the lead's account in json/jsonl (default true) |
| max_rows | number | no | Cap total exported rows (default 5000, max 20000) |
Get one lead with its account, recent calls, and upcoming meetings.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead to read |
Full-fidelity export of leads for offline analysis / backup. Returns { leads, count, limit, offset }. Each lead has ALL its columns, ai_memory[] (every AI-memory item attached to the lead — all categories, full untruncated content, newest first), and (unless disabled) nested contact and account objects. Same filters as list_leads. Paginate with limit (≤100) + offset — the whole base pulls in ceil(
| Parameter | Type | Required | Notes |
|---|---|---|---|
| custom | object | no | Filter on lead custom fields (list_custom_fields entity 'leads'): { key: value } — value = equals (multiselect: contains), array = any of (multiselect: contains all), null = empty. E.g. { "stufe": "A" |
| search | string | no | Free-text search term |
| category | string | no | Exact category match (case-insensitive) |
| status | string | no | Only entries with this status |
| campaign_id | string | no | ID of the campaign |
| no_campaign | boolean | no | Only leads not assigned to any campaign |
| owner_id | string | no | ID of the owner (user) |
| min_score | number | no | Only export leads with at least this score (0-100) |
| stale_days | number | no | Only leads whose last activity is older than N days |
| order_by | string | no | score | last_activity | created |
| include_contact | boolean | no | Nest the lead's contact (default true) |
| include_account | boolean | no | Nest the lead's account (default true) |
| limit | number | no | Max rows (default 20, max 100) |
| offset | number | no | Pagination offset (default 0) |
List accounts (companies). Optional search on name, label (name or id: only accounts with this label), stale_days (last activity older than N days), order_by: last_activity|name|created (default last_activity). Returns last_activity_at and labels[].
| Parameter | Type | Required | Notes |
|---|---|---|---|
| search | string | no | Free-text search term |
| label | string | no | Label |
| stale_days | number | no | Only accounts whose last activity is older than this many days |
| order_by | string | no | Field to sort by |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
Get one account with its contacts (all people linked to it, each with function and whether it is their main organisation), leads, labels and custom_fields.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| account_id | string | yes | ID of the account (company) to read |
List contacts. Optional search (first/last name, email), account_id (main organisation), category (category name, case-insensitive) or category_id, label (name or id), stale_days (last activity older than N days), order_by: last_activity|name|created (default last_activity). Returns category name, last_activity_at and labels[].
| Parameter | Type | Required | Notes |
|---|---|---|---|
| search | string | no | Free-text search term |
| account_id | string | no | ID of the account (company) |
| category | string | no | Filter by contact category name (case-insensitive) |
| category_id | string | no | ID of the category |
| label | string | no | Label |
| stale_days | number | no | Only contacts whose last activity is older than this many days |
| order_by | string | no | Field to sort by |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
Get one contact with its labels, custom_fields, additional contact points (private/work e-mails, phones, addresses) and all organisations (with function; account_id is the main one).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contact_id | string | yes | ID of the contact to read |
List campaigns for the current tenant.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| status | string | no | Only entries with this status |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
Get one campaign with its pipeline stages and target counts by state.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| campaign_id | string | yes | ID of the campaign to read |
List call history for the current tenant, optionally filtered by lead_id. Newest first.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | no | ID of the lead |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
List meetings for the current tenant, optionally filtered by lead_id or status. Soonest first.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | no | ID of the lead |
| status | string | no | Only entries with this status |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
List sent/draft emails (email_drafts) for a lead (lead_id), a person (contact_id) or an organisation (account_id) — or with unassigned=true the SENT mails that belong to no record at all (e.g. sent with send_email before the contact existed); assign them with assign_email (draft_id = id). Each row carries assignment_state/assignment_candidates.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | no | ID of the lead |
| contact_id | string | no | ID of the contact |
| account_id | string | no | ID of the account (company) |
| unassigned | boolean | no | true = list sent mails that belong to no lead, contact or account |
| limit | number | no | Maximum number of entries to return |
Delete an UNSENT email draft (email_drafts) you no longer need. Only rows with status 'draft' can be removed — a sent email is a record and is refused. Any temporary download links belonging to the draft go with it. Use this after abandoning a draft, so it does not linger on the lead looking like mail that is still due to go out.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| draft_id | string | yes | ID of the draft to delete |
List UNSENT email drafts (email_drafts, status 'draft') for the tenant, newest first. Optionally narrowed to one lead. For sent mail use list_email_history.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | no | ID of the lead |
| limit | number | no | Maximum number of entries to return |
List physical letters ('Briefe', letter_briefs) sent for a lead.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead |
| limit | number | no | Maximum number of entries to return |
Record a channel message on a lead's communications timeline (LinkedIn/WhatsApp/Signal/email/note…). Required: lead_id, channel, body. Optional: direction ('inbound'|'outbound', default inbound), sent_at (ISO), sender, contact_id, external_chat_id, external_message_id, inbound_message_id (the id from list_inbound_messages: sender, sent_at, external_chat_id and external_message_id default to that m
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead |
| channel | string | yes | Channel of the message, e.g. linkedin, whatsapp, email or note |
| body | string | yes | Body text |
| direction | string | no | inbound or outbound (default inbound) |
| sent_at | string | no | Sent time (ISO 8601) |
| sender | string | no | Sender of the message; defaults to the linked inbound message's sender |
| contact_id | string | no | ID of the contact |
| external_chat_id | string | no | ID of the external chat |
| external_message_id | string | no | ID of the external message |
| inbound_message_id | string | no | id of a message from list_inbound_messages; marks it assigned |
List a lead's channel messages (newest first). Optional channel filter.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead |
| channel | string | no | Only return messages of this channel |
| limit | number | no | Maximum number of entries to return |
List AI memory items. Scope a note with entity ('lead'|'contact'|'account'|'campaign') + entity_id (the record id). With entity_id: that record's notes PLUS tenant-wide notes. Without: tenant-wide only. category is now a free topical label (e.g. 'positioning-usp') you can filter on. To read a campaign's playbook memory, pass entity='campaign', entity_id=<campaign_id>. (Legacy: parent_id is an alia
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | no | lead|contact|account|campaign|user|asbest_project|raumbuchung_booking |
| entity_id | string | no | Record id the notes are attached to |
| category | string | no | Free topical label filter |
| parent_id | string | no | Legacy alias for entity_id |
| limit | number | no | Maximum number of entries to return |
Read the tenant rule book — the rules that apply to ALL agents of this tenant (every agent gets them at start in get_agent_bootstrap). Returns the text and the app link where an admin views and edits it.
Takes no parameters.
Append ONE rule to the tenant rule book, which every agent reads at start. Use it when a human says a rule applies to all bots ("jeder Bot soll …", "Polizei: ab jetzt immer …") — instead of copying it into each agent's memory. Required: rule (one sentence or short paragraph), requested_by (who asked, e.g. "Max Mustermann"). The line is dated and attributed; an identical rule is not added twice. Ch
| Parameter | Type | Required | Notes |
|---|---|---|---|
| rule | string | yes | The rule text, one sentence or short paragraph, read by every agent |
| requested_by | string | yes | Name of the person who asked for the rule |
Save an AI memory item. Required: name, content. Scope it with entity ('lead'|'contact'|'account'|'campaign') + entity_id (a CRM record) AND/OR brain_id + agent_id (agent 'brain' memory). category is a free topical label (default 'general'). importance 1-5 (default 3) for ranking. key = stable handle for upsert (update the same fact instead of appending); the key is unique PER SCOPE (entity + enti
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name of the AI memory item |
| content | string | yes | Text content of the memory item |
| category | string | no | Free topical label (default 'general') |
| entity | string | no | lead|contact|account|campaign|user|asbest_project|raumbuchung_booking |
| entity_id | string | no | Record id to attach to |
| brain_id | string | no | Agent brain (category) this memory belongs to |
| agent_id | string | no | Owning agent (omit = shared across the user's agents) |
| importance | number | no | 1-5, default 3 |
| key | string | no | Stable handle → upsert instead of duplicate, within the scope (the same key on another record is another item) |
| parent_id | string | no | Legacy alias for entity_id |
| source | string | no | Where the fact comes from (optional provenance) |
| occurred_at | string | no | ISO date the fact originated in its source system. |
Update an AI memory item (partial). Stamps updated_at. Set entity + entity_id to re-attach a note to a record (e.g. entity='lead', entity_id=<lead id>); pass entity_id null to make it tenant-wide. category is a free topical label. occurred_at (ISO) = the fact's original date in its source system. Use this to fix mis-scoped notes instead of delete+recreate. (Legacy: parent_id is accepted as entity_
| Parameter | Type | Required | Notes |
|---|---|---|---|
| item_id | string | yes | ID of the item to change |
| name | string | no | Name of the AI memory item |
| content | string | no | New text content of the memory item |
| category | string | no | Free topical label |
| source | string | no | Where the fact comes from (provenance) |
| occurred_at | string/null | no | ISO date the fact originated in its source system |
| entity | string/null | no | lead|contact|account|campaign|user|asbest_project|raumbuchung_booking; null = tenant-wide |
| entity_id | string/null | no | Record id to attach to; null = tenant-wide |
| parent_id | string/null | no | Legacy alias for entity_id |
Delete an AI memory item.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| item_id | string | yes | ID of the item to delete |
List documents. Documents are typed info (doc_type: email|offer|invoice|order|note|file|other) with a title + description the AI can analyze — e.g. sevDesk offers/invoices imported per lead. Scope with entity ('lead'|'contact'|'account'|'campaign') + entity_id. Pass unfiled:true instead to list the documents that belong to NO record (files stored for another system, screenshots for a ticket) — the
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | no | lead|contact|account|campaign|user|asbest_project|raumbuchung_booking |
| entity_id | string | no | Record id the documents are attached to |
| unfiled | boolean | no | Only documents with no entity at all. Use to find files stored without a CRM record. |
| doc_type | string | no | Filter by type (email|offer|invoice|order|note|file|other) |
| limit | number | no | Maximum number of entries to return |
Attach a document (typed info) to a record BY REFERENCE — no file bytes, url just points at something hosted elsewhere. Required: entity ('lead'|'contact'|'account'|'campaign'), entity_id, title. Optional: doc_type (default 'note'), description (the analyzable text), source, url, amount, currency, status, occurred_at (ISO). To attach an actual FILE (get it stored + optionally AI-summarized), use u
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Record type the document is attached to: lead, contact, account or campaign |
| entity_id | string | yes | ID of the record |
| title | string | yes | Title of the document |
| doc_type | string | no | Type of document (default 'note') |
| description | string | no | Description of the document |
| source | string | no | Origin of the document (optional provenance) |
| url | string | no | Link to where the document is hosted |
| amount | number | no | Amount |
| currency | string | no | Currency code (ISO 4217, e.g. EUR) |
| status | string | no | Initial status |
| occurred_at | string | no | When it happened (ISO 8601) |
Attach an actual FILE to a record (lead/contact/account/campaign) — stored in private Supabase Storage, not just a URL reference. Required: entity, entity_id, and EITHER source_url OR content_base64 (not both). IF YOU HAVE SHELL/CODE-EXECUTION ACCESS (Bash, a script runner, etc.) AND THE FILE IS ONLY ON LOCAL DISK: do NOT use content_base64 here. Use create_document_upload_url + finalize_document
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Record type the file is attached to: lead, contact, account or campaign |
| entity_id | string | yes | ID of the record |
| source_url | string | no | URL the server fetches directly — no base64/context cost. Preferred when the file already has a stable URL. |
| content_base64 | string | no | Raw file bytes, base64-encoded. Only for tiny content (a few KB) with no reachable URL and no shell access — see create_document_upload_url for local files. |
| filename | string | no | Required with content_base64; optional with source_url (derived from the URL if omitted). |
| mime_type | string | no | MIME type of the file |
| doc_type | string | no | Type of document |
| title | string | no | Title of the document |
| description | string | no | Description of the document |
| amount | number | no | Amount |
| currency | string | no | Currency code (ISO 4217, e.g. EUR) |
| status | string | no | Initial status |
| occurred_at | string | no | When it happened (ISO 8601) |
| analyze | boolean | no | Run AI text-extraction + summary synchronously after upload (default true). |
Step 1 of the recommended flow for a LOCAL file when you (the calling agent) have shell/code-execution access (Bash, a script, curl, etc.): reserves a document record + a one-time signed upload URL, so the actual file bytes travel via a plain HTTP PUT from your shell — never through your own context/output tokens, regardless of file size. Required: filename. Optional: mime_type, doc_type (default
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | no | Record type for a CRM document: lead, contact, account or campaign; pass with entity_id or omit both |
| entity_id | string | no | ID of the record |
| filename | string | yes | File name |
| mime_type | string | no | MIME type of the file |
| doc_type | string | no | Type of document (default 'file') |
| title | string | no | Title of the document |
| description | string | no | Description of the document |
| amount | number | no | Amount |
| currency | string | no | Currency code (ISO 4217, e.g. EUR) |
| status | string | no | Initial status |
| occurred_at | string | no | When it happened (ISO 8601) |
| source | string | no | Source system the file was imported from, e.g. 'beeper'; with external_id makes the call idempotent |
| external_id | string | no | ID of the external |
| source_meta | object | no | Provenance details (network, chat_id, chat_title, sender, sender_id, sent_at, message_id), never credentials |
Step 2 of the create_document_upload_url flow: call this AFTER your shell has PUT the file to the upload_url. Confirms the object actually landed in storage, backfills its real file_size/mime_type, and (unless analyze:false) runs AI analysis the same way upload_document does. Required: document_id (from create_document_upload_url). Throws a clear error if the upload hasn't landed yet — retry after
| Parameter | Type | Required | Notes |
|---|---|---|---|
| document_id | string | yes | ID of the document |
| analyze | boolean | no | Run AI text-extraction + summary after confirming the upload (default true). |
Re-run AI analysis on an already-uploaded document: extracts the text from the stored file, stores it (get_document_text reads it back), replaces its search sections (search_knowledge finds them, source = document_id + sheet/rows) and writes/refreshes the AI-summary section of description. Required: document_id. Only works on documents with an uploaded file (via upload_document), not url-only refe
| Parameter | Type | Required | Notes |
|---|---|---|---|
| document_id | string | yes | ID of the document |
List supported tenant integrations and the credentials/capabilities available for each. This catalog never returns saved credential values.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| provider | string | no | Optional provider id filter, e.g. korona. |
Store credentials for a third-party service in the tenant's vault. Secret fields (password, api_token, token, access_token, api_key, client_secret, secret, …) go into Supabase Vault and are addressed by id — they are NEVER written to a plain column and NEVER returned by any tool. Everything else (base_url, username, account ids) stays as readable configuration. Required: provider (a stable lower-c
| Parameter | Type | Required | Notes |
|---|---|---|---|
| provider | string | yes | Stable handle, lower case, e.g. 'placetel'. One row per tenant and provider; storing again MERGES into it. |
| credentials | object | yes | Flat object. Secret-typed keys are vaulted, the rest stays as config. Fields you do not send keep their current value. |
| display_name | string | no | Readable name for the integrations screen. |
| status | string | no | active | inactive | error. Default active. |
| replace | boolean | no | Drop every config field you did not send, instead of keeping it. Default false. Only for deliberately clearing an integration — a normal edit does not need it. |
| scope | string | no | tenant (default) = company integration, only admins or whoever may manage it. private = only for me: nobody else (admins included) can use it; my own private integration is used before the company one |
Turn an audio recording into text via Whisper. Give it EITHER 'url' (fetched server-side — a pre-signed link works, no auth is sent) OR 'base64'. Use it for voicemail from the phone system, call recordings and voice notes: those arrive as sound, and guessing what was said is not an option. Optional 'language' (ISO-639-1 like 'de') skips auto-detection and is more reliable on short clips; optional
| Parameter | Type | Required | Notes |
|---|---|---|---|
| url | string | no | Address of the audio file. Fetched by the server; pre-signed links are fine. |
| base64 | string | no | The audio itself, base64. A data: prefix is stripped. |
| filename | string | no | Name with extension, e.g. 'voicemail.mp3'. Whisper derives the format from it — without one it guesses. |
| language | string | no | ISO-639-1, e.g. 'de'. Omit to auto-detect. |
| prompt | string | no | Context words for names and jargon. |
| model | string | no | Default whisper-1. |
Update a document (partial). Stamps updated_at. Also files a document against a record after the fact: pass entity + entity_id together (both, never one) to attach a previously unfiled upload once you know where it belongs, or both as null to detach it again. The target record is checked against the tenant first.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| document_id | string | yes | ID of the document to change |
| entity | string/null | no | File it against a record: lead|contact|account|campaign|user|asbest_project|raumbuchung_booking. Pass together with entity_id, or both null to detach. |
| entity_id | string/null | no | Record id — always together with entity. |
| title | string | no | Title of the document |
| doc_type | string | no | New document type |
| description | string | no | Description of the document |
| url | string | no | New external link of the document |
| amount | number | no | Amount |
| currency | string | no | Currency code (ISO 4217, e.g. EUR) |
| status | string | no | New status |
| occurred_at | string | no | When it happened (ISO 8601) |
Delete a document by id (also removes its uploaded file from storage, if any).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| document_id | string | yes | ID of the document to delete |
Research a lead (person/company) online via web search and save findings as ai_memory_items. Optional focus to steer the research.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead |
| focus | string | no | Optional topic or question to steer the online research |
Draft an email or letter for a lead from its memory + recent activity. Returns {subject, body, attachments: []}; does not send, attaches nothing. channel must be 'email' or 'letter'. To ask for approval, pass it as delegate_to_user questions[].email {to, subject, body, attachments} — keep attachments: [] unless you add files that really go out.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead |
| channel | string | yes | Draft type: 'email' or 'letter' |
| instructions | string | no | Optional guidance for the draft's content, tone or purpose |
Merge duplicate records. Keeps keep_id, folds each drop_ids record's relations (calls/emails/campaigns/meetings/memory/channels/…) into it, then DELETES the duplicates. Fields: primary wins, its empty fields are filled from the duplicate, and field_overrides forces final values for conflicts. entity = 'lead'|'contact'|'account'. IRREVERSIBLE.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | lead | contact | account |
| keep_id | string | yes | the record to keep (primary) |
| drop_ids | array | yes | duplicate record ids to merge in and delete |
| field_overrides | object | no | final values for specific columns on the kept record (wins over primary+gap-fill) |
List past merges (audit trail) for this tenant — who merged what into what, when, with a full snapshot of the deleted record (for manual recovery). Optional keep_id to see merges into one specific record.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| keep_id | string | no | ID of the keep |
| limit | number | no | Maximum number of entries to return |
Returns everything a local messaging orchestrator (e.g. a Beeper MCP client) needs to sync conversations into this CRM: the current sync watermark, the tracking blacklist, the mapping/memory rules, tenant/owner context, and available_agents — the tenant's active specialized agents (id, name, description), queried live every call (never stale), plus agent_routing_hint explaining how to tag a matchi
Takes no parameters.
Advance the messaging ingest watermark after a sync run. Pass last_sync as an ISO timestamp; the next get_ingest_instructions returns it.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| last_sync | string | yes | ISO timestamp of the newest processed message |
Update this tenant's messaging-ingest instructions. custom_instructions = freeform natural-language guidance (e.g. per-network campaign routing). overrides = partial object shallow-merged over the default rules. default_campaign_id = campaign new Beeper leads are added to. default_owner_id = owner for new Beeper leads. Only provided fields change; pass empty string to clear a default.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| custom_instructions | string | no | Freeform natural-language guidance for messaging ingest, e.g. per-network campaign routing |
| overrides | object | no | Partial rules object shallow-merged over the default ingest rules |
| default_campaign_id | string | no | ID of the default campaign |
| default_owner_id | string | no | ID of the default owner |
Match a messaging conversation back to a lead/contact. Provide external_chat_id (Beeper chatID, primary key) and/or handle (+optional channel). A phone number as handle is also matched like find_by_phone (incl. contact mobiles) - only a UNIQUE lead or contact is returned. Returns { lead_id, contact_id, do_not_track } or null. Run BEFORE creating records to avoid duplicates.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| channel | string | no | Messaging channel the handle belongs to (narrows a handle match) |
| external_chat_id | string | no | ID of the external chat |
| handle | string | no | Handle of the person on the channel, e.g. phone number, mail address or profile URL |
Wer gehoert zu dieser Rufnummer? Der Alltagsfall ist nicht 'durchsuche Leads', sondern 'es hat jemand angerufen, wer war das'. Sucht ueber leads.phone/best_phone/fax, contacts, accounts und die Anrufhistorie — FORMAT-UNABHAENGIG: verglichen werden die letzten neun Ziffern, weshalb '+49 (0) 176 12345678', '0176 12345678' und '004917612345678' einander finden. list_leads({search}) kann das nicht, we
| Parameter | Type | Required | Notes |
|---|---|---|---|
| phone | string | yes | Die Rufnummer in beliebiger Schreibweise, z. B. '0176 98765432' oder '+4917698765432'. |
| fuzzy | boolean | no | Stufe 4 zuschalten (Levenshtein). Default false. Liefert nur Verdachtsfaelle zur Sichtpruefung. |
Upsert a messaging-channel identity onto a lead/contact/account so future conversations match and provenance is recorded. Required: channel, external_chat_id, lead_id. Pass contact_id + account_id too when known.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead |
| contact_id | string | no | ID of the contact |
| account_id | string | no | ID of the account (company) |
| channel | string | yes | Messaging channel of the identity, e.g. whatsapp or linkedin |
| handle | string | no | The person's handle on that channel |
| external_chat_id | string | yes | ID of the external chat |
| do_not_track | boolean | no | true = exclude this conversation from tracking |
List tracking-blacklist entries (persons/chats excluded from ingest) for the tenant.
Takes no parameters.
Exclude a person/chat from messaging ingest. Provide external_chat_id (most precise) and/or handle (+optional channel), plus optional reason. Match precedence on ingest: external_chat_id → handle(+channel).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| channel | string | no | Messaging channel the handle belongs to |
| handle | string | no | Handle of the person to exclude from ingest |
| external_chat_id | string | no | ID of the external chat |
| reason | string | no | Reason (free text) |
Remove a tracking-blacklist entry by id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the blacklist entry to remove |
Create a lead. Checks for an existing person FIRST (name, email, phone, social_url) and REFUSES with the candidates if one is found — pass on_duplicate="force" only once you have looked and they really are someone else. A social_url passed here is stored on the lead so the next lookup finds them. 'title' is required. Optional: every column update_lead accepts — status, first/last name, email, best
| Parameter | Type | Required | Notes |
|---|---|---|---|
| custom | object | no | Lead custom field values { key: value } set in the same call (list_custom_fields entity 'leads'); null clears. Checked like set_custom_values. |
| title | string | yes | Title of the lead |
| status | string | no | Initial status |
| string | no | Email address | |
| phone | string | no | Phone number |
| address | string | no | Postal address |
| city | string | no | City |
| postal_code | string | no | Postal code |
| country | string | no | Country (ISO code or name) |
| account_id | string | no | ID of the account (company) |
| contact_id | string | no | ID of the contact |
| owner_id | string | no | ID of the owner (user) |
| value | number | no | Monetary value of the lead |
| notes | string | no | Free-text notes |
| next_action | string | no | Text of the next planned action |
| next_action_at | string | no | Next action time (ISO 8601) |
| category | string | no | Lead category |
| website | string | no | Website URL |
| string | no | Instagram profile of the lead | |
| fax | string | no | Fax number |
Update a lead (partial — only provided fields change; empty values are NOT cleared). To blank a column, list it in clear_fields.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| custom | object | no | Lead custom field values { key: value } set in the same call (list_custom_fields entity 'leads'); null clears. Checked like set_custom_values. |
| lead_id | string | yes | ID of the lead to change |
| title | string | no | Title of the lead |
| status | string | no | New status |
| string | no | Email address | |
| phone | string | no | Phone number |
| best_email | string | no | Preferred e-mail address to reach the lead |
| best_phone | string | no | Preferred phone number to reach the lead; used before phone when dialing |
| address | string | no | Postal address |
| city | string | no | City |
| postal_code | string | no | Postal code |
| country | string | no | Country (ISO code or name) |
| account_id | string | no | ID of the account (company) |
| contact_id | string | no | ID of the contact |
| owner_id | string | no | ID of the owner (user) |
| value | number | no | Monetary value of the lead |
| notes | string | no | Free-text notes |
| next_action | string | no | Text of the next planned action |
| next_action_at | string | no | Next action time (ISO 8601) |
| category | string | no | Lead category |
Add or update a lead's social/profile link for a platform — upserts by platform, so re-adding the same platform (e.g. 'linkedin') overwrites its url/label instead of duplicating; this is also how you EDIT an existing entry. Stored in leads.social_urls, a jsonb array of {platform, url, label?} — use this tool rather than update_lead to change it, so one add can't clobber another entry already in th
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead |
| platform | string | yes | e.g. 'linkedin', 'twitter', 'instagram', 'facebook', 'github', 'other' |
| url | string | yes | Profile URL on the platform |
| label | string | no | Optional free-text note, e.g. a headline or last-checked summary. |
Remove a lead's social/profile link for a given platform (leads.social_urls). Required: lead_id, platform. Returns the full updated social_urls array.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead |
| platform | string | yes | Platform whose link is removed, e.g. 'linkedin' |
Create a contact. 'first_name' and 'last_name' required. Optional: email, phone, position, department, salutation, academic_title, account_id (main organisation), notes, gender (m|w|d|x = no answer), birth_date (YYYY-MM-DD) or birth_year. More organisations: set_contact_accounts; more e-mails/phones/addresses: upsert_contact_point; labels: set_record_labels.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| first_name | string | yes | First name |
| last_name | string | yes | Last name |
| string | no | Email address | |
| phone | string | no | Phone number |
| position | string | no | Job title or position of the contact |
| department | string | no | Department |
| salutation | string | no | Salutation (e.g. Mr / Ms) |
| academic_title | string | no | Academic title (e.g. Dr.) |
| account_id | string | no | ID of the account (company) |
| notes | string | no | Free-text notes |
| gender | string | no | m | w | d | x (no answer) |
| birth_date | string | no | YYYY-MM-DD |
| birth_year | number | no | When only the year is known |
Update a contact (partial; empty values are NOT cleared). To blank a column, list it in clear_fields.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contact_id | string | yes | ID of the contact to change |
| first_name | string | no | First name |
| last_name | string | no | Last name |
| string | no | Email address | |
| phone | string | no | Phone number |
| mobile | string | no | Mobile phone number |
| position | string | no | Job title or position of the contact |
| department | string | no | Department |
| salutation | string | no | Salutation (e.g. Mr / Ms) |
| academic_title | string | no | Academic title (e.g. Dr.) |
| account_id | string | no | ID of the account (company) |
| notes | string | no | Free-text notes |
| status | string | no | New status |
| website | string | no | Website URL |
| string | no | Instagram profile of the contact | |
| address | string | no | Postal address |
| city | string | no | City |
| postal_code | string | no | Postal code |
| country | string | no | Country (ISO code or name) |
| gender | string | no | m | w | d | x (no answer) |
Create an account (company). 'name' required. Optional: industry, website, phone, email, address, city, postal_code, country, notes.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name of the account |
| industry | string | no | Industry / sector |
| website | string | no | Website URL |
| phone | string | no | Phone number |
| string | no | Email address | |
| address | string | no | Postal address |
| city | string | no | City |
| postal_code | string | no | Postal code |
| country | string | no | Country (ISO code or name) |
| notes | string | no | Free-text notes |
Update an account (partial; empty values are NOT cleared). To blank a column, list it in clear_fields.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| account_id | string | yes | ID of the account (company) to change |
| name | string | no | Name of the account |
| industry | string | no | Industry / sector |
| website | string | no | Website URL |
| phone | string | no | Phone number |
| string | no | Email address | |
| address | string | no | Postal address |
| city | string | no | City |
| postal_code | string | no | Postal code |
| country | string | no | Country (ISO code or name) |
| notes | string | no | Free-text notes |
| string | no | Instagram profile of the organisation | |
| size | string | no | Company size |
| owner_id | string | no | ID of the owner (user) |
| parent_account_id | string | no | Parent company (group structure); get_account lists parent and subsidiaries. |
| is_own_company | boolean | no | Belongs to OUR group. A contract between two own companies counts as intra-group (list_contracts intra_group=true). |
| clear_fields | array | no | Column names to set to NULL (opt-in clear). |
Create a campaign for the caller's tenant (tenant_id, owner_id and created_by are set from the authenticated user). 'name' required. Optional: description, status (draft|active|paused|completed — default 'active'), start_date/end_date (YYYY-MM-DD), daily_call_target (int, default 0), owner_id (override), script_id, notes, from_email, from_name, email_signature. Duplicate names within the tenant ar
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name of the campaign |
| description | string | no | Description of the campaign |
| status | string | no | Initial status |
| start_date | string | no | Start date (YYYY-MM-DD) |
| end_date | string | no | End date (YYYY-MM-DD) |
| owner_id | string | no | ID of the owner (user) |
| script_id | string | no | ID of the script |
| daily_call_target | number | no | Number of calls planned per day (integer, default 0) |
| notes | string | no | Free-text notes |
| from_email | string | no | Sender email address |
| from_name | string | no | Sender display name |
| email_signature | string | no | E-mail signature used for this campaign's mails |
Update a campaign (partial; empty values are NOT cleared — list a column in clear_fields to blank it). status: draft|active|paused|completed.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| campaign_id | string | yes | ID of the campaign to change |
| name | string | no | Name of the campaign |
| description | string | no | Description of the campaign |
| status | string | no | New status |
| start_date | string | no | Start date (YYYY-MM-DD) |
| end_date | string | no | End date (YYYY-MM-DD) |
| owner_id | string | no | ID of the owner (user) |
| script_id | string | no | ID of the script |
| daily_call_target | number | no | Number of calls planned per day (integer) |
| notes | string | no | Free-text notes |
| from_email | string | no | Sender email address |
| from_name | string | no | Sender display name |
| email_signature | string | no | E-mail signature used for this campaign's mails |
| bcc_emails | no | Blind-copy archive for EVERY send of this campaign — array or comma-separated string. Set as a real BCC, never appended to 'to'. Put it here rather than on each call: a call parameter can be forgotten | |
| clear_fields | array | no | Column names to set to NULL (opt-in clear). |
Delete a campaign. IRREVERSIBLE — cascades to its pipeline stages, target/lead memberships, documents, scripts and other campaign-scoped rows (leads/contacts/accounts themselves are NOT deleted). Refuses if the campaign still has target members unless force=true. Reassign the ingest default_campaign_id first if this is the Beeper default.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| campaign_id | string | yes | ID of the campaign to delete |
| force | boolean | no | Delete even if the campaign has target members. |
Log a call record. Optional: outcome, notes, call_status_code, success (1/0), duration_sec, to_number, next_call_at (ISO). For an INCOMING call pass direction:'inbound' and from_number — and lead_id only if you know who it was. An unidentified incoming call is worth recording WITHOUT a lead: that is what makes find_by_phone's call_history answer 'this number has rung six times before', which is th
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | no | Who it was. Omit for an incoming call from a number you could not identify. |
| direction | string | no | outbound (default) | inbound |
| from_number | string | no | The calling number, for an inbound call. Any spelling — the search normalises it. |
| outcome | string | no | Result of the call as free text |
| notes | string | no | Free-text notes |
| call_status_code | string | no | Status code of the call |
| success | number | no | 1 = successful call, 0 = not successful |
| duration_sec | number | no | Call duration in seconds |
| to_number | string | no | Recipient phone number |
| next_call_at | string | no | Next call time (ISO 8601) |
Schedule a follow-up for a lead: sets next_action_at (and optional next_action text) on the lead, and optionally no_call_until.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead |
| next_action_at | string | yes | ISO timestamp |
| next_action | string | no | Text describing the follow-up |
| no_call_until | string | no | Do not call the lead before this date/time (ISO) |
Add a lead to a campaign (creates a campaign_targets row). No-op if already present.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| campaign_id | string | yes | ID of the campaign |
| lead_id | string | yes | ID of the lead |
Create a meeting. Required: title, start_at (ISO), end_at (ISO). Optional: lead_id, contact_id, campaign_id, status (pending|confirmed|cancelled), notes (INTERN — wird dem Gast NIE gezeigt), invitation_text (was der eingeladene Gast in der Einladung liest; leer = neutraler Text aus Titel und Zugangsweg), customer_name, customer_email, video_provider ('google_meet'|'teams' — attaches a video link s
| Parameter | Type | Required | Notes |
|---|---|---|---|
| title | string | yes | Titel des Termins |
| start_at | string | yes | Beginn (ISO 8601) |
| end_at | string | yes | Ende (ISO 8601) |
| lead_id | string | no | Lead-ID |
| contact_id | string | no | Kontakt-ID |
| campaign_id | string | no | Kampagnen-ID |
| status | string | no | Status des Termins: pending, confirmed oder cancelled |
| notes | string | no | INTERNAL preparation. Never shown to the guest, never written into the calendar event. |
| invitation_text | string | no | What the invited guest reads in the invitation. Empty = neutral text from title and access link. |
| customer_name | string | no | Name des eingeladenen Gastes |
| customer_email | string | no | E-Mail-Adresse des Gastes; loest bei Teams ueber die Bridge allein keine Einladung aus |
| video_provider | string | no | 'google_meet', 'teams' or 'delegaize' — attach a video conferencing link on creation. 'delegaize' is the built-in room (no integration needed, guest joins by link). |
| timezone | string | no | IANA zone the given times are meant in; defaults to the caller's. |
| attendees | array | no | Teams via bridge only: e-mail addresses Teams should INVITE. Omit = nobody is invited by Teams. |
| teams_account | string | no | Teams via bridge only: which Teams account on the host's computer (e.g. 'arbeit'). Default: its default account. |
Update a meeting (partial) — reschedule (start_at/end_at) or cancel (status='cancelled'). Get the meeting_id from find_calendar_event; an id belonging to a calendar event is not accepted here, use update_calendar_event for those. Times without a UTC offset are read as wall-clock time in the caller's timezone (pass timezone, an IANA name, to override) — so '14:00' means 14:00 where the user is, not
| Parameter | Type | Required | Notes |
|---|---|---|---|
| meeting_id | string | yes | ID of the meeting to change |
| title | string | no | Title of the meeting |
| start_at | string | no | Start time (ISO 8601) |
| end_at | string | no | End time (ISO 8601) |
| status | string | no | New status |
| notes | string | no | Free-text notes |
| timezone | string | no | IANA time zone, e.g. Europe/Berlin |
Attach (or refresh, e.g. after rescheduling) a Google Meet or Microsoft Teams video link on an existing meeting, via the tenant's connected integration (Integrations page). Required: meeting_id, provider ('google_meet'|'teams'). Re-calling with the same provider updates the SAME underlying video meeting (in place) rather than creating a new one — safe to call again after update_meeting changes the
| Parameter | Type | Required | Notes |
|---|---|---|---|
| meeting_id | string | yes | ID of the meeting |
| provider | string | yes | 'google_meet' or 'teams' |
| teams_account | string | no | Teams via bridge only: which Teams account on the host's computer. Default: its default account. |
Create a presentation (a talk/deck) tied to a campaign or event. Slides live once; each variant (language, partner logo) picks order and speaker notes. Required: title. Optional: campaign_id, event_name, event_date (ISO), location, target_duration_sec, template (corporate-design key), status (draft|ready|archived). Returns { presentation_id }.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| title | string | yes | Title of the presentation |
| campaign_id | string | no | ID of the campaign |
| event_name | string | no | Name of the event where the talk is given |
| event_date | string | no | Date of the event (ISO) |
| location | string | no | Venue or location of the talk |
| target_duration_sec | number | no | Planned length of the talk in seconds |
| template | string | no | Corporate-design template key |
| status | string | no | Initial status |
Get one presentation with its variants, slides (in base order) and per-variant note counts. Required: presentation_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation to read |
List presentations of the tenant, newest first. Optional: campaign_id, status, limit (default 50).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| campaign_id | string | no | ID of the campaign |
| status | string | no | Only entries with this status |
| limit | number | no | Maximum number of entries to return |
Update a presentation (partial). Required: presentation_id. Optional: title, campaign_id, event_name, event_date, location, target_duration_sec, template, status.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation to change |
| title | string | no | Title of the presentation |
| campaign_id | string | no | ID of the campaign |
| event_name | string | no | Name of the event where the talk is given |
| event_date | string | no | Date of the event (ISO) |
| location | string | no | Venue or location of the talk |
| target_duration_sec | number | no | Planned length of the talk in seconds |
| template | string | no | Corporate-design template key |
| status | string | no | New status |
Add a variant (language + optional partner logo) to a presentation. Required: presentation_id, language (e.g. 'de','en'). Optional: partner_logo, label, slide_order (array of slide ids = talk order; default = slide positions). Returns { variant_id }.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
| language | string | yes | Language code (e.g. de, en) |
| partner_logo | string | no | Partner logo shown in this variant |
| label | string | no | Label |
| slide_order | array | no | Slide IDs in talk order; default is the slide positions |
List the variants of a presentation. Required: presentation_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
Create or update a slide of a presentation. Slides are shared across all variants. Required: presentation_id. Pass slide_id to update an existing slide, omit to create. Optional: slide_type (title|content|video|solution|questions), position, title, content (structured object; content.page_image_url = optional image of the WHOLE rendered slide page, used on cue cards), html (free HTML, exception),
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
| slide_id | string | no | ID of the slide |
| slide_type | string | no | Kind of slide: title, content, video, solution or questions |
| position | number | no | Position of the slide in the deck |
| title | string | no | Title of the slide |
| content | object | no | Structured slide content; content.page_image_url = image of the whole rendered slide |
| html | string | no | Free HTML for the slide (exception, prefer content) |
| image_url | string | no | Image URL |
| footer | string | no | Footer text of the slide |
Set slide order. Required: presentation_id, slide_ids (array in the wanted order). Without variant_id it sets the base order (slides.position). With variant_id it sets only that variant's talk order (which may differ from the slide numbers, e.g. appendix). Returns { ok, count }.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
| slide_ids | array | yes | List of IDs (slide) |
| variant_id | string | no | ID of the variant |
Set the per-variant speaker notes for a slide. Required: slide_id, variant_id. Optional: speaker_text, seconds (planned duration), bullets (array of cue points), direction (Regie), demo_points (array), insert_clip, bullets_confirmed. Writing notes clears the slide's stale flag for this variant. Returns { note_id }.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| slide_id | string | yes | ID of the slide |
| variant_id | string | yes | ID of the variant |
| speaker_text | string | no | Full speaker text for this slide in this variant |
| seconds | number | no | Planned duration of the slide in seconds |
| bullets | array | no | Cue points for the cue card |
| direction | string | no | Stage direction (Regie) hint |
| demo_points | array | no | Demo points to show on this slide |
| insert_clip | string | no | Clip to insert at this slide |
| bullets_confirmed | boolean | no | true = the bullets have been checked and confirmed |
Compute the running order and timing of a presentation variant: each slide's start time and duration in TALK order (variant slide_order if set, else slide positions), the total, and a warning if the total exceeds target_duration_sec. Duration per slide comes from the note's seconds, or is estimated from the speaker text (words ÷ wpm + buffer) when not set. Required: presentation_id and either vari
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
| variant_id | string | no | ID of the variant |
| language | string | no | Language code (e.g. de, en) |
| wpm | number | no | Speaking rate in words per minute for estimates (default 130) |
Share a presentation with recipients by PER-RECIPIENT secret link (not an attachment) — the link (/v/p/<token>) always shows the latest version of the presentation's documents, and opens/downloads are counted per recipient. This tool only PREPARES the shares and, by default, a mail draft per recipient for approval; it NEVER sends, so it cannot cause a double-send. Required: presentation_id and eit
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
| campaign_id | string | no | ID of the campaign |
| language | string | no | Language code (e.g. de, en) |
| assets | array | no | What the link offers: pdf, video and/or cards (default ['pdf']) |
| create_drafts | boolean | no | Create a mail draft per recipient for approval (default true) |
| recipients | array | no | Recipients, each with email, name, contact_id or lead_id |
List who a presentation was shared with and whether they opened/downloaded it. Required: presentation_id. Returns rows with recipient, status, link, opened_at, open_count, downloaded_at, sent_at.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
Render a presentation variant to a PDF (one slide per 16:9 page) via the tenant's browser service, store it as a document on the presentation, and check each slide for overflow (too much text / too many bullets). Required: presentation_id and either variant_id or language. Returns { document_id, slide_count, warnings, overflow:[{position, ok, befund?}] }. Needs a browser service under Integrations
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
| variant_id | string | no | ID of the variant |
| language | string | no | Language code (e.g. de, en) |
Propose cue-card bullet points from each slide's speaker text for a variant (the human confirms them later). Only fills notes that have NO bullets yet and are not confirmed; confirmed bullets are never overwritten. Required: presentation_id and variant_id or language. Returns { proposed:[{slide_id, bullets}], count }.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
| variant_id | string | no | ID of the variant |
| language | string | no | Language code (e.g. de, en) |
Render the speaker script of a variant to a PDF (per slide: text, planned time, start time in talk order), stored as a document on the presentation. Required: presentation_id and variant_id or language. Returns { document_id }. Needs a browser service.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
| variant_id | string | no | ID of the variant |
| language | string | no | Language code (e.g. de, en) |
Export the cue cards of a variant in the fixed DelegAIze design (same template as the local kit from get_presentation_kit). format 'html' (default) builds a single OFFLINE mobile page stored as a document — open it with get_document_link, works in airplane mode. Per card: slide image (toggle 'Bild aus/an'), bullets or 'Volltext' (full speaker text), Regie hint, big countdown (red when over), total
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
| variant_id | string | no | ID of the variant |
| language | string | no | Language code (e.g. de, en) |
| format | string | no | Output format; 'html' (default) builds an offline mobile page |
| images | string | no | auto (default): embed slide images where available; none: cards without images |
| slide_images | object | no | Override per card: key = slide_id or 1-based talk number, value = data:image/...;base64 URI, http(s) URL or own storage path (e.g. rendered page PNGs) |
Full speaker-text timing check of a variant as Markdown (same format as <name>_Sprechertext_<LANG>.md from the local kit): per slide in talk order the planned seconds (note.seconds), word count, estimate at wpm and the deviation, totals and target_duration_sec, then the full text of every slide with its start time. Slides without planned seconds are marked '—' and use the estimate for start times.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
| variant_id | string | no | ID of the variant |
| language | string | no | Language code (e.g. de, en) |
| wpm | number | no | Speaking rate in words per minute for estimates (default 130) |
| save_document | boolean | no | true = also store the Markdown as a document on the presentation |
Get the FIXED, versioned local build kit for talks, so local agents stop improvising their own code: files { 'bauen.py', 'spickkarten-vorlage.html' (same cue-card template as export_cue_cards), 'README.md', 'skript-beispiel.json' }, input_schema (JSON schema of the skript JSON), usage. Write all files UNCHANGED into one folder and run them: python bauen.py skript.json --nur-pruefung (full-text t
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | no | ID of the presentation |
| variant_id | string | no | ID of the variant |
| language | string | no | Language code (e.g. de, en) |
| page_numbering | string | no | How 'folie' is numbered: slide number in the deck (default) or PDF page in talk order |
| wpm | number | no | Speaking rate in words per minute for timing estimates |
Start a LIVE presentation session for a variant and get three links: audience (beamer, public), remote (phone, via QR), speaker (cue cards + timing). All three stay in sync. Required: presentation_id and variant_id or language. Returns { session_id, code, audience_url, remote_url, speaker_url, control_token }.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| presentation_id | string | yes | ID of the presentation |
| variant_id | string | no | ID of the variant |
| language | string | no | Language code (e.g. de, en) |
Get the state of a live presentation session (current slide, status, and after the talk the actual time per slide for plan-vs-actual). Required: code or session_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| code | string | no | Code of the live presentation session (alternative to session_id) |
| session_id | string | no | ID of the session |
Advance a live presentation session to a slide (for an agent controlling the talk on request). Required: code or session_id, and index (0-based talk order). Records the time spent on the slide being left.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| code | string | no | Code of the live presentation session (alternative to session_id) |
| session_id | string | no | ID of the session |
| index | number | yes | Target slide, 0-based in talk order |
End a live presentation session and finalise the per-slide times. Required: code or session_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| code | string | no | Code of the live presentation session (alternative to session_id) |
| session_id | string | no | ID of the session |
Check the tenant's Placetel connection with a real authenticated read (GET /sip_users). Returns { ok, count } or a clear error if no token is stored or it is rejected.
Takes no parameters.
Call ANY Placetel Web API v2 endpoint directly (covers the full API surface, 124 endpoints). Required: method (GET|POST|PUT|DELETE), path (with leading slash, e.g. '/calls', '/contacts/123'). Optional: body (object), query (object → query string). Use the named placetel_* tools for the common resources; use this for anything else. Secrets stay server-side.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| method | string | yes | HTTP method: GET, POST, PUT or DELETE |
| path | string | yes | Placetel API v2 path with leading slash, e.g. '/calls' |
| body | object | no | JSON request body sent to the API |
| query | object | no | Query-string parameters (name → value) |
List current/recent Placetel calls (GET /calls). Optional: query (object of filters).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
Start a call via Placetel (POST /calls). Required: destination_number. Optional: source_number or sip_user (which extension rings first). Returns the created call.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| destination_number | string | yes | Phone number to call |
| source_number | string | no | Placetel number that rings first |
| sip_user | string | no | SIP user (extension) that rings first |
List Placetel call detail records / CDRs (GET /call_detail_records). Optional: query (e.g. { from, to, limit }).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
List the tenant's Placetel phone numbers (GET /numbers).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
List Placetel phonebook contacts (GET /contacts). Optional: query.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
Create a Placetel phonebook contact (POST /contacts). Required: contact (object, e.g. { name, numbers:[…] }).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contact | object | yes | Contact object for the Placetel phonebook, e.g. { name, numbers } |
Update a Placetel contact (PUT /contacts/{id}). Required: id, contact (object with the fields to change).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the Placetel contact to change |
| contact | object | yes | Object with the contact fields to change |
Delete a Placetel contact (DELETE /contacts/{id}). Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the Placetel contact to delete |
List Placetel groups / hunt groups (GET /groups).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
List Placetel SIP users / extensions (GET /sip_users).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
List Placetel routing objects (GET /routings).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
Send a fax via Placetel (POST /faxes). The pages come from UPLOADED documents, never from base64 arguments: upload each file first (create_document_upload_url → PUT → finalize_document_upload, or a bridge 'upload_*_to_call_pilot_ai' tool) and pass the document ids. PDFs are taken page by page, JPG/PNG photos each become one A4 page (EXIF rotation respected); all are joined in the given order into
| Parameter | Type | Required | Notes |
|---|---|---|---|
| to_number | string | yes | Recipient phone number |
| document_ids | array | yes | List of IDs (document) |
| from_number | string | no | Your Placetel fax number; defaults to the integration setting or last used number |
| string | no | Email address | |
| header | string | no | Fax header text |
Status of one Placetel fax (GET /faxes/{id}): status queued|sending|success|failed, status_info, pages, retries, and links to the sent PDF and the transmission report. Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the Placetel fax to read |
List in- and outbound Placetel faxes, newest first (GET /faxes). Optional: type (inbound|outbound), per_page (default 25), page.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| type | string | no | Filter by direction: inbound or outbound |
| per_page | number | no | Results per page (default 25) |
| page | number | no | Page number (for paging) |
Check the tenant's sipgate connection with a real authenticated read (GET /authorization/userinfo). Returns the account info or a clear error if no credentials are stored or they are rejected.
Takes no parameters.
Call ANY sipgate.io API v2 endpoint directly (covers the full API surface). Required: method (GET|POST|PUT|DELETE), path (with leading slash, e.g. '/history', '/contacts'). Optional: body (object), query (object → query string). Use the named sipgate_* tools for common resources; use this for anything else.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| method | string | yes | HTTP method: GET, POST, PUT or DELETE |
| path | string | yes | sipgate.io API v2 path with leading slash, e.g. '/history' |
| body | object | no | JSON request body sent to the API |
| query | object | no | Query-string parameters (name → value) |
Start a call via sipgate (POST /sessions/calls). Required: caller (device id like 'e0' or a number), callee (destination number). Optional: callerId. Returns the session id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| caller | string | yes | Device ID (e.g. 'e0') or number that places the call |
| callee | string | yes | Destination phone number |
| callerId | string | no | Number shown to the callee |
Send an SMS via sipgate (POST /sessions/sms). Required: smsId (SMS extension, e.g. 's0'), recipient (number), message. Returns the result.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| smsId | string | yes | SMS extension ID, e.g. 's0' |
| recipient | string | yes | Recipient phone number |
| message | string | yes | Text of the SMS |
List the sipgate call/SMS/voicemail history (GET /history). Optional: query (e.g. { types, directions, limit, offset, from, to }).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
List sipgate address-book contacts (GET /contacts). Optional: query.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
Create a sipgate contact (POST /contacts). Required: contact (object, e.g. { name, numbers:[…] }).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contact | object | yes | Contact object for sipgate, e.g. { name, numbers } |
List the tenant's sipgate phone numbers (GET /numbers).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
List sipgate devices/phonelines for a user (GET /{userId}/devices). Required: userId (e.g. 'w0').
| Parameter | Type | Required | Notes |
|---|---|---|---|
| userId | string | yes | sipgate user ID, e.g. 'w0' |
List sipgate groups (GET /groups).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
Get the sipgate account balance (GET /balance).
Takes no parameters.
Check the tenant's Grafana connection with a real authenticated read (GET /api/user — returns 401 without a valid token). Returns the logged-in user/org to prove the Service-Account token works, or a clear error if no base_url/token is stored or it is rejected.
Takes no parameters.
Call ANY Grafana HTTP API endpoint directly on the tenant's Grafana connection (covers the full API surface). Required: method (GET|POST|PUT|DELETE|PATCH), path (relative to /api, with leading slash, e.g. '/search', '/dashboards/uid/abc'). Optional: body (object), query (object → query string). Use the named grafana_* tools for common resources; use this for anything else. Secrets stay server-side
| Parameter | Type | Required | Notes |
|---|---|---|---|
| method | string | yes | HTTP method: GET, POST, PUT, DELETE or PATCH |
| path | string | yes | Grafana API path relative to /api with leading slash, e.g. '/search' |
| body | object | no | JSON request body sent to the API |
| query | object | no | Query-string parameters (name → value) |
List/search the tenant's Grafana dashboards (GET /api/search?type=dash-db). Optional: query (object of filters, e.g. { query: 'text', tag, folderIds, limit }).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
Get a single Grafana dashboard by its UID (GET /api/dashboards/uid/{uid}) on the tenant's Grafana connection. Required: uid.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uid | string | yes | UID of the Grafana dashboard |
Create or update a Grafana dashboard (POST /api/dashboards/db) on the tenant's Grafana connection. Required: dashboard (the full dashboard model object). Optional: folderUid, message, overwrite (default true).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| dashboard | object | yes | Full Grafana dashboard model object |
| folderUid | string | no | UID of the folder to store the dashboard in |
| message | string | no | Version message for this change |
| overwrite | boolean | no | Overwrite an existing dashboard (default true) |
Delete a Grafana dashboard by UID (DELETE /api/dashboards/uid/{uid}) on the tenant's Grafana connection. Required: uid.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uid | string | yes | UID of the dashboard to delete |
List the tenant's Grafana folders (GET /api/folders).
Takes no parameters.
List the tenant's configured Grafana data sources (GET /api/datasources).
Takes no parameters.
Run a unified Grafana data-source query (POST /api/ds/query) on the tenant's Grafana connection — PromQL/Loki/SQL etc. via a data source. Required: queries (array of Grafana query objects, each with a datasource). Optional: from, to.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| queries | array | yes | Grafana query objects, each with a datasource |
| from | string | no | Start of the query time range |
| to | string | no | End of the query time range |
List the tenant's provisioned Grafana alert rules (GET /api/v1/provisioning/alert-rules).
Takes no parameters.
Create or update a provisioned Grafana alert rule on the tenant's connection: POST /api/v1/provisioning/alert-rules when no uid, else PUT /api/v1/provisioning/alert-rules/{uid}. Required: rule (the alert-rule object). Optional: uid (update an existing rule).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| rule | object | yes | Grafana alert-rule object |
| uid | string | no | UID of an existing rule to update; omit to create |
Delete a provisioned Grafana alert rule by UID (DELETE /api/v1/provisioning/alert-rules/{uid}) on the tenant's connection. Required: uid.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uid | string | yes | UID of the alert rule to delete |
List currently firing/active Grafana alerts (GET /api/alertmanager/grafana/api/v2/alerts) on the tenant's connection.
Takes no parameters.
List Grafana annotations (GET /api/annotations) on the tenant's connection. Optional: query (object, e.g. { from, to, tags, dashboardUID, limit }).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | object | no | Query-string parameters (name → value) |
Create a Grafana annotation (POST /api/annotations) on the tenant's connection. Required: text. Optional: tags (array), time, timeEnd, dashboardUID, panelId.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| text | string | yes | Annotation text |
| tags | array | no | Tags (keywords) |
| time | number | no | Start time of the annotation (epoch milliseconds) |
| timeEnd | number | no | End time for a region annotation (epoch milliseconds) |
| dashboardUID | string | no | UID of the dashboard to annotate |
| panelId | number | no | ID of the panel to annotate |
List a calendar for a date range, soonest first. Without agent_id: the user's OWN calendar (calendar_events with no agent) merged with their booked meetings. With agent_id: that agent's calendar only (no meetings). user_id defaults to the authenticated caller (required under API-key auth). Optional: from/to (ISO), include_meetings (default true), agent_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | Whose calendar (defaults to the caller) |
| agent_id | string | no | An agent's calendar (omit = the user's own) |
| from | string | no | ISO start of range |
| to | string | no | ISO end of range |
| include_meetings | boolean | no | Merge booked meetings (default true; user calendar only) |
| limit | number | no | Maximum number of entries to return |
Find an existing appointment WITHOUT knowing its id — search by subject, participant, lead or period. This is the tool to use before update_calendar_event, update_meeting or delete_calendar_event, all of which need an id. Searches ALL of the user's calendars by default — their own and every agent's — because the point is that you do not know where the appointment is; each result names its `calenda
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | string | no | Subject, participant or any word from the entry |
| lead_id | string | no | Only appointments linked to this lead |
| from | string | no | ISO start of range |
| to | string | no | ISO end of range |
| user_id | string | no | Whose calendar (defaults to the caller) |
| agent_id | string | no | Narrow to one agent's calendar. Omit to search ALL of the user's calendars — their own and every agent's; that is the point of this tool. |
| timezone | string | no | IANA zone that from/to are meant in, and the fallback for reading stored times. Defaults to the calendar owner's. |
| include_meetings | boolean | no | Also include meetings |
| limit | number | no | Maximum number of entries to return |
Add an event to a calendar. Required: title, start_at (ISO), end_at (ISO). Optional: user_id (defaults to caller), agent_id (omit = the user's own calendar), all_day, location, description, lead_id (links the appointment to a lead so it shows up on that record and in find_calendar_event), timezone (IANA; defaults to the calendar owner's). Times without an offset are read as wall-clock time in that
| Parameter | Type | Required | Notes |
|---|---|---|---|
| title | string | yes | Title of the calendar event |
| start_at | string | yes | Start time (ISO 8601) |
| end_at | string | yes | End time (ISO 8601) |
| user_id | string | no | ID of the user |
| agent_id | string | no | ID of the agent |
| all_day | boolean | no | true = all-day event |
| location | string | no | Location of the event |
| description | string | no | Description of the calendar event |
| lead_id | string | no | ID of the lead |
| timezone | string | no | IANA time zone, e.g. Europe/Berlin |
| rrule | string | no | Recurrence rule, e.g. 'FREQ=WEEKLY;BYDAY=MO'. Without this a series cannot be created at all — one entry stands for the whole series. |
| recurrence_end | string | no | ISO date the series stops on. Omit for open-ended. |
| brain_id | string | no | Agent brain (category) this event belongs to. |
Update a calendar event (partial) — reschedule (start_at/end_at) or edit title/location/description/all_day/lead_id. Get the event_id from find_calendar_event; an id belonging to a meeting is not accepted here, use update_meeting for those. Times without an offset are read as wall-clock time in the event's timezone (pass timezone to override). Changes sync to Google if linked (user calendar).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| event_id | string | yes | ID of the event to change |
| title | string | no | Title of the calendar event |
| start_at | string | no | Start time (ISO 8601) |
| end_at | string | no | End time (ISO 8601) |
| all_day | boolean | no | true = all-day event |
| location | string | no | New location of the event |
| description | string | no | Description of the calendar event |
| status | string | no | New status |
| lead_id | string | no | ID of the lead |
| timezone | string | no | IANA time zone, e.g. Europe/Berlin |
Delete a calendar event (soft-delete; also removed from Google if linked).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| event_id | string | yes | ID of the event to delete |
Run a two-way Google Calendar sync now for a user (push the user's own events + pull Google changes). user_id defaults to the caller. Agent calendars are app-internal and not synced. No-op if the user hasn't linked Google.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | ID of the user |
File a support ticket for CallPilotAI itself — the same channel as the feedback button at the bottom right of the website, so it lands in the same queue and gets answered the same way. Use it when you hit something that looks like a defect in the product rather than a problem with the data: a tool that errors where it should not, a wrong result, a missing capability that blocks the task. Required:
| Parameter | Type | Required | Notes |
|---|---|---|---|
| description | string | yes | What you tried, what happened and what you expected |
| severity | string | no | Severity hint: low, normal, high or critical |
| contact_email | string | no | Who should be answered; omit to keep the answer inside support |
| error_text | string | no | Error message pasted verbatim |
| page_url | string | no | Page URL |
| tool_name | string | no | Name of the tool that misbehaved |
Which tenants this connection may act in, and why: 'self' (its own), 'child' (a sub-account of it) or 'delegation' (an independent customer let it in, and can revoke that at any time). Shows which one is currently active, whether it may write there, and when a delegation expires. Call this before switch_tenant — the ids come from here.
Takes no parameters.
Act inside another tenant from now on — same connection, same key. Use it ON YOUR OWN, without asking, whenever the task belongs to another tenant (its company, customer, project, module or connected system such as Support-AI-ze/TenderAIze lives there — see list_my_tenants and the server instructions); say in one sentence that you switched, and switch back when done. Required: tenant_id, or null/o
| Parameter | Type | Required | Notes |
|---|---|---|---|
| tenant_id | string | no | ID of the tenant |
| agent_id | string | no | Agent in the target tenant to act as, or "none". Omit to use the session's own agent where it exists. |
The document templates of this tenant — letters, brochures. Each row says which variables and which named images the template expects, so you can see what a render needs before attempting one. Optional: format ('html' or 'docx'), include_inactive.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| format | string | no | Only templates of this format: 'html' or 'docx' |
| include_inactive | boolean | no | Also include inactive entries |
One template with its body, its named assets and the placeholders it contains. Required: template_id or key. Optional: with_body (default true — pass false when you only need to know what it expects; a template body with images inlined is megabytes).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| template_id | string | no | ID of the template to read |
| key | string | no | Template key (alternative to template_id) |
| with_body | boolean | no | Include the template body (default true); false returns only what it expects |
Create or replace a template. The body is checked before saving: an unclosed {{#each}}/{{#if}} or an unknown block is rejected with its line number. Required: key (short handle, unique per tenant), name, and the source — either body (the HTML WITH placeholders) or body_document_id (an already uploaded .html file, read straight from storage). Prefer body_document_id for anything sizeable: the templ
| Parameter | Type | Required | Notes |
|---|---|---|---|
| key | string | yes | Short handle of the template, unique per tenant |
| name | string | yes | Name of the document template |
| body | string | no | Body text |
| body_document_id | string | no | ID of the body document |
| format | string | no | Template format: html (default) or docx |
| description | string | no | Description of the document template |
| active | boolean | no | Whether the entry is active |
Turn a template (or an already rendered HTML document) into a PDF via the tenant's hosted browser, and store it. Source: either template_id/key (+ variables) or document_id of an HTML document. Page size and margins come from the template's own CSS — nothing is added here, because two millimetres are enough to push a DIN 5008 address block out of the envelope window. Returns document_id; view it w
| Parameter | Type | Required | Notes |
|---|---|---|---|
| template_id | string | no | ID of the template |
| key | string | no | Template key (alternative to template_id) |
| document_id | string | no | An HTML document to convert, instead of a template. |
| variables | object | no | Values for the template's {{placeholders}}; arrays of objects for {{#each list}} blocks. |
| title | string | no | Title of the stored PDF document |
Load a page in the tenant's hosted browser and return the RENDERED html — the state after JavaScript has run, which a plain fetch cannot see. Required: url (http/https, public addresses only; internal and cloud-metadata addresses are refused). Optional: wait_ms (wait for the network to settle), max_chars (default 100000), stealth (ask Browserless to reduce automation signals; this does not solve o
| Parameter | Type | Required | Notes |
|---|---|---|---|
| url | string | yes | Public http/https URL to load |
| wait_ms | number | no | Milliseconds to wait for the network to settle |
| max_chars | number | no | Maximum characters of HTML returned (default 100000) |
| stealth | boolean | no | Enable Browserless stealth launch mode. Does not solve CAPTCHA challenges. |
Run a multi-step flow in the tenant's hosted browser — this is the tool for portals that have no API and need a login. Steps are NAMED, not JavaScript: goto (url), type (selector + value OR secret), click (selector, optional), wait_for (selector or ms, optional), read (selector + as, optional attribute), count (selector + as). Passwords are NEVER passed in: give secret: "<name>" on a type step a
| Parameter | Type | Required | Notes |
|---|---|---|---|
| steps | array | yes | The steps in order. At least one goto. |
| secrets | object | no | Name -> { provider, field } from the tenant vault, e.g. { "passwort": { "provider": "freelancermap", "field": "password" } }. |
| stealth | boolean | no | Enable Browserless stealth launch mode. Does not solve CAPTCHA challenges. |
Take a screenshot of a page in the tenant's hosted browser and store it as a document (PNG). Required: url. Optional: full_page (default true), width, height, title, entity/entity_id to file it against a record. Returns document_id — view it with get_document_link.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| url | string | yes | URL of the page to capture |
| full_page | boolean | no | Capture the whole page (default true) |
| width | number | no | Viewport width in pixels |
| height | number | no | Viewport height in pixels |
| title | string | no | Title of the stored screenshot document |
| entity | string | no | Record type to file the screenshot against; use with entity_id |
| entity_id | string | no | ID of the record |
Download an existing image through the tenant's hosted browser after an optional authenticated flow and store it as a document. Required: steps (same named actions as browser_run_flow, including at least one goto) and image with exactly one of url or selector. Secrets are resolved from the tenant vault exactly as for browser_run_flow. The bytes must have a recognised raster-image signature; an HTT
| Parameter | Type | Required | Notes |
|---|---|---|---|
| steps | array | yes | Browser actions as in browser_run_flow, including at least one goto |
| image | object | yes | Image to download: exactly one of url or selector |
| secrets | object | no | Name -> { provider, field } from the tenant vault. |
| stealth | boolean | no | Ask the browser to reduce automation signals (does not bypass CAPTCHAs) |
| title | string | no | Title of the stored image document |
| entity | string | no | Record type to file the image against; use with entity_id |
| entity_id | string | no | ID of the record |
Click an item in the tenant's hosted browser, capture the file download, and store it as a document. Supports PDF, ZIP, Office, CSV, images and other file formats. Required: steps (same safe named actions as browser_run_flow, including a goto) and download.selector for the final clickable item. Secrets are resolved from the tenant vault. Empty files, files over 25 MB, and HTML login/error pages ma
| Parameter | Type | Required | Notes |
|---|---|---|---|
| steps | array | yes | Browser actions as in browser_run_flow, including a goto |
| download | object | yes | Download trigger: selector of the item to click, optional wait_ms |
| secrets | object | no | Name -> { provider, field } from the tenant vault. |
| stealth | boolean | no | Ask the browser to reduce automation signals (does not bypass CAPTCHAs) |
| title | string | no | Title of the stored document |
| entity | string | no | Record type to file the download against; use with entity_id |
| entity_id | string | no | ID of the record |
Read the secret access log: who read which credential, when, and WHAT FOR. Append-only — entries cannot be changed or deleted, not even by this application. Optional filters: provider, outcome ('gewaehrt'|'verweigert'|'nicht_hinterlegt'|'fehler'), since (ISO), limit. Values are never logged, only that an access happened.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| provider | string | no | Only entries for this credential provider/field |
| outcome | string | no | Filter by outcome: gewaehrt, verweigert, nicht_hinterlegt or fehler |
| since | string | no | Only entries from this point in time on (ISO 8601) |
| limit | number | no | Maximum number of entries to return |
Get a download URL for a stored document. Default: time-limited (expires_in seconds, default 3600, max 86400) — to LOOK at what you produced before sending it on. permanent=true: a link that stays valid as long as the document exists (not guessable, downloads counted) — use THIS for links you put into mails or chats for other people (e.g. a Lab-Order Excel for the lab). Required: document_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| document_id | string | yes | ID of the document |
| expires_in | number | no | Link lifetime in seconds (default 3600, max 86400) |
| permanent | boolean | no | true = link valid as long as the document exists, for sharing with others |
Bind a named image to a template. Required: template_id (or key), name (the placeholder, e.g. LOGO_B64), document_id (a file already uploaded via upload_document / create_document_upload_url). The NAME is the interface, not the storage path — so the file behind it can be replaced without touching the template.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| template_id | string | no | ID of the template |
| key | string | no | Template key, alternative to template_id |
| name | string | yes | Placeholder name the image is bound to in the template, e.g. LOGO_B64 |
| document_id | string | yes | ID of the document |
Fill a template: replace variables and inline the named images, then store the result as a document and return its document_id. Required: template_id or key. Optional: variables (object), title, save (default true — pass false to get the result back without storing it). A MISSING value leaves its placeholder visible instead of blanking it: 'Sehr geehrter ,' is noticed after the letter went out, '{
| Parameter | Type | Required | Notes |
|---|---|---|---|
| template_id | string | no | ID of the template |
| key | string | no | Template key, alternative to template_id |
| variables | object | no | Values for the template placeholders, as an object (arrays for each blocks) |
| title | string | no | Title of the stored result document |
| save | boolean | no | Store the result as a document (default true); false only returns it |
The contract register: leases, service agreements, maintenance, insurance — anything with a term and a notice period. Optional: status (draft|active|terminated|expired|archived|all, default active), contract_type, our_role, counterparty (substring), account_id, expiring_within_days (contracts whose term ends inside that window), q (title/reference search, also path fragments like 'Ordner\Unterordn
| Parameter | Type | Required | Notes |
|---|---|---|---|
| status | string | no | Only entries with this status |
| contract_type | string | no | Only contracts of this type |
| our_role | string | no | Only contracts where we have this role |
| counterparty | string | no | Substring filter on the counterparty name |
| account_id | string | no | ID of the account (company) |
| expiring_within_days | number | no | Only contracts whose term ends within this many days |
| q | string | no | Free-text search term |
| reference | string | no | Exact reference match, for idempotent imports |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
| compact | boolean | no | Return only key fields in paged form, for walking a large register |
| our_account_id | string | no | ID of the own company (account) |
| intra_group | boolean | no | true = counterparty is one of our own companies, false = all others |
One contract with all its deadlines and attached documents. Required: contract_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contract_id | string | yes | ID of the contract to read |
Register a contract. Required: title. Optional: contract_type (rental|service|maintenance|lease|insurance|supply|license|loan|purchase|cooperation|employment|nda|other), our_role (customer|provider|landlord|tenant|partner|other — it decides whether a notice period binds US or the other side), counterparty_name, account_id, contact_id (main counterparty), our_account_id (which of OUR group companie
| Parameter | Type | Required | Notes |
|---|---|---|---|
| title | string | yes | Title of the contract |
| contract_type | string | no | Contract type, e.g. rental, service, maintenance, lease, insurance, nda or other |
| our_role | string | no | Our side in the contract (customer, provider, landlord, tenant, partner, other); decides whom a notice period binds |
| counterparty_name | string | no | Name of the other contracting party |
| account_id | string | no | ID of the account (company) |
| contact_id | string | no | ID of the contact |
| lead_id | string | no | ID of the lead |
| starts_on | string | no | Start date of the contract term (ISO date) |
| ends_on | string | no | End date of the contract term (ISO date); basis for derived deadlines |
| auto_renew | boolean | no | Whether the contract renews automatically when not terminated |
| renew_months | number | no | Length of each automatic renewal in months |
| notice_months | number | no | Notice period in months before the term ends |
| value_amount | number | no | Contract value per value_period |
| value_currency | string | no | Currency of the contract value, e.g. EUR or CHF |
| value_period | string | no | Period the value refers to, e.g. month, quarter, year or once |
| reference | string | no | External reference or contract number; used for idempotent imports |
| notes | string | no | Free-text notes |
| status | string | no | Initial status |
| source_root_id | string | no | ID of the source root folder |
| source_file_id | string | no | ID of the source file |
Change a contract. Required: contract_id. Same optional fields as create_contract. Changing ends_on, notice_months, auto_renew or renew_months recalculates the derived deadlines; manually entered ones are never touched.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contract_id | string | yes | ID of the contract to change |
| title | string | no | Title of the contract |
| contract_type | string | no | Contract type, e.g. rental, service, maintenance, lease, insurance, nda or other |
| our_role | string | no | Our side in the contract (customer, provider, landlord, tenant, partner, other); decides whom a notice period binds |
| counterparty_name | string | no | Name of the other contracting party |
| account_id | string | no | ID of the account (company) |
| contact_id | string | no | ID of the contact |
| lead_id | string | no | ID of the lead |
| starts_on | string | no | Start date of the contract term (ISO date) |
| ends_on | string | no | End date of the contract term (ISO date); basis for derived deadlines |
| auto_renew | boolean | no | Whether the contract renews automatically when not terminated |
| renew_months | number | no | Length of each automatic renewal in months |
| notice_months | number | no | Notice period in months before the term ends |
| value_amount | number | no | Contract value per value_period |
| value_currency | string | no | Currency of the contract value, e.g. EUR or CHF |
| value_period | string | no | Period the value refers to, e.g. month, quarter, year or once |
| reference | string | no | External reference or contract number; used for idempotent imports |
| notes | string | no | Free-text notes |
| status | string | no | New status |
| source_root_id | string | no | ID of the source root folder |
What lapses when, across all contracts, earliest first. Optional: contract_id, status (default open), kind, due_within_days (default 90), include_past (default true — a deadline that has already passed is the one worth seeing), limit. Every row says whether it was derived from the term or entered by hand, and carries its evidence.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contract_id | string | no | ID of the contract |
| status | string | no | Only entries with this status |
| kind | string | no | Only deadlines of this kind, e.g. notice, renewal, review, payment, expiry |
| due_within_days | number | no | Only deadlines due within this many days (default 90) |
| include_past | boolean | no | Also include past |
| limit | number | no | Maximum number of entries to return |
Add a deadline that does not follow from the term — a rent review, an index adjustment, a payment date. Required: contract_id, title, due_on. Optional: kind, lead_days, evidence (the clause it comes from — a deadline without one is an assertion).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contract_id | string | yes | ID of the contract |
| title | string | yes | Title of the contract deadline |
| due_on | string | yes | Due date of the deadline (ISO date) |
| kind | string | no | Kind of deadline, e.g. review, payment, renewal, notice or other |
| lead_days | number | no | Days before due_on at which the deadline should be acted on |
| evidence | string | no | The contract clause the deadline comes from |
Mark a deadline done, missed or dismissed. Required: deadline_id, status (done|missed|dismissed). 'missed' is deliberately available: a register that can only record success stops being a record.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| deadline_id | string | yes | ID of the deadline |
| status | string | yes | New status: done, missed or dismissed |
One-time backfill (admin only): close the open MACHINE-CREATED deadlines — both derived (from term/notice) and the ones created by AI extraction on import (evidence starts with [Extraktion]) — of contracts that are already expired, terminated or archived. These are the older rows that predate the automatic close on status change, so a long-passed deadline no longer surfaces as open. Reads the whol
Takes no parameters.
Turn deadlines that are inside their lead time into todos, one per deadline, and never twice (the deadline remembers its todo). Optional: user_id (whose list, defaults to the caller), due_within_days (default: each deadline's own lead time), contract_id. Returns what was created and what already had a todo.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | ID of the user |
| due_within_days | number | no | Only deadlines due within this many days (default: each deadline's own lead time) |
| contract_id | string | no | ID of the contract |
Look through a connected drive and propose contract bundles from FILE AND FOLDER NAMES: which file is the contract, which are annexes, amendments, terminations and handover protocols, and which belong together. Required: root_id — roots[].id from list_file_accounts (the provider drive id works too). Optional: folder_id, query, limit (default 200), min_confidence (default 0.5). Reads names only — n
| Parameter | Type | Required | Notes |
|---|---|---|---|
| root_id | string | yes | ID of the root folder |
| folder_id | string | no | ID of the folder |
| query | string | no | Search text |
| limit | number | no | Maximum number of entries to return |
| min_confidence | number | no | Minimum grouping confidence for proposed bundles, 0..1 (default 0.5) |
Take one proposed bundle over: creates the contract and attaches every file as a document that POINTS AT the original in the drive (nothing is copied — a copy ages and would have to be deleted when the original is, which nobody notices). Required: root_id, title, files (array of {file_id, name, role} as returned by scan_contract_files). Optional: every field of create_contract (ends_on, notice_mon
| Parameter | Type | Required | Notes |
|---|---|---|---|
| root_id | string | yes | ID of the root folder |
| title | string | yes | Title of the contract to create |
| files | array | yes | Files of the bundle as returned by scan_contract_files |
| contract_type | string | no | Contract type, e.g. rental, service, maintenance, lease, insurance, nda or other |
| our_role | string | no | Our side in the contract (customer, provider, landlord, tenant, partner, other); decides whom a notice period binds |
| counterparty_name | string | no | Name of the other contracting party |
| account_id | string | no | ID of the account (company) |
| starts_on | string | no | Start date of the contract term (ISO date) |
| ends_on | string | no | End date of the contract term (ISO date); basis for derived deadlines |
| auto_renew | boolean | no | Whether the contract renews automatically when not terminated |
| renew_months | number | no | Length of each automatic renewal in months |
| notice_months | number | no | Notice period in months before the term ends |
| value_amount | number | no | Contract value per value_period |
| value_currency | string | no | Currency of the contract value, e.g. EUR or CHF |
| value_period | string | no | Period the value refers to, e.g. month, quarter, year or once |
| reference | string | no | External reference or contract number; used for idempotent imports |
| notes | string | no | Free-text notes |
Connected meeting providers (Google Meet, Microsoft Teams, Zoom) for a user, with the measured verdict on transcripts: transcripts_ok true = the provider answered, false = it refused (plan or admin consent), null = undecided. user_id defaults to the caller.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | ID of the user |
Fetch conferences and their transcripts now, for the caller's connected meeting accounts. Optional: account_id (just that one), since (ISO date, default 30 days back — transcripts appear with delay at every provider, so a short window misses exactly the meeting somebody is waiting for), fetch_transcripts (default true). Already-fetched transcripts are not fetched again.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| account_id | string | no | ID of the account (company) |
| since | string | no | Only entries from this point in time on (ISO 8601) |
| fetch_transcripts | boolean | no | Also fetch transcripts (default true) |
Conferences pulled from the connected meeting providers, newest first. Optional: lead_id, with_transcript (only those whose transcript is stored), since, limit (default 20). transcript_status says why one is missing: none = the provider has no transcript, available = there is one but it has not been fetched, error = fetching failed (transcript_error says why).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | no | ID of the lead |
| with_transcript | boolean | no | Only conferences whose transcript is stored |
| since | string | no | Only entries from this point in time on (ISO 8601) |
| limit | number | no | Maximum number of entries to return |
The transcript of one conference. Required: recording_id (from list_meeting_recordings). Optional: segments (default false — with it you also get who said what and when, which is long; without it just the text).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| recording_id | string | yes | ID of the recording |
| segments | boolean | no | Include speaker segments with timing (default false = plain text only) |
Connected file storages (Google Drive, OneDrive, SharePoint, Dropbox) for a user, with their drives/libraries. The root ids listed here are what list_remote_files expects. user_id defaults to the caller.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | ID of the user |
Browse or search a connected storage. Required: root_id — roots[].id from list_file_accounts (the provider drive id works too). Optional: folder_id (browse inside a folder), query (search — the PROVIDER searches, so Drive also looks inside PDFs and Graph honours sharing), limit (default 50, max 200). Nothing is copied into CallPilotAI; you get metadata plus a link to the original.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| root_id | string | yes | ID of the root folder |
| folder_id | string | no | ID of the folder |
| query | string | no | Search text |
| limit | number | no | Maximum number of entries to return |
A short-lived download link for one file. Required: root_id, file_id (for Dropbox: the path). Separate from list_remote_files on purpose — issuing a link per row would hand out hundreds of links of which one gets used.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| root_id | string | yes | ID of the root folder |
| file_id | string | yes | ID of the file |
Get a one-time upload address for a file in the agent file store — NEVER send file content as base64 through a tool. Required: name (e.g. bericht.pdf). Upload the raw bytes with PUT (curl -X PUT --data-binary @file -H 'Content-Type: …' '<upload_url>'), then pass the returned path to upload_remote_file (put it into Google Drive/OneDrive/Dropbox/ownCloud) or get_file_link (a link to share). Valid 2
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name of the file |
Put a file from the agent file store into a connected storage (Google Drive, OneDrive, SharePoint, Dropbox, ownCloud). Required: root_id (roots[].id from list_file_accounts), path (from create_file_upload_url, or a WhatsApp attachment path). Optional: folder_id (target folder id; Dropbox/ownCloud: the folder path; empty = root), name (file name there; default: the stored name). Returns the new fil
| Parameter | Type | Required | Notes |
|---|---|---|---|
| root_id | string | yes | ID of the root folder |
| path | string | yes | Path in the agent file store, from create_file_upload_url or a WhatsApp attachment |
| folder_id | string | no | ID of the folder |
| name | string | no | Name of the remote file |
A time-limited download link for a file in the agent file store (e.g. to give a generated PDF to someone). Required: path. Optional: hours (default 24, max 168).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| path | string | yes | Path of the file in the agent file store |
| hours | number | no | Link validity in hours (default 24, max 168) |
Pull inbound Gmail replies into matching leads' timelines (list_lead_messages). Only matches to EXISTING leads (via a prior email link, else an exact leads.email match) — never creates new leads from unmatched senders. No-op if Gmail isn't connected (Integrations page). No server-side push (no cron) — call this periodically to pick up new mail. Returns { fetched, matched, skipped_unmatched, skippe
Takes no parameters.
Start a Dropscan sync and return IMMEDIATELY with a job_id — the work runs in the background (a full content pass takes minutes). Poll get_dropscan_sync_status for the result. It upserts mailings, stores each scan's PDF + envelope + Dropscan's OCR text (also for status='destroyed' — only the paper is shredded, the scan stays available), derives sender/subject, flags Behördenpost, and raises a HIGH
| Parameter | Type | Required | Notes |
|---|---|---|---|
| max_pages | number | no | Number of mailing pages to read, 100 mailings each (default 1) |
| max_fetches | number | no | Maximum content downloads in this run (default 25) |
| refresh | boolean | no | Re-read already stored mailings, least recently fetched first |
| mailing_id | string | no | ID of the group mailing |
Register, inspect or remove the Dropscan push webhook, so new mail arrives without waiting for a sync. action: 'register' (default) points Dropscan at this project's dropscan-sync endpoint for the events mailing_received + mailing_scanned (or the events you pass) and replaces any rule we registered before; 'list' shows the rules currently registered on the Dropscan account; 'delete' removes ours
| Parameter | Type | Required | Notes |
|---|---|---|---|
| action | string | no | register (default), list or delete |
| rule_id | string | no | ID of the rule |
| events | array | no | Dropscan events to subscribe to (default mailing_received and mailing_scanned) |
Status of a Dropscan sync started by sync_dropscan. Without job_id returns the most recent run. Returns { state: 'running'|'completed'|'failed', seen, created, updated, scans_stored, content_fetched, content_failed, deadlines_found, remaining_without_content, failures[], started_at, finished_at }. remaining_without_content > 0 means a backfill should call sync_dropscan again.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| job_id | string | no | ID of the job |
List Dropscan mailings (physical mail), newest first. Optional review_status ('new'|'in_review'|'actioned'|'archived'), status (Dropscan-side: received|scan_requested|scanned|forward_requested|forwarded|destroy_requested|destroyed), only_deadlines (true = only mailings with a recognised Frist), due_days (Frist within N days), search (subject/sender/barcode). Returns the deadline, whether it looks
| Parameter | Type | Required | Notes |
|---|---|---|---|
| review_status | string | no | Local triage status: new, in_review, actioned or archived |
| status | string | no | Only entries with this status |
| only_deadlines | boolean | no | Only mailings with a recognised deadline (Frist) |
| due_days | number | no | Only mailings with a deadline within this many days |
| search | string | no | Free-text search term |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
Full detail for one Dropscan mailing: the OCR plaintext of the letter, the recognised Frist, and short-lived signed URLs to the stored scan PDF and envelope photo. This is how you READ a letter — no OCR needed on your side. Required: mailing_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| mailing_id | string | yes | ID of the group mailing to read |
Update the local triage fields of a Dropscan mailing (never touches Dropscan itself): review_status, is_official_mail, deadline_at (ISO) + deadline_note + deadline_kind ('frist'=we must act | 'termin'=something happens), sender_name, subject, ai_summary. Use this after reading a scan to record what it is. Setting review_status='actioned'/'archived' is the ONLY way a mailing leaves the inbox — ther
| Parameter | Type | Required | Notes |
|---|---|---|---|
| mailing_id | string | yes | ID of the group mailing to change |
| review_status | string | no | Local triage status: new, in_review, actioned or archived; actioned/archived leaves the inbox |
| is_official_mail | boolean | no | Whether the letter is official mail from an authority (Behoerdenpost) |
| deadline_at | string | no | Deadline time (ISO 8601) |
| deadline_note | string | no | Short note on what the deadline requires |
| deadline_kind | string | no | frist = we must act, termin = something happens on that date |
| sender_name | string | no | Sender display name |
| subject | string | no | Subject line |
| ai_summary | string | no | Short summary of the letter's content |
Attach a Dropscan mailing to a CRM record (lead_id and/or contact_id/account_id) and mirror the scan into that record's Documents tab as a doc_type='letter' document. Required: mailing_id + at least one of lead_id/contact_id/account_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| mailing_id | string | yes | ID of the group mailing |
| lead_id | string | no | ID of the lead |
| contact_id | string | no | ID of the contact |
| account_id | string | no | ID of the account (company) |
Ask Dropscan to open and scan the envelope of a mailing that has only been photographed so far. Required: mailing_id. Costs money on the Dropscan plan.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| mailing_id | string | yes | ID of the group mailing |
Queue the physical mailing to be forwarded to your postal address. Required: mailing_id. Optional forwarding_batch_id to add it to an existing batch.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| mailing_id | string | yes | ID of the group mailing |
| forwarding_batch_id | string | no | ID of the forwarding batch |
IRREVERSIBLE: have Dropscan shred the physical mailing. Only for mail already scanned AND reviewed — never call this to tidy up an inbox, since Behördenpost may carry a Frist and the paper original can be the only proof of service. Required: mailing_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| mailing_id | string | yes | ID of the group mailing |
List a user's personal agents (assistants). Each agent has its own calendar (list_calendar_events with agent_id) and todo list (list_todos with agent_id). With user_id: that user's agents. Without: when you act as an agent, your team (all agents of your owner); otherwise your own agents, or — if you own none — all agents of the tenant. An empty result therefore really means there are none.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | ID of the user |
Create a personal agent for a user. Required: name. Optional: description, color (UI accent), user_id (defaults to caller), trigger_mode ("mcp_client" default — runs only while an MCP client drives it — or "server_job": the server triggers it on a schedule), run_every_minutes (the cadence a server_job needs), and the profile: persona, values (the agent's rules), autonomy (autonomous|approval|read_
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name of the agent |
| description | string | no | Description of the agent |
| color | string | no | Colour (e.g. hex code) |
| user_id | string | no | ID of the user |
| persona | string | no | Who the agent is, in its own words |
| values | string | no | The agent's rules (shown as identity.values in get_agent_bootstrap) |
| autonomy | string | no | How freely the agent acts: autonomous, approval (default) or read_only |
| fast_model | string | no | Model for quick, routine steps of this agent |
| deliberate_model | string | no | Model for slower, more careful reasoning steps of this agent |
| trigger_mode | string | no | Who runs the agent: mcp_client (default, only while a client drives it) or server_job (server schedule) |
| run_every_minutes | number | no | Run cadence in minutes for server_job agents, e.g. 1440 for daily |
| timezone | string | no | IANA zone the agent works in |
| run_from | string | no | Earliest local time of day, e.g. 08:00 |
| run_to | string | no | Latest local time of day, e.g. 20:00 |
| run_days | array | no | ISO weekdays 1=Mon .. 7=Sun |
Update an agent (partial): name, description, color, active, trigger_mode, run_every_minutes, and the profile — persona, values, autonomy, fast_model, deliberate_model (unknown fields such as slug are rejected with a hint, not dropped). trigger_mode decides WHO runs this agent: "mcp_client" (default) means it only ever runs while an MCP client drives it — close the client and nothing happens, howe
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | yes | ID of the agent to change |
| name | string | no | Name of the agent |
| description | string | no | Description of the agent |
| color | string | no | Colour (e.g. hex code) |
| active | boolean | no | Whether the entry is active |
| persona | string | no | Who the agent is, in its own words |
| values | string | no | The agent's rules (shown as identity.values in get_agent_bootstrap) |
| autonomy | string | no | How freely the agent acts: autonomous, approval (default) or read_only |
| fast_model | string | no | Model for quick, routine steps of this agent |
| deliberate_model | string | no | Model for slower, more careful reasoning steps of this agent |
| trigger_mode | string | no | Who runs the agent: mcp_client (default, only while a client drives it) or server_job (server schedule) |
| run_every_minutes | number | no | Run cadence in minutes for server_job agents, e.g. 1440 for daily |
| timezone | string | no | IANA zone the agent works in |
| run_from | string | no | Earliest local time of day, e.g. 08:00 |
| run_to | string | no | Latest local time of day, e.g. 20:00 |
| run_days | array | no | ISO weekdays 1=Mon .. 7=Sun |
| grund | string | no | Why this change (goes into the optimisation register, list_optimierungen) |
Delete an agent — cascades its calendar events and todos. IRREVERSIBLE.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | yes | ID of the agent to delete |
List todo items for a scope. Without agent_id: the user's OWN todos; with agent_id: that agent's todos. user_id defaults to the caller. Optional: done (filter), due_before (ISO), kompakt (true = only id, title, done, priority, due_at, lead_id, created_at, notes cut to 200 chars; default limit 50, max 100 — use it in scheduled/takt runs, a full list of 400 todos is ~115k chars). Open first, then by
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | ID of the user |
| agent_id | string | no | ID of the agent |
| done | boolean | no | Filter by completion: true = only done, false = only open |
| due_before | string | no | Only todos due before this time (ISO) |
| limit | number | no | Maximum number of entries to return |
| kompakt | boolean | no | Return only key fields with notes cut to 200 chars (default limit 50, max 100) |
Add a todo — for the agent's OWN work list (or a person's personal reminder they asked for). Something a HUMAN must do, decide or answer goes to delegate_to_user (with an = that person), not here: todos for others were ignored for days. Required: title. Optional: user_id (defaults to caller), agent_id (omit = the user's own list), notes, due_at (ISO), priority ('low'|'normal'|'high'), lead_id (lin
| Parameter | Type | Required | Notes |
|---|---|---|---|
| title | string | yes | Title of the todo |
| user_id | string | no | ID of the user |
| agent_id | string | no | ID of the agent |
| notes | string | no | Free-text notes |
| due_at | string | no | Due date/time (ISO 8601) |
| priority | string | no | Priority |
| lead_id | string | no | ID of the lead |
| timezone | string | no | IANA time zone, e.g. Europe/Berlin |
| brain_id | string | no | Agent brain (category) this todo belongs to. |
| goal_id | string | no | Goal this todo works towards. |
| escalate_at | string | no | ISO time. If the task is still open then, it is handed to escalate_to. Deliberately NOT the same as due_at: 'by when should it be done' and 'from when must someone else look' are different questions. |
| escalate_to | string | no | user_id that takes over. Escalating to the current owner does nothing — that is a loop, not an escalation. |
| trotzdem | boolean | no | Agents only: create even if an open todo on the same list from the last 24 h names the same DN, lead or (almost) the same title — otherwise that todo is returned with dublette:true. |
Update a todo (partial): title, notes, due_at, priority, done (true stamps completed_at), timezone, escalate_at, escalate_to (set a NEW escalation step — a step that has fired is spent, so the next one is set by whoever takes over). Use done=true to mark complete. Times without a UTC offset are read as wall-clock time in the caller's timezone (pass timezone, an IANA name, to override).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| todo_id | string | yes | ID of the to-do to change |
| title | string | no | Title of the todo |
| notes | string | no | Free-text notes |
| due_at | string | no | Due date/time (ISO 8601) |
| priority | string | no | Priority |
| done | boolean | no | Mark complete (true stamps completed_at) or reopen |
| timezone | string | no | IANA time zone, e.g. Europe/Berlin |
Delete a todo item of this tenant permanently. Required: todo_id. Fails if the todo belongs to another person you may not act for. Returns { ok: true }.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| todo_id | string | yes | ID of the to-do to delete |
List a user's brains (categories that partition calendar/todos/memory/skills per task area, e.g. 'billing', 'support'). user_id defaults to the caller.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | ID of the user |
Create a brain (category). Required: name, slug (stable key). Optional: description, color, user_id. Returns { brain_id }.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name of the brain |
| slug | string | yes | Stable unique key of the brain |
| description | string | no | Description of the brain |
| color | string | no | Colour (e.g. hex code) |
| user_id | string | no | ID of the user |
List skills (procedural playbooks) for a scope. Optional brain_id, agent_id, status. Ranked by success rate. Returns name/description/trigger_hint/version/track-record (not full steps — use recall_skill).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | ID of the user |
| agent_id | string | no | ID of the agent |
| brain_id | string | no | ID of the brain |
| status | string | no | Only entries with this status |
| limit | number | no | Maximum number of entries to return |
Get the full plaintext steps of a skill by id or name (within a brain). Stamps last_used_at.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| skill_id | string | no | ID of the skill |
| name | string | no | Skill name, alternative to skill_id |
| brain_id | string | no | ID of the brain |
| user_id | string | no | ID of the user |
| agent_id | string | no | ID of the agent |
Create or update a skill (procedural playbook). Required: name, steps (plaintext how-to). Optional: description, trigger_hint, brain_id, agent_id (omit = shared across the user's agents), status. Upserts by (brain, agent, name); version-bumps on update.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name of the skill |
| steps | string | yes | Plaintext how-to steps of the skill |
| description | string | no | Description of the skill |
| trigger_hint | string | no | When the skill should be used |
| brain_id | string | no | ID of the brain |
| agent_id | string | no | ID of the agent |
| status | string | no | Initial status |
| user_id | string | no | ID of the user |
| grund | string | no | Why this change (goes into the optimisation register, list_optimierungen) |
Delete a skill for good. Identify it by skill_id, or by name (plus brain_id/agent_id when the name is not unique). A name matching several skills is REFUSED and lists them rather than picking one. To keep the success counters and merely take a skill out of circulation, use save_skill with status instead — list_skills only shows active ones. IRREVERSIBLE.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| skill_id | string | no | ID of the skill to delete |
| name | string | no | Skill name, alternative to skill_id; refused if ambiguous |
| brain_id | string | no | ID of the brain |
| agent_id | string | no | ID of the agent |
| user_id | string | no | ID of the user |
List goals (the 'why' above todos). Optional agent_id, brain_id, status. user_id defaults to the caller.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | ID of the user |
| agent_id | string | no | ID of the agent |
| brain_id | string | no | ID of the brain |
| status | string | no | Only entries with this status |
Create or update a goal. Create: title (+description, brain_id, agent_id, priority 1-5, target_date, parent_id). Update: pass goal_id + fields (status: active|achieved|paused|dropped). Returns { goal_id }.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| goal_id | string | no | ID of the goal |
| title | string | no | Title of the goal |
| description | string | no | Description of the goal |
| brain_id | string | no | ID of the brain |
| agent_id | string | no | ID of the agent |
| parent_id | string | no | ID of the parent |
| priority | number | no | Priority |
| target_date | string | no | Target date of the goal (ISO date) |
| status | string | no | New status |
| user_id | string | no | ID of the user |
Create (or update, idempotent by name — or pass agent_id to update that agent) a full agent in one call: persona/values/model tiers, granted brains, tool permissions, autonomy, and seed memory/skills/goals/todos. tenant/owner come from the caller. UPDATES ARE PARTIAL: fields you omit stay as they are (values, persona, description, models, autonomy); pass null to clear one. tool_permissions are add
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | no | Existing agent to update. name is then optional. |
| name | string | no | Name of the agent |
| description | string | no | Description of the agent |
| user_id | string | no | ID of the user |
| persona | string | no | Persona text describing the agent's role and style |
| values | string | no | The agent's rules (values) |
| fast_model | string | no | Model for quick, routine steps of this agent |
| deliberate_model | string | no | Model for slower, more careful reasoning steps of this agent |
| autonomy | string | no | autonomous|approval|read_only |
| trigger_mode | string | no | mcp_client|server_job (only when given) |
| run_every_minutes | number | no | Run cadence in minutes for server_job agents, e.g. 1440 for daily |
| run_from | string | no | HH:MM start of the working window |
| run_to | string | no | HH:MM end of the working window |
| run_days | array | no | 1=Mon..7=Sun |
| brains | array | no | [{ slug, name?, create?, can_write? }] |
| tool_permissions | array | no | [{ tool (or tool_name), permission: allow|disallow|approval, brain_slug? }] |
| seed_memory | array | no | [{ brain_slug?, key?, content, importance? }] |
| seed_skills | array | no | [{ brain_slug?, name, steps, trigger_hint? }] |
| goals | array | no | [{ brain_slug?, title, description?, target_date? }] |
| seed_todos | array | no | [{ brain_slug?, title, due_at?, priority? }] |
Fetch an agent's bootstrap to start processing: identity (persona/values/models), granted brains, tool permissions, work queue (pending todos + upcoming events + due reminders), PLAINTEXT skill/memory summaries, and team — the user's OTHER agents (id, name, description, persona summary, brains/domains), so this agent can recognize work that belongs to a teammate and delegate_task to them instead o
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | yes | Agent id from list_agents, or the agent's exact name (resolved within this tenant). |
| kompakt | boolean | no | Small answer for scheduled runs (see description). |
Serialize an agent's brain to a portable Markdown (default) or JSON document: persona/values + plaintext skills + top memories + goals + team (the user's other agents and their brains/domains, for delegate_task routing) + optional work queue. Redacts 'private'-source memory. format: 'md'|'json'; optional brain_id to scope to one brain.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | yes | ID of the agent |
| brain_id | string | no | ID of the brain |
| format | string | no | Output format: md (default) or json |
| include_work_queue | boolean | no | Also include work queue |
Attach a reminder to an event or todo. Required: subject_type ('event'|'todo'), subject_id, trigger_at (ISO) OR offset_minutes (before due/start). action: 'notify' (default) or 'trigger_agent' (+agent_id) so an agent re-runs at T. NOTE: fires on-demand / via the mcp_client bootstrap (no server cron yet).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| subject_type | string | yes | What the reminder is attached to: event or todo |
| subject_id | string | yes | ID of the subject record |
| trigger_at | string | no | Trigger time (ISO 8601) |
| offset_minutes | number | no | Minutes before the due/start time to fire, alternative to trigger_at |
| action | string | no | notify (default) or trigger_agent to re-run agent_id at that time |
| agent_id | string | no | ID of the agent |
| channel | string | no | Delivery channel (default in_app) |
Return free slots (default 30 min) in a date range [from,to], given the events + meetings of everyone involved. One person by default (user_id, or the caller). Pass user_ids to get the slots that suit ALL of them — busy is anything that is busy for anyone, which is what a two-way booking needs. Optional duration_min, agent_id (that agent's calendar instead of a person's). What this CANNOT do: read
| Parameter | Type | Required | Notes |
|---|---|---|---|
| from | string | yes | Start of the search range (ISO date-time) |
| to | string | yes | End of the search range (ISO date-time) |
| duration_min | number | no | Slot length in minutes (default 30) |
| user_id | string | no | ID of the user |
| user_ids | array | no | Two or more people who all have to be free |
| agent_id | string | no | ID of the agent |
Append an episode to an agent's journal (what it did + outcome) — the raw material reflect learns from. Required: agent_id, summary. Optional: outcome ('success'|'partial'|'failure'|'abandoned'), brain_id, goal_id, actions (object), prediction (what you expected BEFORE acting) and confidence (0..1, how likely you thought success was). Give both: the difference between them and what happened is t
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | yes | ID of the agent |
| summary | string | yes | What the agent did in this episode |
| outcome | string | no | Result: success, partial, failure or abandoned |
| brain_id | string | no | ID of the brain |
| goal_id | string | no | ID of the goal |
| actions | object | no | Structured details of the actions taken |
| prediction | string | no | What you expected before acting |
| confidence | number | no | How likely you thought success was before acting, 0..1 |
Run consolidation over an agent's unconsolidated episodes (for a brain) → durable memory + reusable skills + preferences, then mark them done. On-demand (no scheduler). Required: agent_id. Optional: brain_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | yes | ID of the agent |
| brain_id | string | no | ID of the brain |
Log an outcome/correction as a learning signal. Required: agent_id, subject_type ('episode'|'event'|'todo'|'tool_call'|'message'), signal ('approved'|'rejected'|'corrected'|'rated'|'edited'). Optional: subject_id, correction (the fix — highest-value), rating (1-5), source.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | yes | ID of the agent |
| subject_type | string | yes | What the feedback is about: episode, event, todo, tool_call or message |
| subject_id | string | no | ID of the subject record |
| signal | string | yes | Kind of feedback: approved, rejected, corrected, rated or edited |
| correction | string | no | The corrected version or fix |
| rating | number | no | Rating from 1 to 5 |
| source | string | no | Origin of the feedback (default user) |
Create/update a person the agent knows (social memory). Create: display_name (+relationship, notes, contact). Update: pass person_id + fields. Returns { person_id }.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| person_id | string | no | ID of the person |
| display_name | string | no | Name the agent uses for the person |
| relationship | string | no | How the person relates to the user or agent, e.g. customer or colleague |
| notes | string | no | Free-text notes |
| contact | object | no | Contact details of the person, as an object |
| user_id | string | no | ID of the user |
Look up known people by id or name/query. Returns matching people + their learned preferences.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| person_id | string | no | ID of the person |
| q | string | no | Free-text search term |
| limit | number | no | Maximum number of entries to return |
Hand a task from one agent to another (both owned by the caller). Required: to_agent_id. Optional: from_agent_id (default: the acting agent), task_todo_id, message. to_agent_id/from_agent_id take the agent id from list_agents OR its exact name (e.g. 'Termin-Assistent', case-insensitive), resolved only within this tenant; an unknown or ambiguous name is refused with the list of available agents (na
| Parameter | Type | Required | Notes |
|---|---|---|---|
| to_agent_id | string | yes | ID of the to agent |
| from_agent_id | string | no | ID of the from agent |
| task_todo_id | string | no | ID of the task todo |
| message | string | no | Everything the receiving agent needs, including where to send the result |
| nur_info | boolean | no | Information only: no task, no start, does not wake the receiver. |
| wait_for_result | boolean | no | Start the receiver now and resume this session with its result. |
| session_name | string | no | Name of the sending session to resume with the result |
| priority | string | no | Priority |
For the RECEIVER of a handoff (delegate_task): report the result back. status done | partial | blocked, result = what was done / found (the data the sender needs). If the sender waits (wait_for_result) its session is resumed with this result automatically. questions: open points only a human can decide — they are collected in the SENDER's delegation, not scattered. Call this once when finished, in
| Parameter | Type | Required | Notes |
|---|---|---|---|
| delegation_id | string | yes | The handoff id (from the task text). |
| status | string | yes | Outcome of the handed-over task: done, partial or blocked |
| result | string | yes | What was done or found, the data the sender needs |
| questions | array | no | Open points only a human can decide, collected in the sender's delegation |
State of a handoff (delegate_task id): waiting | running | reported | blocked | timeout | failed | cancelled, with result. Or of a delegation to the human (delegate_to_user id) including its depends_on: what each question waits for and whether that is still open.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| delegation_id | string | yes | ID of the delegation |
How delegations to humans are followed up in this tenant: wichtig_ab (importance from which a deadline, a daily reminder and escalation apply; default 60), eskalation_user_id/name (who gets unanswered items after the second deadline), samstag (Saturday is a working day), tagesuebersicht (06:45 daily overview), aktiv — plus the rules in words. Read-only.
Takes no parameters.
Admins only, not as an agent: set how unanswered delegations to humans are followed up. All fields optional: wichtig_ab (0-100), eskalation (name or user_id of the escalation person, empty = none), samstag, tagesuebersicht, aktiv. Reminders and the overview appear at the bell and in the delegation inbox on the website and in the app — never by mail or WhatsApp.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| wichtig_ab | number | no | Importance (0-100) from which a delegation counts as important for follow-up |
| eskalation | string | no | Name or user_id; empty string = no escalation. |
| samstag | boolean | no | Whether follow-up also happens on Saturdays |
| tagesuebersicht | boolean | no | Whether a daily overview of open delegations is shown |
| aktiv | boolean | no | Whether the entry is active |
Who answers and who does not: per person open delegations, important open, overdue, oldest open since, answered in the period and median answer time (hours), plus the top 3 open titles. Only for admins and the escalation person. tage = period for answered ones (default 30).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| tage | number | no | Number of days |
The human's delegation inbox (the Dev-Agent tab 'Delegationen'): questions agents handed to this person with delegate_to_user, and permission questions. Same rows and same order as the tab — open first, oldest first. Default status open. Each row: id, summary, priority, status/stand, kind, agent, session, open question count, waiting_for_dependency, url (opens it in the app). Only the caller's own
| Parameter | Type | Required | Notes |
|---|---|---|---|
| status | string | no | open (default) | answered (answered, resuming or done) | cancelled | all |
| agent_id | string | no | Only delegations from this agent. |
| session_id | string | no | Only delegations from this Dev-Agent session. |
| kind | string | no | question = ordinary question, permission = tool-permission question. |
| query | string | no | Search like the tab: id, summary, session, comment, agent name, question texts, answers, recommendations. |
| limit | number | no | Default 50. |
| offset | number | no | Number of entries to skip (for paging) |
One delegation to the human, complete: summary, every question with text, importance, recommendations, mail draft (email), recommended agent, permission request, depends_on with its CURRENT state (open true/false), answers, user_comment, url. 'not found' for ids of other tenants or people.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| delegation_id | string | yes | ID of the delegation to read |
Answer an OPEN delegation as the human — same as 'Antworten senden' in the tab: writes each answer, status answered, answered_at; the Dev-Agent session that asked is then resumed the usual way (runner pick-up). Every question needs an answer (earlier answers are kept). Only the person themselves: refused while an agent is active (work_as_agent). Permission questions (kind permission): give permiss
| Parameter | Type | Required | Notes |
|---|---|---|---|
| delegation_id | string | yes | ID of the delegation |
| answers | array | no | One entry per question (question ids from get_user_delegation). |
| comment | string | no | Optional note to the agent (user_comment). |
| permission | string | no | Only for permission questions. |
| question_id | string | no | Permission question to answer when there are several; default the first. |
Cancel a delegation to the human — the tab's 'Abbrechen': status cancelled, cancelled_at. Allowed while open, answered or running (a running turn still ends, its result no longer counts). Only the person themselves, not an active agent.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| delegation_id | string | yes | ID of the delegation |
| comment | string | no | Optional reason (user_comment). |
Send a delegation back with a comment — the tab's 'Erneut mit Kommentar': status answered, user_comment, answered_at, cancelled_at cleared; the session continues like after an answer, with the comment first. Refused while the session is actively resuming it. Only the person themselves, not an active agent.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| delegation_id | string | yes | ID of the delegation |
| comment | string | yes | What should be done differently. |
Ask the human for tool rights you lack, before or after a refusal: creates ONE permission question in the delegations (Einmalig / Dauerhaft / Ablehnen); several tools in one call are bundled. When answered, this session is resumed — then retry the call. A refused call ('Agent is not permitted to call X ... reason=agent_permission') already creates this question by itself; use this to ask ahead for
| Parameter | Type | Required | Notes |
|---|---|---|---|
| tools | array | yes | Exact tool names (as in the refusal's permission_name). |
| purpose | string | no | What for, in one sentence. |
| agent_id | string | no | ID of the agent |
Legacy: escalate to the human owner when uncertain / at a capability limit — creates a high-priority todo on the owner's list. Prefer delegate_to_user (with an = the person who must act, recommendations, bezug): that is the channel humans see and answer, with deadline, reminder and escalation. Required: question. Optional: agent_id, context.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| question | string | yes | What the human owner should answer or decide |
| context | string | no | Background the owner needs to answer |
| agent_id | string | no | ID of the agent |
| user_id | string | no | ID of the user |
THE channel for anything a HUMAN must do, decide or answer (approve, confirm data, classify, check something on site). Not create_todo (that is the agent's own list), not send_team_email or mail/WhatsApp to colleagues. Address the person who must act with an (name or user_id, resolved only within this tenant; default: the key owner) — it lands in THAT person's delegation inbox on the website and
| Parameter | Type | Required | Notes |
|---|---|---|---|
| schedule_run_id | string | no | ID of the schedule run |
| runner_id | string | no | ID of the runner |
| session_id | string | no | ID of the session |
| session_name | string | no | Name of the asking Dev-Agent session, resumed with the answers |
| agent_id | string | no | ID of the agent |
| summary | string | yes | Concise summary for the human of what this is about |
| an | string | no | Who must answer/act: name (e.g. 'Max Mustermann', 'Erika') or user_id from list_tenant_users. Only members of this tenant; ambiguous or unknown names are refused with the member list. Default: the key |
| an_user_id | string | no | Same as an, as a user_id. |
| bezug | object | no | What it is about, for duplicate detection and the inbox: {typ: deal|project|lead|account|contact|offer|lab_order|todo|email|other, id}. For deals the deal number (e.g. '1000'). |
| thema | string | no | Short topic key, e.g. 'Daten komplett bestätigen' or 'MaP einstufen'. Same person + bezug + thema while open = the same delegation. |
| frist | string | no | Optional deadline (ISO date-time). Default from importance: ≥80 four working hours, ≥60 next working morning 09:00, below no deadline. |
| source | object | no | The incoming item this is about (e.g. the mail a reply draft answers): {kind: 'email'|'inbound_message', id}. The item then carries this delegation as its reply draft (triage_draft_delegation_id). Che |
| questions | array | yes | Open questions for the human, each with text, importance and recommended answers |
List tool calls parked awaiting human approval ('approval' permission tier — see agent_tool_permissions/role_tool_permissions). Filtered and paged: status defaults to 'pending', limit to 20 (max 100), oldest first; page with offset (next_offset in the answer). Long arguments are shortened in the list and results are omitted — pass id for one call in full.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | no | One pending call by id — returned with full arguments and result (status then defaults to 'all'). |
| tool_name | string | no | Exact tool name, or with * as wildcard (e.g. esd__*). |
| status | string | no | Default 'pending'. |
| agent_id | string | no | ID of the agent |
| since | string | no | Only calls created at/after this ISO date or date-time. |
| limit | number | no | Default 20, max 100. |
| offset | number | no | For paging; use next_offset from the previous answer. |
| include_result | boolean | no | Also return the stored result of executed calls. |
Approve (and execute) or reject a parked tool call from list_pending_tool_calls. On approve, the original tool call is actually run and its result stored/returned; on reject, it's just marked rejected — nothing runs.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| pending_id | string | yes | ID of the pending |
| approve | boolean | yes | true = approve and run the parked call, false = reject it |
| human_request | string | no | Only for calls that normally need a human in the app (e.g. publishing in the video library, making a YouTube video public): the human's own words asking for this approval, quoted verbatim. Works only |
Who this connection is acting as: tenant, user (null if it cannot be resolved), role, and how it authenticated. Call this first when a tool asks for a user_id — the answer is usually 'you already are that user'. Under an API key the caller is the person who created the key.
Takes no parameters.
Prove the database is enforcing isolation on this connection, rather than trusting the server code: reports the user id Postgres sees, attempts a write the policy must refuse, and counts cross-tenant rows visible without an explicit filter (must be 0). Read-only apart from one probe insert that is expected to fail.
Takes no parameters.
The people in this tenant — user_id, name, role — so a user_id can be passed explicitly to per-user tools (todos, calendar, agents) when acting on someone else's behalf. Optional: include_inactive (default false).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| include_inactive | boolean | no | Also include inactive entries |
| include_service_accounts | boolean | no | Also include service accounts |
Create a user in THIS tenant (admins only). No invitation or activation email is sent; the password is random and unknown to anyone — set one on the Team page if the person needs web login. Required: email. Optional: first_name, last_name, role (admin|planner|viewer|caller, default planner), phone (WhatsApp number WITH country code, e.g. +41 78 123 45 67), access_web / access_mcp (default true), a
| Parameter | Type | Required | Notes |
|---|---|---|---|
| string | yes | Email address | |
| first_name | string | no | First name |
| last_name | string | no | Last name |
| role | string | no | Tenant role: admin, planner (default), viewer or caller |
| phone | string | no | Phone number |
| access_web | boolean | no | Allow app login (default true) |
| access_mcp | boolean | no | Allow API keys and MCP clients (default true) |
| access_whatsapp | boolean | no | Allow talking to the agent via WhatsApp (default false; needs phone) |
Invite ONE person to this tenant and to the connected products with ONE email (admins only; ticket 86a7b144). Creates the DelegAIze account (or reuses an existing one), makes it a member of THIS tenant and stores the role per product; the products take account, organisation and role from DelegAIze at sign-in. The email contains a link to set the password (valid 24 h; only for a new or unconfirmed
| Parameter | Type | Required | Notes |
|---|---|---|---|
| string | yes | Email address | |
| name | string | no | Display name of the invited person |
| role | string | no | DelegAIze role: admin, planner (default), viewer or caller |
| product_roles | object | no | Role per product (admin, planner, viewer); omitted = DelegAIze role everywhere |
| tenant_id | string | no | Optional safety check: the tenant the invitation is meant for. If it is not the tenant this call acts in (e.g. switch to a sub-account missing or revoked), nothing is sent. |
Change a member's roles in THIS tenant WITHOUT sending any email (admins only; ticket 86a7b144). Identify the person by user_id or email. role = DelegAIze role (admin|planner|viewer|caller); product_roles = object product → admin|planner|viewer (e.g. {"nodem": "admin", "tenderaize": "admin"}), null or {} = every product with the DelegAIze role. Pass either or both. Products: nodem, tenderaize, boo
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | ID of the user |
| string | no | Email address | |
| role | string | no | New DelegAIze role: admin, planner, viewer or caller |
| product_roles | object/null | no | Role per product (admin, planner, viewer); null or {} = DelegAIze role everywhere |
Set the login password of a member of THIS tenant (admins only; ticket 1a6af89c). Identify the person by user_id or email. Pass the password as password_ref = a 1Password reference op://<vault>/<item>/<field> (PREFERRED: resolved server-side from the tenant's 1Password connection, so the value never appears in your context or any log) or, only if there is no 1Password entry, as password (plain tex
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | ID of the user |
| string | no | Email address | |
| password_ref | string | no | op://<vault>/<item>/<field> (preferred) |
| password | string | no | Plain text — only if there is no 1Password entry. |
| revoke_sessions | boolean | no | End all sessions of the person (default true) |
| notify | boolean | no | Send the person a notice email without the password (default true) |
Switch a user's access channels in THIS tenant (admins only): access_web (app login), access_mcp (API keys and MCP clients such as the claude.ai connector), access_whatsapp (talking to the agent over WhatsApp), and/or phone (the WhatsApp number that identifies them, with country code; null or "" removes it). Required: user_id plus at least one of these.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | yes | ID of the user |
| phone | string/null | no | Phone number |
| access_web | boolean | no | Allow app login |
| access_mcp | boolean | no | Allow API keys and MCP clients |
| access_whatsapp | boolean | no | Allow talking to the agent via WhatsApp |
List the revision history (memory-as-git) of a versioned entity. Required: entity_type ('memory'|'skill'|'goal'), entity_id. Newest first.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity_type | string | yes | Type of the versioned entity: memory, skill or goal |
| entity_id | string | yes | ID of the record |
| limit | number | no | Maximum number of entries to return |
Restore a versioned entity to a prior revision (writes a NEW revision — never a silent overwrite). Required: entity_type ('memory'|'skill'|'goal'), entity_id, revision.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity_type | string | yes | Type of the versioned entity: memory, skill or goal |
| entity_id | string | yes | ID of the record |
| revision | number | yes | Revision number to restore (from list_history) |
Tag the current state of a brain (a set of memory/skill/goal revisions) so it can be referenced/cloned later. Required: brain_id, tag.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| brain_id | string | yes | ID of the brain |
| tag | string | yes | Name of the snapshot tag |
| user_id | string | no | ID of the user |
Send an email to a lead, a person (contact_id) or an organisation (account_id) — or to any address. Required: subject, body, and lead_id, contact_id, account_id or to_address (to_address defaults to the record's e-mail). Sender: from_email picks one of the tenant's connected mailboxes (own SMTP server, Microsoft or Google); as_me=true sends with your name and sets Reply-To to your address so answe
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | no | ID of the lead |
| contact_id | string | no | ID of the contact |
| account_id | string | no | ID of the account (company) |
| to_address | string | no | Recipient email address |
| subject | string | yes | Subject line |
| body | string | yes | Body text |
| from_email | string | no | Address of a connected mailbox to send from. |
| from_name | string | no | Sender display name |
| reply_to | string | no | Reply-to email address |
| as_me | boolean | no | Your name as sender name, Reply-To your login address. |
| purpose | string | no | The processing purpose of THIS mail (e.g. akquise, newsletter, bestandskunde, rechnung). A consent is always for ONE purpose: whoever agreed to the newsletter did not agree to cold outreach, so withou |
| attachments | array | no | document_ids |
| attachment_mode | string | no | link (default) or file |
| campaign_id | string | no | ID of the campaign |
| bcc | no | Extra blind-copy recipients for THIS send — array or comma-separated string. ADDS TO the campaign's bcc_emails, it does not replace them; set the campaign field for a copy that cannot be forgotten. In |
Send an email to a COLLEAGUE in this tenant — e.g. a price list or an offer PDF to the employee who asked for it, for approval. Recipient: to_user_id (see list_tenant_users; a numeric Pipedrive user id such as a deal owner is resolved via its email) and/or to_address; the address must be that person's login address or one of their connected mailboxes, anything else is refused. Customers are NOT re
| Parameter | Type | Required | Notes |
|---|---|---|---|
| to_user_id | string | no | ID of the recipient user |
| to_address | string | no | Recipient email address |
| subject | string | yes | Subject line |
| body | string | yes | Body text |
| attachments | array | no | document_ids |
| attachment_mode | string | no | How documents are attached: link (default) or file |
| auf_wunsch_von | string | no | Agents only: the person of this tenant (name, user_id or address) who EXPLICITLY asked for this mail. Without it an agent cannot send internal mails without attachments or pure status mails — use crea |
| trotzdem | boolean | no | Agents only: send even if the same person got an internal mail with the same DN or (almost) the same subject in the last 24 h — otherwise nothing is sent and dublette:true is returned. |
Send a REVIEW COPY of an email to the rep for approval — NOT to the lead. Renders exactly as the real send (same from-address/signature/placeholders via the lead+campaign) but is delivered to the reviewer and clearly marked as a draft: the subject is prefixed '[DRAFT — review copy]' and a banner naming the real intended recipient is prepended to the body. Recipient defaults to the authenticated ca
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead |
| subject | string | yes | Subject line |
| body | string | yes | Body text |
| to_address | string | no | Where to send the review copy (default: caller's own email) |
| intended_to | string | no | The lead's real email, shown in the draft banner |
| campaign_id | string | no | ID of the campaign |
| bcc | no | Blind-copy recipients for this review copy — array or comma-separated string. The campaign's archive BCC is deliberately not applied to review copies. |
Send a physical letter ('Brief') to a lead's postal address via eBrief.de. Required: lead_id, and the content — either body (plain text, drawn server-side: text only, no logo or images) or document_id (a PDF already stored here, posted as it is — that is how a designed letter gets sent). Optional: subject, dry_run. This costs postage and cannot be recalled — set dry_run: true to build the letter a
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead |
| subject | string | no | Subject line |
| body | string | no | Body text |
| document_id | string | no | A stored PDF to post as the letter, instead of body. |
| dry_run | boolean | no | Build the letter and return a PDF link instead of sending it. Default false. |
Try a letter out. Defaults to a PREVIEW: the letter is built exactly as it would be posted and you get a PDF link back — no eBrief.de job, no postage. Pass really_send: true to actually post it (use your own address; it costs postage and is the only way to check the envelope window and folding). Address it either with lead_id or with an explicit to. Content is either body (plain text, drawn serv
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | no | Use this lead's postal address. Omit if you pass to. |
| to | object | no | An explicit address, so no throwaway lead has to be created for a test. |
| subject | string | no | Subject line |
| body | string | no | Body text |
| document_id | string | no | A stored PDF to post as the letter, instead of body. |
| really_send | boolean | no | Actually post it. Default false = preview only. |
Run multiple tool calls in one request. Pass an array of {name, arguments}; returns an array of {success, result} or {success, error} in the same order. Max 200 calls. compact=true returns only { ok, failed, results: [{tool, success, id} | {tool, success:false, error}] } — use it for bulk writes where you do not need the records back.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| compact | boolean | no | Return only ok/failed counts and per-call ids instead of full results |
| calls | array | yes | Tool calls to run in order, max 200 |
Pull new mail from the tenant's IMAP mailbox now, instead of waiting for somebody to open the app and click. Optional: email_account_id (defaults to the tenant's only mailbox), limit (newest N, default 50, max 500 — use 500 for a first pass over a mailbox that has been collecting). Mails already stored have their subject, sender, body and attachment flag refreshed; status, classification and any j
| Parameter | Type | Required | Notes |
|---|---|---|---|
| email_account_id | string | no | ID of the mailbox (email account) |
| string | no | Mailbox address instead of email_account_id | |
| limit | number | no | Maximum number of entries to return |
| folder | string | no | Gmail label, e.g. SPAM |
A task that comes back. Required: title. every ("hourly", "daily", "weekly", "2h", "90m", or a number of minutes; minimum 5) sets a cadence — LEAVE IT OUT for an ON-DEMAND task: no cadence, never due by itself, shown as a button above the input of every Dev-Agent slot running that agent and started by a click. Optional: at ("12:00", 24-hour) plus timezone (IANA, default Europe/Berlin) to pin it to
| Parameter | Type | Required | Notes |
|---|---|---|---|
| title | string | yes | Title of the recurring todo |
| every | string | no | Cadence; omit for an on-demand task |
| at | string | no | Time of day, 24-hour HH:MM |
| timezone | string | no | IANA zone for at, default Europe/Berlin |
| agent_id | string | no | ID of the agent |
| notes | string | no | Free-text notes |
| priority | string | no | low | normal (default) | high |
| start_now | boolean | no | Create the first task immediately (default true; ignored when at is set) |
Every past run of one recurring series: when each task appeared, when it was ticked off, how long it lay there, and WHO closed it — the agent or a human. Required: recurrence_id. Optional: limit (default 20). Use it to see whether a series is actually being worked by the agent or quietly cleared by hand each time. Note: there is no start timestamp, so the reported minutes are how long the task lay
| Parameter | Type | Required | Notes |
|---|---|---|---|
| recurrence_id | string | yes | ID of the recurring to-do |
| limit | number | no | Maximum number of entries to return |
The recurring series and where each stands: cadence, whether a task is open right now, when the next becomes due, how overdue it is, and how often it has actually been completed. Optional: agent_id, include_paused. Read this to see which series are being worked and which merely exist.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | no | ID of the agent |
| include_paused | boolean | no | Also include paused |
Change or stop a series. Required: recurrence_id. Optional: every (new cadence), at ("12:00" pins it to a time of day, empty string removes that again) plus timezone, active (false pauses — the open task stays, no new one follows), title, notes, priority, due_now (true makes the next task due immediately). Changing every or at recomputes the next due date straight away instead of letting the chang
| Parameter | Type | Required | Notes |
|---|---|---|---|
| recurrence_id | string | yes | ID of the recurring to-do |
| every | string | no | New cadence, e.g. hourly, daily, weekly, 2h, 90m or minutes (min 5) |
| active | boolean | no | Whether the entry is active |
| at | string | no | Time of day to pin the series to, e.g. 12:00; empty string removes it |
| timezone | string | no | IANA time zone, e.g. Europe/Berlin |
| title | string | no | Title of the recurring todo |
| notes | string | no | Free-text notes |
| priority | string | no | Priority |
| due_now | boolean | no | Make the next task due immediately |
Work as one of your agents from THIS connection — everything you then do is attributed to it, recorded against it, and subject to its permissions and its prediction gate. Pass agent_id (the id from list_agents, or the agent's exact name — resolved only within this tenant) to become that agent; LEAVE agent_id OUT (or pass null/empty) to go back to working as yourself — that direction always works a
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | no | ID of the agent |
| skip_episode | boolean | no | Switch agents even if the work being left is worth an episode |
The analysis steps a document can go through, and for a given set of documents HOW MANY each step would actually touch — the number that belongs on the button. Optional: document_ids (to get the counts), entity + entity_id (all documents of one record). Steps that are catalogued but not built say so instead of quietly missing; a step blocked on every document reports 0 rather than looking availabl
| Parameter | Type | Required | Notes |
|---|---|---|---|
| document_ids | array | no | List of IDs (document) |
| entity | string | no | Record type whose documents to count, used with entity_id |
| entity_id | string | no | ID of the record |
Run ONE analysis step on one or more documents — the point being that a document that failed at one stage does not have to be put through all of them again. Required: step ('extract_text' | 'vision_ocr' | 'analyze' | 'split_rag' | 'vectorize' | 'graph_ingest'), and document_ids OR entity + entity_id. 'vision_ocr' sends the file itself to a vision model and is the expensive one — it is only offered
| Parameter | Type | Required | Notes |
|---|---|---|---|
| step | string | yes | Step to run: extract_text, vision_ocr, analyze, split_rag, vectorize or graph_ingest |
| document_ids | array | no | List of IDs (document) |
| entity | string | no | Record type whose documents to process, used with entity_id |
| entity_id | string | no | ID of the record |
| force | boolean | no | Re-run the step even if already finished (default false) |
The tenant's mailboxes, with what each can actually DO: can_read (an IMAP host is configured) and can_send (an SMTP host, or a Gmail account connected by OAuth). Several per tenant are expected — one per customer if that is how the work is divided. Credentials are never returned. When an agent with a mailbox setting (set_agent_mailboxes) is acting, only its mailboxes are listed and its default car
| Parameter | Type | Required | Notes |
|---|---|---|---|
| all | boolean | no | List every mailbox of the tenant, not only the acting agent's |
Add or update a mailbox the agents may read AND send from. Required: email. Optional: name, from_name (what recipients see), imap_host/imap_port/imap_user/imap_password/imap_folder/use_ssl for reading, smtp_host/smtp_port/smtp_user/smtp_password/smtp_implicit_tls for sending, is_default_sender, smtp_allow_plaintext. Both sides are TESTED before the row is written and the result is reported per sid
| Parameter | Type | Required | Notes |
|---|---|---|---|
| string | yes | Email address | |
| name | string | no | Name of the mailbox |
| from_name | string | no | Sender display name |
| imap_host | string | no | IMAP server host name for reading |
| imap_port | number | no | IMAP server port |
| imap_user | string | no | IMAP login user name |
| imap_password | string | no | IMAP login password |
| imap_folder | string | no | IMAP folder to read |
| use_ssl | boolean | no | Use SSL/TLS for the IMAP connection |
| smtp_host | string | no | SMTP server host name for sending |
| smtp_port | number | no | SMTP server port |
| smtp_user | string | no | SMTP login user name |
| smtp_password | string | no | SMTP login password |
| smtp_implicit_tls | boolean | no | true = TLS ab Verbindungsaufbau (465), false = STARTTLS (587). |
| smtp_allow_plaintext | boolean | no | Ohne Verschluesselung senden. Standard nein. |
| is_default_sender | boolean | no | Nimmt Mails auf, deren Absenderadresse zu keinem Postfach passt. Hoechstens eines je Mandant. |
| skip_test | boolean | no | Ohne Verbindungstest speichern — nur wenn der Server gerade nicht erreichbar ist. |
Connect a Gmail mailbox of a Google Workspace domain through domain-wide delegation - no password and no sign-in by the person. Requires that the customer's Workspace admin authorised our service account (docu/google-workspace-postfaecher.md) and that the domain is enabled for this tenant (set_integration_credentials provider google_workspace, credentials.domains). Verifies by reading the person's
| Parameter | Type | Required | Notes |
|---|---|---|---|
| string | yes | Email address | |
| name | string | no | Name of the workspace mailbox |
| from_name | string | no | Sender display name |
| owner_user_id | string | no | User id of the person the mailbox belongs to. Default: the caller. |
| services | array | no | Also connect these services of the same person through the delegation (calendar, Meet transcripts, Drive with write access). Result per service; one may fail without the others. |
Try the stored credentials of one mailbox, without reading or sending anything: IMAP logs in and lists, SMTP authenticates and hangs up. Required: mailbox_id OR email. The server's own answer is passed through verbatim — it says whether the password is wrong, the account locked, or an app password required, and that text is the instruction.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| mailbox_id | string | no | ID of the mailbox |
| string | no | Email address |
Remove a mailbox (soft delete). Required: mailbox_id. By DEFAULT the already-fetched mails are KEPT and stay readable via list_emails/get_email — they belong to the tenant, not to the connection they arrived through; their triage state and links to leads and drafts stay. The mailbox is marked removed and no longer syncs or appears in list_mailboxes. The answer reports kept_emails. Pass delete_emai
| Parameter | Type | Required | Notes |
|---|---|---|---|
| mailbox_id | string | yes | ID of the mailbox to delete |
| force | boolean | no | Remove even if the mailbox is the default sender |
| delete_emails | boolean | no | Also delete all fetched mails of this mailbox (irreversible) |
Store ONE e-mail in a mailbox of this tenant without contacting any mail server — for simulations and for the local Thunderbird bridge. Nothing is sent or fetched. Idempotent per mailbox on message_id (a second call with the same message_id returns the stored mail). Without message_id a stable id is derived from sender, subject, date and body. email_account_id defaults to the tenant's first mailbo
| Parameter | Type | Required | Notes |
|---|---|---|---|
| email_account_id | string | no | Mailbox (default: the tenant's first mailbox) |
| from_address | string | yes | Sender email address |
| from_name | string | no | Sender display name |
| to_address | string | no | Recipient email address |
| subject | string | no | Subject line |
| body | string | no | Plain-text body (stored in full) |
| date | string | no | ISO-8601; default now |
| message_id | string | no | RFC Message-ID; de-dupe key per mailbox |
| has_attachments | boolean | no | Whether the mail has attachments |
| folder | string | no | Mail folder (default INBOX) |
Mails eines Postfachs aus dem eigenen Bestand, neueste zuerst. Optional: email_account_id (Vorgabe: das einzige Postfach), folder, from (Teil der Absenderadresse), search (Betreff ODER Absender), since/until (ISO-Datum), unmatched=true (nur ohne Zuordnung), untriaged_only=true (noch nicht eingeordnet), category / priority (Einordnung aus classify_message), limit (Vorgabe 25, max 200). Jede Mail tr
| Parameter | Type | Required | Notes |
|---|---|---|---|
| email_account_id | string | no | Postfach-ID |
| folder | string | no | Nur Mails aus diesem Ordner, z.B. INBOX oder Sent |
| from | string | no | Teil der Absenderadresse |
| search | string | no | Suchbegriff (Freitext) |
| since | string | no | Nur Eintraege ab diesem Zeitpunkt (ISO 8601) |
| until | string | no | Nur Mails bis zu diesem Datum (ISO) |
| needs_assignment | boolean | no | Only mails where the sender address matched MORE THAN ONE person, so nothing was assigned on purpose — assignment_candidates lists who. These are the ones waiting for a human to pick; a suggestion nob |
| unmatched | boolean | no | true = nur Mails ohne Zuordnung |
| unassigned | boolean | no | Same as unmatched: only mails without person, lead or organisation — in every folder, so with folder=Sent also the sent ones. Assign them with assign_email. |
| limit | number | no | Hoechstzahl der zurueckgegebenen Eintraege |
| untriaged_only | boolean | no | Only items nobody has classified yet (triaged_at is empty) |
| category | string | no | Only this triage category (exact, case-insensitive), e.g. 'Anfrage' |
| priority | string | no | Only this triage priority |
Eine Mail vollstaendig: Kopfdaten, Klartext in body/email.body_text, den unveraendert gespeicherten HTML-Teil in html/email.body_html (wenn vorhanden), Anhaenge als Dokumente, Zuordnung und Klassifizierung. HTML ist nicht vertrauenswuerdig und darf in einer UI nur sanitisiert gerendert werden. Required: email_id. list_emails gibt die Liste und die Betreffs; das hier ist der einzige Weg zu dem, was
| Parameter | Type | Required | Notes |
|---|---|---|---|
| email_id | string | yes | E-Mail-ID, die gelesen wird |
Die Ordner eines Postfachs, LIVE vom Server. Jeder mit role (inbox|sent|drafts|trash|junk|archive|normal) und selectable. Optional: email_account_id. Bei Gmail sind es Labels: flach, und eine Mail kann mehrere tragen — ein Schraegstrich im Namen ist dort nur Text, keine Verschachtelung. Bei Outlook (Graph) ist es ein Baum und der Name ist der Pfad mit '/'; die Rollen kommen von Microsoft, nicht au
| Parameter | Type | Required | Notes |
|---|---|---|---|
| email_account_id | string | no | Postfach-ID |
Einen Ordner (Gmail: ein Label) anlegen. Required: name. Optional: email_account_id. Bei IMAP wird er zugleich abonniert, sonst existiert er, ist aber in Thunderbird und Outlook unsichtbar — was wie 'nicht angelegt' aussieht. Verschachtelung mit dem Trennzeichen aus list_mail_folders; bei Outlook legt ein Pfad wie 'Kunden/Mustermann' UNTER dem Elternordner an.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name oder Pfad des neuen Ordners (Gmail: Labelname), Trennzeichen aus list_mail_folders |
| email_account_id | string | no | Postfach-ID |
Einen Ordner umbenennen oder verschieben. Required: name, new_name. Optional: email_account_id. Bei IMAP zieht ein Umbenennen die Unterordner mit; bei Gmail gibt es keine Unterordner, dort ist es nur ein neuer Labelname. Bei Outlook wird ausschliesslich umbenannt — ein Pfad in new_name verschiebt den Ordner NICHT, nur sein letzter Teil wird genommen.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Aktueller Name bzw. Pfad des Ordners |
| new_name | string | yes | Neuer Name bzw. Zielpfad; bei Outlook zaehlt nur der letzte Teil |
| email_account_id | string | no | Postfach-ID |
Einen Ordner loeschen. Required: name. Optional: email_account_id. MIT SEINEM INHALT — bei IMAP ist das endgueltig. Bei Gmail verschwindet nur das Label, die Mails bleiben. Bei Outlook wandert der Ordner samt Inhalt in den Papierkorb. Systemordner lehnt der Server ab.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name bzw. Pfad des zu loeschenden Ordners |
| email_account_id | string | no | Postfach-ID |
Mails in einen anderen Ordner legen. Required: email_ids (aus list_emails), to_folder. Optional: email_account_id, from_folder (sonst der gespeicherte). Bei Gmail heisst das: Ziel-Label dran, Quell-Label weg — uebrige Labels bleiben. Bei Outlook vergibt der Server dabei eine NEUE Kennung; sie wird nachgezogen, eine zwischenzeitlich gemerkte id von aussen ist danach ungueltig. Mails, die vor dem 01
| Parameter | Type | Required | Notes |
|---|---|---|---|
| email_ids | array | yes | Liste von E-Mail-IDs |
| to_folder | string | yes | Zielordner (Gmail: Ziel-Label) |
| from_folder | string | no | Quellordner; ohne Angabe der gespeicherte Ordner der Mail |
| email_account_id | string | no | Postfach-ID |
Gelesen-Status oder Markierung setzen. Required: email_ids und mindestens eines von read / flagged (je true oder false). Optional: email_account_id, from_folder. Wirkt auf dem SERVER, ist also auch im Mailprogramm des Anwenders zu sehen.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| email_ids | array | yes | Liste von E-Mail-IDs |
| read | boolean | no | true = als gelesen, false = als ungelesen markieren |
| flagged | boolean | no | true = Markierung (Stern/Flagge) setzen, false = entfernen |
| from_folder | string | no | Ordner, in dem die Mails liegen; ohne Angabe der gespeicherte |
| email_account_id | string | no | Postfach-ID |
Mails in den Papierkorb legen. Required: email_ids. Optional: email_account_id, from_folder. Nicht endgueltig — der echte Papierkorb des Postfachs wird aus der Ordnerliste ermittelt (bei Outlook ueber deleteditems), nicht geraten, weil er auf deutschen Servern selten 'Trash' heisst.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| email_ids | array | yes | Liste von E-Mail-IDs |
| from_folder | string | no | Ordner, in dem die Mails liegen; ohne Angabe der gespeicherte |
| email_account_id | string | no | Postfach-ID |
The knowledge graph over a record's documents, assembled for reasoning rather than listed. Scope with entity + entity_id (everything filed on one lead/job/contact) or document_ids. Returns the facts grouped by concept, each with its VERBATIM quote and its source document, plus four things worked out in code rather than guessed: bridges (concepts appearing in more than one document — the connecti
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | no | Record type whose documents form the graph (e.g. lead, job, contact); use with entity_id |
| entity_id | string | no | ID of the record |
| document_ids | array | no | List of IDs (document) |
| concept | string | no | Only facts whose concept contains this text |
| limit | number | no | Max facts (default 400). |
| include_facts | boolean | no | false = nur Zaehlungen und Auffaelligkeiten, ohne die Faktenliste. |
Read the graph server-side and return the READING, not the raw material — for a caller that wants an answer rather than 300 facts to page through. Same scope as get_graph (entity + entity_id, or document_ids). Optional: question (a specific one; without it you get a general assessment), focus ('risks' | 'summary' | 'gaps' | 'next_steps'). The contradictions and cross-document links are computed in
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | no | Record type whose documents are analysed (e.g. lead, job, contact); use with entity_id |
| entity_id | string | no | ID of the record |
| document_ids | array | no | List of IDs (document) |
| question | string | no | Specific question to answer; omitted = general assessment |
| focus | string | no | Angle of the reading: risks, summary, gaps or next_steps |
| concept | string | no | Only facts whose concept contains this text. |
| include_facts | boolean | no | Return the underlying facts, not just the summary. Default true. |
| limit | number | no | Maximum facts to consider, 1-2000 (default 400). |
Do we already know this person? Ask this ONCE with whatever you have instead of guessing which lookup to try: name, email, phone, social_url (a LinkedIn/GitHub/etc profile URL), external_chat_id, or a single unlabelled handle that is figured out from its shape. Checks channels, lead mail, contact mail, stored profile URLs and phone, compares URLs normalised (scheme, www., country subdomain, quer
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | no | Person's name; matched mainly by surname |
| string | no | Email address | |
| phone | string | no | Phone number |
| social_url | string | no | Social URL |
| external_chat_id | string | no | ID of the external chat |
| handle | string | no | Unlabelled identifier (e-mail, phone, URL, chat id); its kind is detected from its shape |
Make an API key ACT AS an agent: every call through that key is then that agent — agent-scoped permissions apply, every tool call is recorded against it, and the prediction gate can be switched on. Since v1.96.0 an ordinary MCP client can instead send X-Agent-Id per request — that is PER SESSION, while this binding is shared by every session using the key, so switching it here pulls the identity o
| Parameter | Type | Required | Notes |
|---|---|---|---|
| api_key_id | string | no | ID of the API key |
| api_key_name | string | no | Name given to the API key at creation; alternative to api_key_id |
| agent_id | string | no | ID of the agent |
Switch the prediction gate on or off for one agent. Required: agent_id, enabled. When on, any tool that CHANGES something is refused until the agent has logged an open episode with a prediction and a confidence; reading, ask_human and the recording tools stay free, and an open episode expires after an hour. Off by default — turn it on for one agent first and look at whether the predictions are wor
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | yes | ID of the agent |
| enabled | boolean | yes | Whether it is enabled |
The cognitive operations this agent can perform, with what each costs and when it runs. Optional: agent_id (adds that agent's expression profile — how strongly IT leans on each one), ready_only (default false; true hides the ones that are catalogued but not built yet). Read this to find out what is available before deciding how to approach something.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | no | ID of the agent |
| ready_only | boolean | no | true = hide operations that are catalogued but not built yet (default false) |
Decide which cognitive operations are worth running for the situation at hand, and get back BOTH what to run and what was skipped with the reason for each. Optional: agent_id (uses that agent's expression profile), budget (cost units, default 40 — roughly every cheap check plus one reasoning call), force (gene ids to run regardless), and the signals: uncertainty, urgency, novelty, risk, goal_relev
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | no | ID of the agent |
| budget | number | no | Cost budget in cost units (default 40) |
| force | array | no | Gene ids to run regardless of the plan |
| uncertainty | number | no | Uncertainty signal 0..1 (absent = 0) |
| urgency | number | no | Urgency signal 0..1 (absent = 0) |
| novelty | number | no | Novelty signal 0..1 (absent = 0) |
| risk | number | no | Risk signal 0..1 (absent = 0) |
| goal_relevance | number | no | Goal relevance signal 0..1 (absent = 0) |
| decision_importance | number | no | Decision importance signal 0..1 (absent = 0) |
Tune how strongly an agent leans on one cognitive operation. Required: agent_id, gene_id, expression (0..1; 0 switches it off for this agent, 0.5 is neutral). Optional: reason. Changes behaviour for every future decision, so say why.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | yes | ID of the agent |
| gene_id | string | yes | ID of the gene |
| expression | number | yes | Strength 0..1; 0 switches the operation off for this agent, 0.5 is neutral |
| reason | string | no | Reason (free text) |
What an agent holds to be true, best-supported first. Required: agent_id. Optional: include_inactive (default false — refuted and superseded statements are kept but not offered), limit. Each carries a confidence and how many observations back it, so a weakly-held belief can be recognised as such instead of read as fact.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | yes | ID of the agent |
| include_inactive | boolean | no | Also include inactive entries |
| limit | number | no | Maximum number of entries to return |
Record an observation for or against a statement. Required: agent_id, proposition, supported (true = this observation agrees with it). Optional: brain_id, episode_id, source. Confidence is computed, never passed in — it moves toward the evidence in shrinking steps and drops faster on a contradiction than it rises on a confirmation, so a statement can never become unfalsifiable. A statement that di
| Parameter | Type | Required | Notes |
|---|---|---|---|
| agent_id | string | yes | ID of the agent |
| proposition | string | yes | The statement the observation is evidence for or against |
| supported | boolean | yes | true = the observation agrees with the statement, false = contradicts it |
| brain_id | string | no | ID of the brain |
| episode_id | string | no | ID of the episode |
| source | string | no | Where the observation comes from |
Download the files attached to one already-fetched mail and file them as documents. Required: email_id. Optional: entity + entity_id to say what they belong to (a mail already matched to an asbestos job attaches to that job by itself), include_inline (default false — signature images and template logos stay out), max_bytes. Running it twice does not store anything twice. Returns what was stored, w
| Parameter | Type | Required | Notes |
|---|---|---|---|
| email_id | string | yes | ID of the email |
| entity | string | no | Record type the attachments belong to (use with entity_id) |
| entity_id | string | no | ID of the record |
| include_inline | boolean | no | Also include inline |
| max_bytes | number | no | Maximum size in bytes for attachments to store |
List Pipedrive PROJECTS — the delivery side, kept separate from deals. A project links to deals via its deal_ids array and carries NO value field, so money always stays on the deal. filters is passed through as query params (e.g. status, phase_id, board_id).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
| cursor | string | no | Pagination cursor from the previous response |
| filters | object | no | Filter criteria (field → value) |
Get one Pipedrive project by id, with its phase, linked deals, people and organisations.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| project_id | number | yes | ID of the project to read |
The project boards and their phases. You need a board_id and phase_id before a project can be created, and the phase names are the delivery stages the tenant actually works in. Read-only.
Takes no parameters.
The TASKS of a Pipedrive project — the checklist inside it, which is where a project template actually keeps its content. Without this you can only see which phase a project sits in, not what it asks you to do. Required: project_id. Returns each task with title, phase, assignee, due date and done state. A project without tasks returns an empty list, not an error.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| project_id | number | yes | ID of the project |
| limit | number | no | Maximum number of entries to return |
Create a project in Pipedrive. Required: title, board_id, phase_id (see list_pipedrive_project_boards). Pass any additional Pipedrive field in fields, keyed by its field key/name (call the matching list_pipedrive_*_fields tool first to discover custom field keys and, for enum/set fields, their option ids). Common fields: description, deal_ids (array), person_id, org_id, owner_id, start_date, end
| Parameter | Type | Required | Notes |
|---|---|---|---|
| title | string | yes | Title of the Pipedrive project |
| board_id | number | yes | ID of the board |
| phase_id | number | yes | ID of the phase |
| fields | object | no | Field values to set (API field name → value) |
Update a Pipedrive project — most often to move it to another phase. Required: project_id, fields.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| project_id | number | yes | ID of the project to change |
| fields | object | no | Field values to set (API field name → value) |
List deals from the tenant's connected Pipedrive account. filters is passed straight through as Pipedrive query params — common ones: status ('open'|'won'|'lost'|'deleted'), stage_id, person_id, org_id, user_id (owner). Pipedrive must be connected via Integrations first.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
| filters | object | no | Raw Pipedrive query params, e.g. {status:'open', stage_id:3}. |
Get one Pipedrive deal by id, with all its fields (standard + custom).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| deal_id | number | yes | ID of the deal to read |
Create a deal in Pipedrive. Pass any additional Pipedrive field in fields, keyed by its field key/name (call the matching list_pipedrive_*_fields tool first to discover custom field keys and, for enum/set fields, their option ids). Common fields: value, currency, person_id, org_id, stage_id, user_id (owner), status.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| title | string | yes | Title of the Pipedrive deal |
| fields | object | no | Field values to set (API field name → value) |
Update a Pipedrive deal. To move it to a different pipeline stage, pass fields:{stage_id:...} — there is no separate "move stage" tool. A move BACKWARDS within the pipeline (earlier stage) is refused unless allow_backward=true — set that only when a human explicitly asked for it. Pass any additional Pipedrive field in fields, keyed by its field key/name (call the matching list_pipedrive_*_fields
| Parameter | Type | Required | Notes |
|---|---|---|---|
| deal_id | number | yes | ID of the deal to change |
| fields | object | no | Field values to set (API field name → value) |
| allow_backward | boolean | no | Only when a human explicitly asked to move the deal back to an earlier stage. |
| auf_anweisung | string | no | Nur fuer Agenten an einem abgeschlossenen Deal (eine der Abschluss-Stages der Pipeline, z. B. Rechnung oder Versand): wer es ausdruecklich verlangt hat, mit Kanal und Zeit, z. B. "Max Mustermann per W |
Delete a Pipedrive deal permanently.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| deal_id | number | yes | ID of the deal to delete |
List persons (contacts) from the tenant's connected Pipedrive account, or SEARCH them: pass search (name, e-mail or phone) to find a person — without it you only get one unsorted page. If the whole term finds nobody, each word is searched on its own (fuzzy: true in the result), so a misspelled surname still finds the person. filters common keys: org_id, first_char.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| search | string | no | Name, e-mail or phone, e.g. "Max Mustermann". At least 2 characters. |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
| filters | object | no | Filter criteria (field → value) |
Get one Pipedrive person by id, with all fields.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| person_id | number | yes | ID of the person to read |
Create a person in Pipedrive. Pass any additional Pipedrive field in fields, keyed by its field key/name (call the matching list_pipedrive_*_fields tool first to discover custom field keys and, for enum/set fields, their option ids). Common fields: email, phone, org_id, owner_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name of the Pipedrive person |
| fields | object | no | Field values to set (API field name → value) |
Update a Pipedrive person. Pass any additional Pipedrive field in fields, keyed by its field key/name (call the matching list_pipedrive_*_fields tool first to discover custom field keys and, for enum/set fields, their option ids).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| person_id | number | yes | ID of the person to change |
| fields | object | no | Field values to set (API field name → value) |
Delete a Pipedrive person permanently.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| person_id | number | yes | ID of the person to delete |
List organizations from the tenant's connected Pipedrive account, or SEARCH them with search (name or address). Search before creating an organization — a duplicate is easy to make and tedious to merge.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| search | string | no | Company name or part of it. At least 2 characters. |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
| filters | object | no | Filter criteria (field → value) |
Get one Pipedrive organization by id, with all fields.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| org_id | number | yes | ID of the organization |
Create an organization in Pipedrive. Pass any additional Pipedrive field in fields, keyed by its field key/name (call the matching list_pipedrive_*_fields tool first to discover custom field keys and, for enum/set fields, their option ids). Common fields: address, owner_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name of the Pipedrive organization |
| fields | object | no | Field values to set (API field name → value) |
Update a Pipedrive organization. Pass any additional Pipedrive field in fields, keyed by its field key/name (call the matching list_pipedrive_*_fields tool first to discover custom field keys and, for enum/set fields, their option ids).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| org_id | number | yes | ID of the organization |
| fields | object | no | Field values to set (API field name → value) |
Delete a Pipedrive organization permanently.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| org_id | number | yes | ID of the organization |
List the tenant's Pipedrive pipelines (id, name, order). Needed to know what stage_id values are valid for deals.
Takes no parameters.
List Pipedrive deal stages, optionally filtered to one pipeline.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| pipeline_id | number | no | ID of the pipeline |
List all deal fields (standard + custom) with their keys, types, and — for enum/set fields — their option ids/labels. Call this before writing custom deal fields via create/update_pipedrive_deal's fields.
Takes no parameters.
List all person fields (standard + custom), same shape as list_pipedrive_deal_fields.
Takes no parameters.
List all organization fields (standard + custom), same shape as list_pipedrive_deal_fields.
Takes no parameters.
List Pipedrive users (id, name, email, active) — needed to assign an owner (user_id) on deals/persons/organizations/activities.
Takes no parameters.
List Pipedrive notes, filtered by deal_id, person_id, and/or org_id (pass whichever apply).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| deal_id | number | no | ID of the deal |
| person_id | number | no | ID of the person |
| org_id | number | no | ID of the organization |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
Add a note to a Pipedrive deal, person, and/or org (pass at least one of deal_id/person_id/org_id).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| content | string | yes | Text of the note |
| deal_id | number | no | ID of the deal |
| person_id | number | no | ID of the person |
| org_id | number | no | ID of the organization |
| auf_anweisung | string | no | Nur fuer Agenten an einem abgeschlossenen Deal (eine der Abschluss-Stages der Pipeline, z. B. Rechnung oder Versand): wer es ausdruecklich verlangt hat, mit Kanal und Zeit, z. B. "Max Mustermann per W |
Update the text of an existing Pipedrive note.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| note_id | number | yes | ID of the note to change |
| content | string | yes | New text of the note |
Delete a Pipedrive note permanently.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| note_id | number | yes | ID of the note to delete |
List activities (calls, meetings, tasks, site visits, etc.) from Pipedrive. filters common keys: user_id, type, done (0|1), deal_id, person_id, org_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
| filters | object | no | Filter criteria (field → value) |
Get one Pipedrive activity by id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| activity_id | number | yes | ID of the activity to read |
Create an activity in Pipedrive (e.g. Probenahme, Ortsbesichtigung, Wiedervorlage). subject and type are required (type is one of the tenant's configured activity type keys — see list_pipedrive_activity_types). Pass any additional Pipedrive field in fields, keyed by its field key/name (call the matching list_pipedrive_*_fields tool first to discover custom field keys and, for enum/set fields, th
| Parameter | Type | Required | Notes |
|---|---|---|---|
| subject | string | yes | Subject line |
| type | string | yes | Activity type key configured for the tenant (see list_pipedrive_activity_types) |
| fields | object | no | Field values to set (API field name → value) |
Update a Pipedrive activity — e.g. set done:1 to mark it complete, or change due_date/due_time to reschedule. Pass any additional Pipedrive field in fields, keyed by its field key/name (call the matching list_pipedrive_*_fields tool first to discover custom field keys and, for enum/set fields, their option ids). INVITATIONS (ticket 442c7dd3): Pipedrive e-mails a calendar invitation to the GUESTS
| Parameter | Type | Required | Notes |
|---|---|---|---|
| activity_id | number | yes | ID of the activity to change |
| fields | object | no | Field values to set (API field name → value) |
Delete a Pipedrive activity permanently.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| activity_id | number | yes | ID of the activity to delete |
List the tenant's configured Pipedrive activity types (id, name, key_string, icon) — the valid type values for create_pipedrive_activity.
Takes no parameters.
List Pipedrive leads (inbound inquiries before qualification). filters common keys: owner_id, person_id, organization_id, archived_status ('archived'|'not_archived'|'all').
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
| filters | object | no | Filter criteria (field → value) |
Get one Pipedrive lead by id (note: lead ids are UUID strings, not numbers, unlike deals/persons/orgs).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead to read |
Create a lead in Pipedrive. title is required, and one of fields.person_id / fields.organization_id is strongly recommended so the lead links to a person/org. Pass any additional Pipedrive field in fields, keyed by its field key/name (call the matching list_pipedrive_*_fields tool first to discover custom field keys and, for enum/set fields, their option ids). Common fields: owner_id, label_ids
| Parameter | Type | Required | Notes |
|---|---|---|---|
| title | string | yes | Title of the Pipedrive lead |
| fields | object | no | Field values to set (API field name → value) |
Update a Pipedrive lead. Pass any additional Pipedrive field in fields, keyed by its field key/name (call the matching list_pipedrive_*_fields tool first to discover custom field keys and, for enum/set fields, their option ids).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead to change |
| fields | object | no | Field values to set (API field name → value) |
Delete a Pipedrive lead permanently.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead to delete |
List the tenant's configured Pipedrive lead labels (id, name, color) — valid values for a lead's label_ids.
Takes no parameters.
List Pipedrive's built-in lead sources (read-only reference list).
Takes no parameters.
List all lead fields (standard + custom) with their keys/types/options. Call this before writing custom lead fields via create/update_pipedrive_lead's fields.
Takes no parameters.
List files attached to a Pipedrive deal, person, or organization (pass whichever apply). Returns metadata only (name, size, mime type) — not the file bytes.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| deal_id | number | no | ID of the deal |
| person_id | number | no | ID of the person |
| org_id | number | no | ID of the organization |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
Attach a file to a Pipedrive deal/person/organization (pass at least one of deal_id/person_id/org_id). Provide the file via document_id (preferred — an existing CallPilotAI document already stored on a lead/contact/account) or source_url (a remote URL fetched server-side). Do NOT pass raw file content — there's no base64 parameter; both supported sources avoid the calling model ever handling t
| Parameter | Type | Required | Notes |
|---|---|---|---|
| document_id | string | no | ID of the document |
| source_url | string | no | Source URL |
| filename | string | no | File name |
| deal_id | number | no | ID of the deal |
| person_id | number | no | ID of the person |
| org_id | number | no | ID of the organization |
Get metadata for one Pipedrive file by id (name, size, mime type, linked deal/person/org). Never returns the bytes inline; with download=true it also returns download_url, a link valid for 1 hour to fetch the file itself (e.g. with curl in the runner, max 50 MB).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| file_id | number | yes | ID of the file to read |
| download | boolean | no | Also return download_url (1 hour) for the file content |
Delete a file from Pipedrive permanently.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| file_id | number | yes | ID of the file to delete |
Register a Pipedrive webhook subscription so changes get queued for this tenant (pull them via list_pipedrive_events). event_action: 'added'|'updated'|'deleted'|'merged'|'*' (any). event_object: 'deal'|'person'|'organization'|'activity'|'note'|'lead'|'*' (any).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| event_action | string | yes | Action to subscribe to: added, updated, deleted, merged or * (any) |
| event_object | string | yes | Object to subscribe to: deal, person, organization, activity, note, lead or * (any) |
List this tenant's currently registered Pipedrive webhook subscriptions.
Takes no parameters.
Remove a registered Pipedrive webhook subscription.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| webhook_id | number | yes | ID of the webhook to delete |
Pull pending Pipedrive webhook events for this tenant (requires a webhook registered via create_pipedrive_webhook — see that tool). NOTE: there is no server-side push/cron in this project, so this only surfaces events queued since the last time this tool was called — call it periodically/on each active turn to react to Pipedrive changes. Returned events are marked consumed immediately (at-most-onc
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
The Pipedrive write log of this tenant: every create/update/delete the connector sent to Pipedrive, newest first, with time, who/which agent, tool, object, Pipedrive id, the record's name (title/name/subject), payload hash and outcome (including the error Pipedrive returned). Read it as it is — names are in the log, no need to look them up. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
| tool_name | string | no | Only entries written by this tool |
List customers and suppliers (weclapp "parties"). This is the answer to "who is this on the phone" — search by name, customer number or email. filters wird als Abfrageparameter durchgereicht — weclapp filtert nach dem Muster feld-eq, feld-like, feld-gt (z. B. { "name-like": "%Muster%" }). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
| page | number | no | Page number (for paging) |
| filters | object | no | Filter criteria (field → value) |
Get one weclapp party (customer or supplier) by id, with its addresses and contact details. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| party_id | string | yes | ID of the contract party |
List contact persons in weclapp. Without party_id: all contacts (/contact). With party_id: the contact persons linked to that customer/supplier (its party.contacts, read as person parties); an unknown party_id returns 0 contacts. filters wird als Abfrageparameter durchgereicht — weclapp filtert nach dem Muster feld-eq, feld-like, feld-gt (z. B. { "name-like": "%Muster%" }). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| party_id | string | no | ID of the contract party |
| limit | number | no | Maximum number of entries to return |
| page | number | no | Page number (for paging) |
| filters | object | no | Filter criteria (field → value) |
List articles (products) with number, name and unit. filters wird als Abfrageparameter durchgereicht — weclapp filtert nach dem Muster feld-eq, feld-like, feld-gt (z. B. { "name-like": "%Muster%" }). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
| page | number | no | Page number (for paging) |
| filters | object | no | Filter criteria (field → value) |
List quotations. Use filters like { "customerId-eq": "12345" } to see what is open for one customer. filters wird als Abfrageparameter durchgereicht — weclapp filtert nach dem Muster feld-eq, feld-like, feld-gt (z. B. { "name-like": "%Muster%" }). Read-only — writing quotations is deliberately not offered yet.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
| page | number | no | Page number (for paging) |
| filters | object | no | Filter criteria (field → value) |
List sales invoices — this is what answers "what is still open". filters wird als Abfrageparameter durchgereicht — weclapp filtert nach dem Muster feld-eq, feld-like, feld-gt (z. B. { "name-like": "%Muster%" }). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
| page | number | no | Page number (for paging) |
| filters | object | no | Filter criteria (field → value) |
Create a contact person in weclapp. Required: party_id (the customer it belongs to) and last_name. Optional: first_name, email, phone, fields (any further weclapp field). There is no job-title field on a weclapp contact — put it in fields.description if you need it recorded. WRITES into the customer's ERP — it goes through the permission gate and the weclapp write log.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| party_id | string | yes | ID of the contract party |
| last_name | string | yes | Last name |
| first_name | string | no | First name |
| string | no | Email address | |
| phone | string | no | Phone number |
| fields | object | no | Field values to set (API field name → value) |
Update a weclapp contact person. Required: contact_id and fields (only the values to change — the record is read first and the changes are merged onto it, so untouched fields keep their values). Fails rather than overwrites if someone else changed the record in the meantime. WRITES into the customer's ERP — it goes through the permission gate and the weclapp write log.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contact_id | string | yes | ID of the contact to change |
| fields | object | yes | Field values to set (API field name → value) |
List sales orders (weclapp "salesOrder"), newest order date first, in a short form: order number, the customer's own order number, customer, status, order and planned delivery date, amounts, shipped/invoiced/paid. Narrow with customer_id, order_number (weclapp's number), customer_order_number (the number on the customer's purchase order / mail) or status (ORDER_ENTRY_IN_PROGRESS, ORDER_CONFIRMATIO
| Parameter | Type | Required | Notes |
|---|---|---|---|
| customer_id | string | no | ID of the customer |
| order_number | string | no | weclapp's own sales order number |
| customer_order_number | string | no | The customer's purchase order number |
| status | string | no | Only entries with this status |
| limit | number | no | Maximum number of entries to return |
| page | number | no | Page number (for paging) |
| filters | object | no | Filter criteria (field → value) |
| raw | boolean | no | true = return the full weclapp records |
Get one weclapp sales order by id with its items (item_id, article, quantity, price, shipped quantity) and, unless include_related is false, its shipments, tasks and comments — the whole picture of one order. raw: true adds the full weclapp record (field names for update_weclapp_sales_order). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| sales_order_id | string | yes | ID of the sales order to read |
| include_related | boolean | no | Also include related |
| raw | boolean | no | true = add the full weclapp record (field names for updates) |
List shipments / delivery notes (weclapp "shipment") — the answer to "where is my delivery": status (NEW, DELIVERY_NOTE_PRINTED, SHIPPED, IN_ROUTE, DELIVERED, CANCELLED), shipping and delivery date, carrier, tracking number and tracking URL, the sales order it belongs to and the shipped items. Narrow with sales_order_id, sales_order_number, customer_id or status. filters wird als Abfrageparamete
| Parameter | Type | Required | Notes |
|---|---|---|---|
| sales_order_id | string | no | ID of the sales order |
| sales_order_number | string | no | weclapp number of the sales order the shipments belong to |
| customer_id | string | no | ID of the customer |
| status | string | no | Only entries with this status |
| limit | number | no | Maximum number of entries to return |
| page | number | no | Page number (for paging) |
| filters | object | no | Filter criteria (field → value) |
| raw | boolean | no | true = return the full weclapp records |
Create a sales order in weclapp from a customer's order (e.g. an order mail). Required: customer_id (list_weclapp_customers) and items [{ article_id, quantity, unit_price? }] (list_weclapp_articles; without unit_price weclapp uses the article's price). Optional: customer_order_number (the customer's purchase order number — strongly recommended: if an order with this number already exists for the c
| Parameter | Type | Required | Notes |
|---|---|---|---|
| customer_id | string | yes | ID of the customer |
| items | array | yes | Order positions: article_id, quantity, optional unit_price (else the article's price) |
| customer_order_number | string | no | Customer's purchase order number; an existing order with it is returned instead of a duplicate |
| planned_delivery_date | string | no | YYYY-MM-DD |
| order_date | string | no | YYYY-MM-DD |
| allow_duplicate | boolean | no | Create even if a matching entry already exists |
| fields | object | no | Field values to set (API field name → value) |
Change an existing weclapp sales order. Optional, combine as needed: planned_delivery_date (YYYY-MM-DD), customer_order_number, status (ORDER_ENTRY_IN_PROGRESS or ORDER_CONFIRMATION_PRINTED = order confirmed), items [{ item_id, quantity?, unit_price?, article_id? }] to change positions (item_id from get_weclapp_sales_order) or [{ article_id, quantity, unit_price? }] without item_id to add one, rem
| Parameter | Type | Required | Notes |
|---|---|---|---|
| sales_order_id | string | yes | ID of the sales order to change |
| planned_delivery_date | string | no | YYYY-MM-DD |
| customer_order_number | string | no | New customer purchase order number |
| status | string | no | New status |
| items | array | no | Positions to change (with item_id) or add (without item_id, with article_id) |
| remove_item_ids | array | no | List of IDs (remove item) |
| fields | object | no | Field values to set (API field name → value) |
Create a task in weclapp, e.g. "clarify delivery date with customer". Required: subject. Optional: description (plain text), due_date (YYYY-MM-DD), start_date, priority (LOW, MEDIUM, HIGH; default MEDIUM), customer_id (links the task to the customer), sales_order_id (links it to the order), assignee_user_id (default: the weclapp user the API token belongs to), fields. Visible to the whole organisa
| Parameter | Type | Required | Notes |
|---|---|---|---|
| subject | string | yes | Subject line |
| description | string | no | Description of the weclapp task |
| due_date | string | no | YYYY-MM-DD |
| start_date | string | no | YYYY-MM-DD |
| priority | string | no | Priority |
| customer_id | string | no | ID of the customer |
| sales_order_id | string | no | ID of the sales order |
| assignee_user_id | string | no | ID of the assignee user |
| fields | object | no | Field values to set (API field name → value) |
Add a comment to a weclapp record — the internal note on an order, customer, shipment etc. Required: entity_name (salesOrder, party, shipment, quotation, salesInvoice, task, ...), entity_id and text. Visible to all weclapp users of the instance; private: true makes it visible to the author only. It is not sent to the customer. WRITES into the customer's ERP — it goes through the permission gate an
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity_name | string | yes | weclapp entity type, e.g. salesOrder, party, shipment, quotation, salesInvoice, task |
| entity_id | string | yes | ID of the record |
| text | string | yes | Comment text (internal, not sent to the customer) |
| private | boolean | no | true = visible to the author only |
The weclapp write log of this tenant: one entry per change made through DelegAIze, newest first — time, tool, weclapp object, weclapp id, the record's NAME and the outcome (ok/failed). The entry is written BEFORE the change is sent, so failed attempts show up too. Filter: tool_name. Changes nothing.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | default 50, max 100 |
| tool_name | string | no | Only entries written by this tool |
Check that the weclapp connection works: reads the user the API token belongs to and reports who that is. Use this after entering credentials, before anything else — a weclapp token hangs on ONE user, and that user's rights apply to everything CallPilotAI does in the instance.
Takes no parameters.
Check the SAP S/4HANA connection: one authenticated read per API this connector uses, and for each one whether the communication user may use it. Reports exactly which communication scenarios (SAP_COM_xxxx) are missing from the communication arrangement, plus the write mode (dry_run/live) and whether this is the read-only SAP API sandbox. Changes nothing.
Takes no parameters.
Search SAP business partners (customers, suppliers, persons). search matches the full name and search term. Read-only. To link a CallPilotAI lead/account to the partner use link_external_record with system "sap_s4hana".
| Parameter | Type | Required | Notes |
|---|---|---|---|
| search | string | no | Free-text search term |
| role | string | no | only partners that are customers / suppliers |
| limit | number | no | max rows (1-100, default 20) |
| skip | number | no | Number of entries to skip (for paging) |
| filter | string | no | optional extra OData $filter, ANDed (e.g. "CreationDate ge datetime'2026-01-01T00:00:00'") |
Get one SAP business partner with addresses (incl. e-mail, phone), roles and tax numbers. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| business_partner | string | yes | SAP business partner number |
Create a business partner (organization or person) in SAP, optionally as customer and/or supplier. Runs a DUPLICATE CHECK first (name, VAT number): a certain duplicate blocks the creation and is returned instead — set allow_duplicate only after a human confirmed it is a different partner. Company code / sales area data come from the connection defaults when extend_to_company_code is true. WRITES i
| Parameter | Type | Required | Notes |
|---|---|---|---|
| category | string | yes | Whether the partner is an organization or a person |
| name | string | no | organization name (category organization) |
| first_name | string | no | First name |
| last_name | string | no | Last name |
| roles | array | no | Create the partner additionally as customer and/or supplier |
| street | string | no | Street and house number |
| house_number | string | no | House number |
| postal_code | string | no | Postal code |
| city | string | no | City |
| country | string | no | ISO code, e.g. DE |
| region | string | no | Region / federal state code |
| string | no | Email address | |
| phone | string | no | Phone number |
| vat | string | no | VAT registration number (USt-IdNr.) |
| extend_to_company_code | boolean | no | also create company code + sales area / purchasing data from the connection defaults |
| allow_duplicate | boolean | no | Create even if a matching entry already exists |
| fields | object | no | further A_BusinessPartner fields, passed through |
| dry_run | boolean | no | true = build and log the request but send nothing. Writes are ALWAYS dry runs while the tenant's SAP connection has write_mode "dry_run" (the default). |
Change fields of an SAP business partner (fields, A_BusinessPartner) and/or of its standard address (address_fields, A_BusinessPartnerAddress). Reads first and sends the version (ETag) along, so it fails instead of overwriting a change made in SAP meanwhile; header and address go as ONE changeset (both or neither). Afterwards checks that SAP really stored every field. WRITES — permission gate
| Parameter | Type | Required | Notes |
|---|---|---|---|
| business_partner | string | yes | SAP business partner number to change |
| fields | object | no | Field values to set (API field name → value) |
| address_fields | object | no | A_BusinessPartnerAddress fields for the standard address (API field name -> value) |
| dry_run | boolean | no | true = build and log the request but send nothing. Writes are ALWAYS dry runs while the tenant's SAP connection has write_mode "dry_run" (the default). |
List SAP sales orders, e.g. of one customer (sold_to) or by the customer's PO number. Shows overall and delivery status. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| sold_to | string | no | SAP customer number (sold-to party) |
| purchase_order_by_customer | string | no | The customer's PO number |
| limit | number | no | max rows (1-100, default 20) |
| skip | number | no | Number of entries to skip (for paging) |
| filter | string | no | optional extra OData $filter, ANDed (e.g. "CreationDate ge datetime'2026-01-01T00:00:00'") |
Get one SAP sales order with items AND its outbound deliveries (planned/actual goods issue, delivery date) — the answer to a customer's "when will it arrive / what is the status". Returns status_text in plain German. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| sales_order | string | yes | SAP sales order number |
| include_deliveries | boolean | no | Also include deliveries |
Create a sales order (VA01 equivalent) from a customer order (mail/PDF). Resolves the customer (sold_to or customer_name) and every item's material (material number or description) — anything ambiguous or missing is returned as a question for a human INSTEAD of creating the order; also refuses a second order with the same customer PO number. Sales area and order type come from the connection defau
| Parameter | Type | Required | Notes |
|---|---|---|---|
| sold_to | string | no | SAP business partner / customer number |
| customer_name | string | no | used when sold_to is unknown |
| purchase_order_by_customer | string | no | The customer's PO number; a second order with the same number is refused |
| requested_delivery_date | string | no | YYYY-MM-DD |
| items | array | yes | Order items: material (number or description), quantity, unit |
| dry_run | boolean | no | true = build and log the request but send nothing. Writes are ALWAYS dry runs while the tenant's SAP connection has write_mode "dry_run" (the default). |
List SAP purchase orders, e.g. of one supplier. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| supplier | string | no | SAP supplier number |
| limit | number | no | max rows (1-100, default 20) |
| skip | number | no | Number of entries to skip (for paging) |
| filter | string | no | optional extra OData $filter, ANDed (e.g. "CreationDate ge datetime'2026-01-01T00:00:00'") |
Get one SAP purchase order with its items (quantity, unit, net price). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| purchase_order | string | yes | SAP purchase order number |
List goods receipts (material document items, movement types 101/102/122) for a purchase order, with the net received quantity per PO item. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| purchase_order | string | yes | SAP purchase order number whose goods receipts are listed |
| limit | number | no | max rows (1-100, default 20) |
| skip | number | no | Number of entries to skip (for paging) |
| filter | string | no | optional extra OData $filter, ANDed (e.g. "CreationDate ge datetime'2026-01-01T00:00:00'") |
List SAP supplier invoices, e.g. of one supplier (invoicing_party) or by the supplier's own invoice number (supplier_reference). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| invoicing_party | string | no | SAP supplier number of the invoicing party |
| supplier_reference | string | no | The supplier's own invoice number |
| limit | number | no | max rows (1-100, default 20) |
| skip | number | no | Number of entries to skip (for paging) |
| filter | string | no | optional extra OData $filter, ANDed (e.g. "CreationDate ge datetime'2026-01-01T00:00:00'") |
Get one SAP supplier invoice with its purchase-order reference items. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| supplier_invoice | string | yes | SAP supplier invoice document number |
| fiscal_year | string | yes | Fiscal year of the invoice document |
3-way match: checks invoice lines against purchase order (price, quantity, unit) and goods receipts (net received quantity incl. reversals) within the connection's tolerances. Pass lines from an incoming invoice BEFORE booking it, or supplier_invoice + fiscal_year to check one already in SAP. Returns per line ok/reasons and the goods receipt the invoice item must reference. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lines | array | no | Invoice lines to check before booking (PO, PO item, quantity, amount, unit) |
| supplier_invoice | string | no | SAP supplier invoice number to check (with fiscal_year) |
| fiscal_year | string | no | Fiscal year of the supplier invoice |
Post an incoming supplier invoice with PO reference (MIRO equivalent). Runs the 3-way match first and books ONLY if every line matches; deviations come back as a question for a human instead of a posting (allow_deviation only after a human approved). Also refuses a second invoice with the same supplier_reference for the same supplier. WRITES — permission gate + write log; dry run unless the connec
| Parameter | Type | Required | Notes |
|---|---|---|---|
| invoicing_party | string | yes | SAP supplier number |
| document_date | string | yes | invoice date YYYY-MM-DD |
| posting_date | string | no | default: today |
| supplier_reference | string | yes | the supplier's invoice number |
| gross_amount | number | yes | Gross invoice amount in document currency |
| currency | string | no | Currency code (ISO 4217, e.g. EUR) |
| company_code | string | no | SAP company code to post in |
| tax_code | string | no | default from the connection |
| lines | array | yes | Invoice lines with PO reference (PO, PO item, quantity, amount, unit) |
| allow_deviation | boolean | no | true = book despite 3-way-match deviations; only after human approval |
| park | no | true = park the invoice in SAP instead of posting it; 'bei_abweichung' = park only when the 3-way match deviates (instead of asking back). A duplicate invoice number is always refused. | |
| dry_run | boolean | no | true = build and log the request but send nothing. Writes are ALWAYS dry runs while the tenant's SAP connection has write_mode "dry_run" (the default). |
List SAP billing documents (customer invoices), e.g. of one customer (sold_to). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| sold_to | string | no | SAP customer number (sold-to party) |
| limit | number | no | max rows (1-100, default 20) |
| skip | number | no | Number of entries to skip (for paging) |
| filter | string | no | optional extra OData $filter, ANDed (e.g. "CreationDate ge datetime'2026-01-01T00:00:00'") |
Get one SAP billing document with its items. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| billing_document | string | yes | SAP billing document number |
List SAP maintenance/service orders, e.g. for one equipment or functional location. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| equipment | string | no | SAP equipment number |
| functional_location | string | no | SAP functional location |
| limit | number | no | max rows (1-100, default 20) |
| skip | number | no | Number of entries to skip (for paging) |
| filter | string | no | optional extra OData $filter, ANDed (e.g. "CreationDate ge datetime'2026-01-01T00:00:00'") |
Get one SAP maintenance order. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| maintenance_order | string | yes | SAP maintenance order number |
List SAP maintenance notifications, e.g. for one equipment or functional location. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| equipment | string | no | SAP equipment number |
| functional_location | string | no | SAP functional location |
| limit | number | no | max rows (1-100, default 20) |
| skip | number | no | Number of entries to skip (for paging) |
| filter | string | no | optional extra OData $filter, ANDed (e.g. "CreationDate ge datetime'2026-01-01T00:00:00'") |
Get one SAP maintenance notification. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| maintenance_notification | string | yes | SAP maintenance notification number |
Create a maintenance/service notification in SAP, e.g. from a field-service report: short text, long text (the report), technical object (equipment or functional location), priority. WRITES — permission gate + write log; dry run unless the connection is live.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| text | string | yes | short text (max 40 characters) |
| long_text | string | no | Long text of the notification, e.g. the field-service report |
| equipment | string | no | SAP equipment number of the technical object |
| functional_location | string | no | SAP functional location of the technical object |
| priority | string | no | SAP priority, e.g. 1-4 |
| notification_type | string | no | default from the connection (M1) |
| reported_by | string | no | name of the reporting person, added to the long text |
| dry_run | boolean | no | true = build and log the request but send nothing. Writes are ALWAYS dry runs while the tenant's SAP connection has write_mode "dry_run" (the default). |
Search SAP materials/products by description (or number). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| search | string | no | Free-text search term |
| language | string | no | Language code (e.g. de, en) |
| limit | number | no | max rows (1-100, default 20) |
| skip | number | no | Number of entries to skip (for paging) |
| filter | string | no | optional extra OData $filter, ANDed (e.g. "CreationDate ge datetime'2026-01-01T00:00:00'") |
Get one SAP material/product with its descriptions. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| material | string | yes | SAP material number |
Current stock of a material, summed per plant / storage location / stock type. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| material | string | yes | SAP material number |
| plant | string | no | Only stock in this plant |
Open items (FI) of a customer (receivables) or supplier (payables): document, due date, amount, overdue flag, plus totals — the basis for a dunning / clarification mail. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| customer | string | no | SAP customer number (receivables) |
| supplier | string | no | SAP supplier number (payables) |
| company_code | string | no | SAP company code |
| limit | number | no | max rows (1-100, default 20) |
| skip | number | no | Number of entries to skip (for paging) |
| filter | string | no | optional extra OData $filter, ANDed (e.g. "CreationDate ge datetime'2026-01-01T00:00:00'") |
The SAP write log of this tenant: every create/update the connector sent or prepared (dry run), with who/which agent, object, payload hash and outcome. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
| tool_name | string | no | Only entries written by this tool |
Check the Salesforce connection with authenticated reads (OAuth userinfo + SOQL on Organization): org name/id, user, API version, login type (oauth | client_credentials), write mode (dry_run/live), writable objects and the org's daily API usage from Sforce-Limit-Info. Changes nothing.
Takes no parameters.
List Salesforce records of one object (Account, Contact, Lead, Opportunity, Task, Event, Case), newest change first. Filters: owner_id, account_id (Contact/Opportunity/Case/Task/Event), open_only (Lead not converted, Opportunity/Task/Case not closed, Event not past), modified_since, and an optional SOQL where (read-only, ANDed). Default fields are standard fields; pass fields for more (see des
| Parameter | Type | Required | Notes |
|---|---|---|---|
| object | string | yes | Salesforce object |
| fields | array | no | API field names, e.g. ["Name","Industry","Account.Name"] |
| owner_id | string | no | ID of the owner (user) |
| account_id | string | no | ID of the account (company) |
| open_only | boolean | no | true = only open records (Lead not converted, Opportunity/Task/Case not closed, Event not past) |
| modified_since | string | no | YYYY-MM-DD |
| where | string | no | extra SOQL condition, e.g. "Industry = 'Energy'" |
| order_by | string | no | field [ASC|DESC], default LastModifiedDate DESC |
| limit | number | no | 1-200, default 20 |
| offset | number | no | max 2000 |
Get one Salesforce record by id (Account 001…, Contact 003…, Lead 00Q…, Opportunity 006…, Task 00T…, Event 00U…, Case 500…). Optional fields; default the standard fields of the object. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| object | string | yes | Salesforce object |
| id | string | yes | ID of the Salesforce record to read |
| fields | array | no | Field names to return |
Full-text search across Salesforce (name, e-mail, phone, company …) — the answer to "who is calling / do we know this company". Searches Account, Contact, Lead, Opportunity and Case unless objects narrows it. Read-only. To link a DelegAIze lead/account to the record use link_external_record with system "salesforce".
| Parameter | Type | Required | Notes |
|---|---|---|---|
| term | string | yes | at least 2 characters |
| objects | array | no | Restrict the search to these Salesforce objects |
| limit | number | no | per object, 1-50, default 10 |
Create a Salesforce record (Account, Contact, Lead, Opportunity, Task, Event, Case) from fields (API names, e.g. {"LastName":"Mustermann","Company":"Beispiel GmbH"}). Checks required fields first (Account: Name; Contact: LastName; Lead: LastName+Company; Opportunity: Name+StageName+CloseDate; Task/Case: Subject; Event: Subject+StartDateTime+EndDateTime) and a DUPLICATE check (Account by name, Co
| Parameter | Type | Required | Notes |
|---|---|---|---|
| object | string | yes | Salesforce object |
| fields | object | yes | Field values to set (API field name → value) |
| allow_duplicate | boolean | no | Create even if a matching entry already exists |
| dry_run | boolean | no | true = build and log the request but send nothing. Writes are ALWAYS dry runs while the tenant's Salesforce connection has write_mode "dry_run" (the default). |
Change fields of a Salesforce record. Reads it first and sends If-Unmodified-Since, so it fails instead of overwriting a change made in Salesforce meanwhile; afterwards checks that Salesforce really stored every field (a trigger or validation may change values). WRITES — permission gate + write log; dry run unless the connection is live.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| object | string | yes | Salesforce object |
| id | string | yes | ID of the Salesforce record to change |
| fields | object | yes | Field values to set (API field name → value) |
| dry_run | boolean | no | true = build and log the request but send nothing. Writes are ALWAYS dry runs while the tenant's Salesforce connection has write_mode "dry_run" (the default). |
Put a note or a logged activity on a Salesforce record (Account, Contact, Lead, Opportunity, Case …): kind "activity" (default) creates a completed Task ("Log a Call"/e-mail) that shows in the record's activity timeline; kind "note" creates an Enhanced Note (ContentNote) linked to the record. A call summary belongs in the CRM, not only here. WRITES — permission gate + write log; dry run unless the
| Parameter | Type | Required | Notes |
|---|---|---|---|
| record_id | string | yes | ID of the record |
| kind | string | no | activity = completed Task in the timeline (default), note = Enhanced Note |
| subject | string | no | title / subject (default: first line of body) |
| body | string | yes | Body text |
| activity_type | string | no | for kind activity, default Call |
| dry_run | boolean | no | true = build and log the request but send nothing. Writes are ALWAYS dry runs while the tenant's Salesforce connection has write_mode "dry_run" (the default). |
Run a read-only SOQL query (SELECT only — DML, FOR UPDATE/VIEW/REFERENCE and multiple statements are rejected). Without LIMIT a LIMIT of 200 is added, a larger LIMIT is capped at 2000; follows nextRecordsUrl up to max_records. Use describe_salesforce_object for field names. Example: SELECT Name, StageName, Amount FROM Opportunity WHERE IsClosed = false ORDER BY CloseDate.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| soql | string | yes | Read-only SOQL SELECT statement |
| max_records | number | no | 1-2000, default 200 |
Describe a Salesforce object (also custom objects like Heatpump__c): fields with API name, label, type, length, required-on-create, writable, references and ACTIVE picklist values (e.g. StageName, Lead Status, Case Status). Read-only. Use before create/update to get valid values.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| object | string | yes | API name, e.g. Opportunity or Waermepumpe__c |
| fields | array | no | only these fields |
| only_writable | boolean | no | true = return only writable fields |
The Salesforce write log of this tenant: every create/update/note the connector sent or prepared (dry run), with who/which agent, object, record id, payload hash and outcome. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
| tool_name | string | no | Only entries written by this tool |
Check the Microsoft Dynamics 365 Business Central connection with an authenticated read: lists the companies of the environment, the company the tools use, write mode (dry_run/live) and writable entities. Changes nothing.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| company | string | no | company name or id; default: the company set on the connection (or the only one) |
List Business Central records of one entity (customers, vendors, items, contacts, salesQuotes, salesOrders, salesInvoices, salesCreditMemos, purchaseOrders, purchaseInvoices, employees, projects, accounts, generalLedgerEntries), newest change first. Filters: modified_since, customer_number / vendor_number (documents), and an optional OData filter (e.g. "status eq 'Open'", "balanceDue gt 0", "con
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Business Central API v2.0 entity |
| company | string | no | company name or id; default: the company set on the connection (or the only one) |
| fields | array | no | API field names for $select, e.g. ["number","displayName","balanceDue"]; default all fields |
| filter | string | no | OData $filter (read-only). Business Central rejects "or" across different fields (HTTP 501) — use one field per call. |
| modified_since | string | no | YYYY-MM-DD |
| customer_number | string | no | Only documents of this customer number |
| vendor_number | string | no | Only documents of this vendor number |
| expand_lines | boolean | no | documents only |
| order_by | string | no | field [asc|desc], default lastModifiedDateTime desc |
| limit | number | no | 1-200, default 20 |
| skip | number | no | max 10000 |
Get one Business Central record by id (GUID), documents with their lines. Returns the etag that update_business_central_record uses against overwriting. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Business Central API v2.0 entity |
| id | string | yes | ID of the Business Central record to read |
| company | string | no | company name or id; default: the company set on the connection (or the only one) |
| expand_lines | boolean | no | documents: default true |
Search Business Central customers, vendors, contacts and items by name (contains), number (exact) or e-mail (exact) — the answer to "do we know this company / who is this". entities narrows it. Read-only. To link a DelegAIze lead/account use link_external_record with system "business_central".
| Parameter | Type | Required | Notes |
|---|---|---|---|
| term | string | yes | at least 2 characters |
| entities | array | no | Restrict the search to these entities |
| company | string | no | company name or id; default: the company set on the connection (or the only one) |
| limit | number | no | per entity, 1-50, default 10 |
Create a Business Central record from fields (API v2.0 names): customers/vendors/items/contacts (displayName required, e.g. {"displayName":"Beispiel GmbH","email":"info@example.com"}) or a DRAFT document — salesQuotes, salesOrders, salesInvoices (customerNumber or customerId), purchaseOrders, purchaseInvoices (vendorNumber or vendorId) — with optional lines ([{"lineType":"Item","lineObjectNumb
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Business Central API v2.0 entity |
| company | string | no | company name or id; default: the company set on the connection (or the only one) |
| fields | object | yes | Field values to set (API field name → value) |
| lines | array | no | document lines (deep insert), max 200 |
| allow_duplicate | boolean | no | Create even if a matching entry already exists |
| dry_run | boolean | no | true = build and log the request but send nothing. Writes are ALWAYS dry runs while the tenant's Business Central connection has write_mode "dry_run" (the default). |
Change header fields of a Business Central record (customers, vendors, items, contacts, draft documents). Reads it first and sends If-Match with its etag, so it fails instead of overwriting a change made in Business Central meanwhile; afterwards checks that every field was stored as sent. Posted documents cannot be changed. WRITES — permission gate + write log; dry run unless the connection is liv
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Business Central API v2.0 entity |
| id | string | yes | ID of the Business Central record to change |
| company | string | no | company name or id; default: the company set on the connection (or the only one) |
| fields | object | yes | Field values to set (API field name → value) |
| dry_run | boolean | no | true = build and log the request but send nothing. Writes are ALWAYS dry runs while the tenant's Business Central connection has write_mode "dry_run" (the default). |
The Business Central write log of this tenant: every create/update the connector sent or prepared (dry run), with who/which agent, entity, record id, payload hash and outcome. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Maximum number of entries to return |
| tool_name | string | no | Only entries written by this tool |
Check the Microsoft Dynamics 365 Sales connection with an authenticated call (WhoAmI): reports the environment, the application user the app acts as and its business unit. Use after entering credentials — the app's security role in Dynamics decides what all dynamics tools may do. Changes nothing.
Takes no parameters.
List Dynamics 365 Sales records of one entity — accounts, contacts, leads, opportunities, quotes or salesorders — newest change first, with readable labels for status and lookups (e.g. statuscode_label, parentaccountid_name). Filters: search (contains on name/e-mail/number), account_id (contacts, leads, opportunities, quotes and orders of that account), open_only, modified_since, and an optional O
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Dynamics 365 Sales entity to list |
| search | string | no | Free-text search term |
| account_id | string | no | ID of the account (company) |
| open_only | boolean | no | true = only open records |
| modified_since | string | no | YYYY-MM-DD |
| filter | string | no | OData $filter on logical names; lookups as _parentaccountid_value eq <GUID> |
| fields | array | no | logical names for $select; default a compact set per entity |
| order_by | string | no | default "modifiedon desc" |
| limit | number | no | 1-200, default 20 |
Get one Dynamics 365 Sales record (accounts, contacts, leads, opportunities, quotes, salesorders) by id (GUID), with readable labels and the etag. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Dynamics 365 Sales entity of the record |
| id | string | yes | ID of the Dynamics record to read |
| fields | array | no | Field names to return |
List tasks and/or phone calls from Dynamics 365 Sales, newest first — optionally only those regarding one account, contact, lead or opportunity (regarding_id) and only open ones. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| type | string | no | default both |
| regarding_id | string | no | ID of the related record |
| open_only | boolean | no | true = only open tasks/phone calls |
| limit | number | no | per type, 1-100, default 20 |
Create a lead in Dynamics 365 Sales — e.g. from an e-mail enquiry. Required: subject (topic) and last_name or company. Optional: first_name, email, phone, mobile, job_title, website, description, estimated_value, fields. Looks for an existing lead or contact with the same e-mail first and returns it as a question instead of creating a duplicate. WRITES into the customer's Dynamics 365 — it goes th
| Parameter | Type | Required | Notes |
|---|---|---|---|
| subject | string | yes | Subject line |
| first_name | string | no | First name |
| last_name | string | no | Last name |
| company | string | no | Company name |
| string | no | Email address | |
| phone | string | no | Phone number |
| mobile | string | no | Mobile phone number |
| job_title | string | no | Job title / position |
| website | string | no | Website URL |
| description | string | no | Description of the Dynamics lead |
| estimated_value | number | no | Estimated value of the lead |
| fields | object | no | further Dataverse columns by logical name (lower case, e.g. {"address1_city":"Leipzig"}); lookups as {"parentaccountid@odata.bind":"/accounts(<GUID>)"} |
| allow_duplicate | boolean | no | set only after a human confirmed that the found duplicate is a different record |
Change fields of a Dynamics 365 lead (logical names, e.g. {"telephone1":"+49 …","leadqualitycode":1}). Reads the lead first and sends If-Match with its etag, so a change made in Dynamics meanwhile is not overwritten; reports fields Dynamics did not store as sent. WRITES into the customer's Dynamics 365 — it goes through the permission gate and the Dynamics write log (audit_log dynamics_write).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lead_id | string | yes | ID of the lead to change |
| fields | object | yes | further Dataverse columns by logical name (lower case, e.g. {"address1_city":"Leipzig"}); lookups as {"parentaccountid@odata.bind":"/accounts(<GUID>)"} |
Create a contact in Dynamics 365 Sales. Required: last_name. Optional: first_name, email, phone, mobile, job_title, description, account_id (the company), fields. Checks for an existing contact with the same e-mail first. WRITES into the customer's Dynamics 365 — it goes through the permission gate and the Dynamics write log (audit_log dynamics_write).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| last_name | string | yes | Last name |
| first_name | string | no | First name |
| string | no | Email address | |
| phone | string | no | Phone number |
| mobile | string | no | Mobile phone number |
| job_title | string | no | Job title / position |
| description | string | no | Description of the Dynamics contact |
| account_id | string | no | ID of the account (company) |
| fields | object | no | further Dataverse columns by logical name (lower case, e.g. {"address1_city":"Leipzig"}); lookups as {"parentaccountid@odata.bind":"/accounts(<GUID>)"} |
| allow_duplicate | boolean | no | set only after a human confirmed that the found duplicate is a different record |
Change fields of a Dynamics 365 contact (logical names). Read first, If-Match on the etag, stored values checked afterwards. WRITES into the customer's Dynamics 365 — it goes through the permission gate and the Dynamics write log (audit_log dynamics_write).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contact_id | string | yes | ID of the contact to change |
| fields | object | yes | further Dataverse columns by logical name (lower case, e.g. {"address1_city":"Leipzig"}); lookups as {"parentaccountid@odata.bind":"/accounts(<GUID>)"} |
Create an account (company) in Dynamics 365 Sales. Required: name. Optional: account_number, email, phone, website, street, postal_code, city, country, description, primary_contact_id, fields. Checks for an account with the same name first. WRITES into the customer's Dynamics 365 — it goes through the permission gate and the Dynamics write log (audit_log dynamics_write).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name of the Dynamics account |
| account_number | string | no | Account number |
| string | no | Email address | |
| phone | string | no | Phone number |
| website | string | no | Website URL |
| street | string | no | Street and house number |
| postal_code | string | no | Postal code |
| city | string | no | City |
| country | string | no | Country (ISO code or name) |
| description | string | no | Description of the Dynamics account |
| primary_contact_id | string | no | ID of the primary contact |
| fields | object | no | further Dataverse columns by logical name (lower case, e.g. {"address1_city":"Leipzig"}); lookups as {"parentaccountid@odata.bind":"/accounts(<GUID>)"} |
| allow_duplicate | boolean | no | set only after a human confirmed that the found duplicate is a different record |
Change fields of a Dynamics 365 account (logical names). Read first, If-Match on the etag, stored values checked afterwards. WRITES into the customer's Dynamics 365 — it goes through the permission gate and the Dynamics write log (audit_log dynamics_write).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| account_id | string | yes | ID of the account (company) to change |
| fields | object | yes | further Dataverse columns by logical name (lower case, e.g. {"address1_city":"Leipzig"}); lookups as {"parentaccountid@odata.bind":"/accounts(<GUID>)"} |
Create an opportunity in Dynamics 365 Sales. Required: name (topic). Optional: account_id and/or contact_id (the customer), lead_id (originating lead), estimated_value, estimated_close_date (YYYY-MM-DD), close_probability, description, fields. WRITES into the customer's Dynamics 365 — it goes through the permission gate and the Dynamics write log (audit_log dynamics_write).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name of the Dynamics opportunity |
| account_id | string | no | ID of the account (company) |
| contact_id | string | no | ID of the contact |
| lead_id | string | no | ID of the lead |
| estimated_value | number | no | Estimated revenue of the opportunity |
| estimated_close_date | string | no | Expected close date, YYYY-MM-DD |
| close_probability | number | no | Probability of closing |
| description | string | no | Description of the Dynamics opportunity |
| fields | object | no | further Dataverse columns by logical name (lower case, e.g. {"address1_city":"Leipzig"}); lookups as {"parentaccountid@odata.bind":"/accounts(<GUID>)"} |
Change a Dynamics 365 opportunity and/or close it. fields: logical names (read first, If-Match on the etag). outcome "won" or "lost" closes it through WinOpportunity/LoseOpportunity with close_subject, actual_revenue, close_date (YYYY-MM-DD), close_note and for lost lost_reason "canceled" (default) or "outsold"; status_code only for custom status reasons. Only open opportunities can be closed. WRI
| Parameter | Type | Required | Notes |
|---|---|---|---|
| opportunity_id | string | yes | ID of the opportunity to change |
| fields | object | no | further Dataverse columns by logical name (lower case, e.g. {"address1_city":"Leipzig"}); lookups as {"parentaccountid@odata.bind":"/accounts(<GUID>)"} |
| outcome | string | no | Close the opportunity as won or lost |
| close_subject | string | no | Subject of the closing record |
| actual_revenue | number | no | Actual revenue when closing |
| close_date | string | no | Close date, YYYY-MM-DD |
| close_note | string | no | Note on the closing |
| lost_reason | string | no | Reason when lost (default canceled) |
| status_code | number | no | Custom status reason code for closing |
Create a task (follow-up) in Dynamics 365 Sales, optionally regarding an account, contact, lead or opportunity (regarding_entity + regarding_id). due: YYYY-MM-DD (noon Berlin) or ISO time; priority low/normal/high. WRITES into the customer's Dynamics 365 — it goes through the permission gate and the Dynamics write log (audit_log dynamics_write).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| subject | string | yes | Subject line |
| description | string | no | Description of the Dynamics task |
| due | string | no | Due date YYYY-MM-DD (noon Berlin) or ISO time |
| priority | string | no | Priority |
| regarding_entity | string | no | Entity type of the related record (with regarding_id) |
| regarding_id | string | no | ID of the related record |
| fields | object | no | further Dataverse columns by logical name (lower case, e.g. {"address1_city":"Leipzig"}); lookups as {"parentaccountid@odata.bind":"/accounts(<GUID>)"} |
Add a note (annotation) to a Dynamics 365 account, contact, lead or opportunity — e.g. the gist of a call or e-mail. Required: regarding_entity, regarding_id, text. Optional: subject. WRITES into the customer's Dynamics 365 — it goes through the permission gate and the Dynamics write log (audit_log dynamics_write).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| regarding_entity | string | yes | Entity type of the record the note is attached to |
| regarding_id | string | yes | ID of the related record |
| text | string | yes | Text of the note |
| subject | string | no | Subject line |
The Dynamics 365 write log of this tenant: one entry per change made through DelegAIze, newest first — time, tool, entity, Dynamics id, the record's NAME and the outcome (ok/failed). The entry is written BEFORE the change is sent, so failed attempts show up too. Filter: tool_name. Changes nothing.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | default 50, max 100 |
| tool_name | string | no | Only entries written by this tool |
Test KORONA.event credentials with an authenticated, read-only events request. Returns a clear authentication, permission, account or region error.
Takes no parameters.
List KORONA.event events with title, start, duration, location, categories, capacity and currently available places. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| page | number | no | Page number (for paging) |
| limit | number | no | Maximum number of entries to return |
| min_start_time | string | no | Only events starting at or after this time |
| max_start_time | string | no | Only events starting at or before this time |
List KORONA.cloud receipt/sales transactions, including customer reference, totals, items and payments. Use link_korona_sale to associate one locally with a CallPilotAI lead or contact. Read-only in KORONA.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| page | number | no | Page number (for paging) |
| limit | number | no | Maximum number of entries to return |
| min_booking_time | string | no | Only receipts booked at or after this time |
| max_booking_time | string | no | Only receipts booked at or before this time |
| number | string | no | KORONA receipt number |
| order_number | string | no | Order number of the sale |
List KORONA.event tickets and their personalization/customer number. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| page | number | no | Page number (for paging) |
| limit | number | no | Maximum number of entries to return |
| ticket_number | string | no | KORONA ticket number |
| customer_number | string | no | Customer number on the ticket |
| creation_from | string | no | Only tickets created at or after this time |
| creation_to | string | no | Only tickets created at or before this time |
Associate a KORONA receipt/sale with a CallPilotAI lead or contact. This writes only a reversible local external link; it never changes KORONA.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| receipt_id | string | yes | ID of the receipt |
| receipt_number | string | no | KORONA receipt number (for reference) |
| entity | string | yes | Whether entity_id is a lead or a contact |
| entity_id | string | yes | ID of the record |
Check the tenant's eHour API key with a real authenticated read (GET /api/v4/report-kv for today, allowed for both Read/Write and Reporting-Only keys). A rejected key (401) is reported as an error. Read-only.
Takes no parameters.
List eHour clients (GET /api/v2/clients: id, code, name; with expanded=true GET /api/v2/clients-expanded: all properties incl. custom fields). Needs a Read/Write key — a Reporting-Only key gets 403. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| filter | string | no | Optional eHour filter expression (help.getehour.com/article/127-api-filtering), e.g. 'project_name$like:*Dev*'. |
| expanded | boolean | no | All client properties instead of id/code/name. |
List eHour projects with all properties including client and budget information (GET /api/v5/projects-expanded; allowed for Reporting-Only keys). Use the project ids with get_ehour_report. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| filter | string | no | Optional eHour filter expression (help.getehour.com/article/127-api-filtering), e.g. 'project_name$like:*Dev*'. |
List eHour users with roles, custom fields and contract details (GET /api/v3/users). Needs a Read/Write key. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| filter | string | no | Optional eHour filter expression (help.getehour.com/article/127-api-filtering), e.g. 'project_name$like:*Dev*'. |
One eHour project with all properties: client, project managers, billable flag, time or money budget (GET /api/v4/projects/{projectId}). Required: project_id (e.g. PRJ26867 from list_ehour_projects). For budget consumption use get_ehour_report with group_by project and include_budget. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| project_id | string | yes | ID of the project to read |
Tasks in eHour. With project_id: the tasks of that project (GET /api/v1/projects/{projectId}/tasks). Without: all projects with their tasks and client in a compact form (GET /api/v1/projects/tasks), optional filter on project, client and task fields (e.g. 'task_name$like:*Montage*'). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| project_id | string | no | ID of the project |
| filter | string | no | Optional eHour filter expression (help.getehour.com/article/127-api-filtering), e.g. 'project_name$like:*Dev*'. |
Who is assigned to which project or task, with role, rate and budget. With user_id: that user's active assignments incl. time and money budgets (GET /api/v3/users/{userId}/assignments). With project_id: all assignments of the project (GET /api/v4/projects/{projectId}/assignments). Otherwise a filtered list of team (TSG…) and user (ASG…) assignments (GET /api/v5/assignments, e.g. filter 'active$eq:
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | no | ID of the user |
| project_id | string | no | ID of the project |
| filter | string | no | Optional eHour filter expression (help.getehour.com/article/127-api-filtering), e.g. 'project_name$like:*Dev*'. |
| include_team_created | boolean | no | Also include team created |
eHour teams with their members (GET /api/v3/teams/members). state: active (default) or all (incl. archived). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| state | string | no | active (default) or all including archived teams |
One eHour user by user id (e.g. USR130) or email address (GET /api/v2/users/{query}). Required: query. The type (id or email) is detected from the '@'. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | string | yes | User id or email |
Timesheet approval state of a user for the weekly or monthly approval period containing a date (GET /api/v1/users/{userId}/approvals?date=…). Returns NOT_REQUESTED with the period boundaries if nothing was submitted. Required: user_id, date (YYYY-MM-DD). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | yes | ID of the user |
| date | string | yes | YYYY-MM-DD |
Time locks in eHour - periods in which tracked time can no longer be changed (GET /api/v1/timelocks). Read-only.
Takes no parameters.
Expenses of one user on one day, with category, amount, VAT and receipt info (GET /api/v2/expenses/{userId}/{day}). Required: user_id, day (YYYY-MM-DD, UTC). For expense totals over a period use get_ehour_report with columns such as EXPENSE_CATEGORY_NAME,EXPENSE_COST. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| user_id | string | yes | ID of the user |
| day | string | yes | YYYY-MM-DD |
All expense categories in eHour (GET /api/v1/expense-categories). Read-only.
Takes no parameters.
Project templates in eHour (GET /api/v1/projects/templates); with template_id one template and its tasks (GET /api/v1/projects/templates/{templateId} and …/tasks). Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| template_id | string | no | ID of the template |
Tracked time (and expenses) from eHour for a date range (GET /api/v4/report-kv; allowed for Reporting-Only keys). Required: start, end (YYYY-MM-DD). PREFER group_by for any question about totals ('how many hours per project / person this month'): eHour sums server-side and the answer is a few rows in HOURS (total_hours + rows sorted by hours), instead of one raw row per person and day. group_by: o
| Parameter | Type | Required | Notes |
|---|---|---|---|
| start | string | yes | YYYY-MM-DD |
| end | string | yes | YYYY-MM-DD |
| group_by | array | no | Sum hours per project / client / user / task / team (combinable, e.g. ["project","user"]). |
| include_budget | boolean | no | With group_by project: add lifetime budget, consumed and remaining hours. |
| project_id | string | no | ID of the project |
| client_id | string | no | ID of the client |
| user_id | string | no | ID of the user |
| aggregation | string | no | Period split: with group_by per period; without group_by default DAILY |
| columns | string | no | Comma-separated eHour columns for raw rows, e.g. PROJECT_ID, HOURS_APPROVED |
| page | number | no | Page number (for paging) |
| include_nullified_time | boolean | no | Also include nullified time |
Go through a folder on a connected computer (local bridge, e.g. a network drive) and propose CONTRACT BUNDLES: which file is the contract, which are amendments (Nachträge), rent changes (Mieterhöhung), annexes, terminations, handover protocols, and which belong together — from file and folder names, recursively. ONE bundle per OBJECT folder: all versions of a contract in that folder merge (the sig
| Parameter | Type | Required | Notes |
|---|---|---|---|
| bridge | string | yes | Bridge slug of the connected computer (see br_<slug>__filesystem__* tools) |
| folder | string | yes | Allowed folder of that bridge (see list_allowed_directories) |
| path | string | no | Subfolder inside folder to scan |
| max_files | number | no | Maximum number of files to enumerate (default 3000) |
| skip_folders | array | no | Extra folder names to skip entirely, in addition to the defaults |
| exclude_words | array | no | Extra filename words that never belong to a contract |
Read ONE contract bundle and register it — rental contracts AND every other kind (service, maintenance, lease = leasing, insurance, supply/energy, license/software, loan, purchase, cooperation, employment, nda, other): the AI first decides the type (contract_type), rentals get the rental fields (landlord/tenant, property, rent), all others the general fields (client/contractor, subject, fee + peri
| Parameter | Type | Required | Notes |
|---|---|---|---|
| scan_id | string | no | ID of the scan |
| bundle_key | string | no | Key of the bundle from scan_contract_folder (with scan_id) |
| bridge | string | no | Bridge slug, when passing files directly instead of scan_id |
| folder | string | no | Allowed folder of the bridge the files are in |
| files | array | no | Files of the bundle with their role, instead of scan_id + bundle_key |
| our_names | array | no | How we appear in contracts; added to the own-company list |
| model | string | no | AI model for the extraction (default gpt-6-luna) |
| modus | string | no | referenz = store only a link to the file (default), kopie = copy the bytes |
| verknuepfen | boolean | no | Alias for modus: true = referenz, false = kopie |
| link_parties | boolean | no | Match or create organisations/persons for the parties (default true) |
Fetch a bridge-LINKED contract file on demand (Ticket T3). A document imported with modus 'referenz' holds only a link (source_meta.kind='bridge') and no bytes, so get_document_link / analyze_document have nothing to serve. This re-fetches the original through the bridge into the document store (sets its storage_path + file_size) so it can then be opened or analysed; the link metadata stays, and a
| Parameter | Type | Required | Notes |
|---|---|---|---|
| document_id | string | yes | ID of the document |
Progress and result of an import_contract_from_folder run (Ticket 8138bb37). Required: operation_id (from import_contract_from_folder). Returns state: 'running' with per-file progress (phase per file: wartet/hochgeladen/ocr/gelesen/fertig); 'complete' with the created/updated contract_id and art ('neu' or 'aktualisiert') plus the full extraction result; or 'failed' with the overall reason (fehler)
| Parameter | Type | Required | Notes |
|---|---|---|---|
| operation_id | string | yes | ID of the operation |
Export the contracts — ALL types (rental, service, maintenance, lease, insurance, …) unless contract_type narrows it — as an Excel file (Vertraege-<date>.xlsx; Mietvertraege-… with contract_type=rental). Sheets: Verträge (one row per contract: type, status, our role, our company, counterparty, linked organisation and person, then the extracted fields incl. calculated €/m² for rentals, then one col
| Parameter | Type | Required | Notes |
|---|---|---|---|
| scan_id | string | no | ID of the scan |
| only_extracted | boolean | no | Only contracts with extracted facts (default true) |
| contract_type | string | no | Only contracts of this type, e.g. rental |
| write_to | object | no | Also write the .xlsx into this folder on a connected computer |
Store this tenant's contract-scan patterns so scan_contract_folder uses them EVERY time (e.g. for the scheduled 15-minute run) without passing them as arguments. Fields: skip_folders (folder names whose contents are never a contract — ADDED to the built-in defaults archiv/_archiv/alt); exclude_words (filename words that never belong to a contract); main_patterns (globs like *MV* / *Mietvertrag* th
| Parameter | Type | Required | Notes |
|---|---|---|---|
| own_companies | array | no | The tenant's own companies, used to decide our role in a contract |
| skip_folders | array | no | Folder names whose contents are never a contract (added to defaults) |
| exclude_words | array | no | Filename words that never belong to a contract |
| main_patterns | array | no | Filename globs marking a main contract; empty = built-in default |
| addition_patterns | array | no | Filename globs marking an amendment; empty = built-in default |
| addition_folder_patterns | array | no | Folder-name globs whose files count as amendments |
| exclusion_patterns | array | no | Filename globs that drop a file from every bundle; empty = built-in default |
| area_rules | array | no | Path globs on the main contract that set its area (custom field blatt); first match wins |
| default_area | string | no | Area used when no area rule matches; empty = no area |
| export_sheets | array | no | Extra Excel sheets for export_contracts_excel, routed by area |
| fact_to_custom_fields | object | no | Map custom_key -> fact_field to copy extracted values into existing custom fields |
| max_imports_per_day | number | no | Daily cap on contract imports (AI extractions); 0/null = no cap |
Read this tenant's stored contract rules (skip_folders, exclude_words, main_patterns, addition_patterns, addition_folder_patterns, exclusion_patterns, area_rules, default_area, export_sheets, fact_to_custom_fields, own_companies, max_imports_per_day) that scan, import and export use. An empty main/addition/exclusion list means the built-in default applies.
Takes no parameters.
Template (Ticket c7db227d Punkt 12) for the scheduled agent 'Vertragsablage überwachen': returns ready-to-use provision_agent arguments (server_job, every 15 minutes, 07–19 h, Mon–Fri) whose run is: scan_contract_folder → import_contract_from_folder ONLY for bundles with bereits_erfasst=false (asynchronous; poll get_contract_import) → uncertain results (zu_pruefen / unsichere_felder / uebersprunge
| Parameter | Type | Required | Notes |
|---|---|---|---|
| bridge | string | yes | Bridge slug of the connected computer to monitor |
| folder | string | yes | Allowed folder of that bridge to monitor |
| path | string | no | Subfolder inside folder |
| our_names | array | no | How we appear in contracts (decides our role) |
| max_imports_per_day | number | no | Daily cap on imports for the cost limit (default 20) |
| name | string | no | Name of the agent (default Vertragsablage ueberwachen) |
Configure a deadline-reminder mail PER CONTRACT TYPE: a template (subject, body) with a recipient list and how many days ahead to remind. preview_contract_deadline_mails then shows the due reminders (draft-first; nothing is sent automatically). Required: contract_type. Optional (a passed field replaces, an omitted one keeps): subject, body (both support placeholders {{vertrag}} {{gegenpartei}} {{v
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contract_type | string | yes | Contract type this reminder template applies to, e.g. rental |
| subject | string | no | Subject line |
| body | string | no | Body text |
| recipients | array | no | Recipient e-mail addresses of the reminder |
| lead_days | integer | no | Days before the deadline to remind, 0-365 (default 30) |
| active | boolean | no | Whether the entry is active |
List this tenant's deadline-reminder mail templates per contract type (subject, body, recipients, lead_days, active).
Takes no parameters.
Draft-first: for every active deadline-mail template, find the OPEN contract deadlines due within its lead_days (0-30 days before the date) for contracts of that type, render subject/body with the placeholders, and return the reminders that would go out — WITHOUT sending. Review them and send via the normal mail path.
Takes no parameters.
Export people (entity=contacts) or organisations (entity=accounts) as a real spreadsheet file and return { url, filename, format, count, columns, hidden_columns, truncated }. url is a signed link (7 days) to a private file. format: xlsx (default) | csv (semicolon-separated, UTF-8 with BOM so Excel opens umlauts correctly). Optional filters: ids (export exactly these rows, e.g. the current filtered
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | contacts | accounts |
| format | string | no | xlsx (default) | csv |
| ids | array | no | Export exactly these records (max 20000). |
| search | string | no | Free-text search term |
| owner_id | string | no | ID of the owner (user) |
| label | string | no | Only records with this label (name or id). |
| filter | object | no | Combinable filter like search_crm: { all: [...], any: [...] }. |
| saved_filter_id | string | no | Use a saved filter (save_filter / list_saved_filters). |
| include_history | boolean | no | xlsx only: add the sheet Verlauf (default true). |
| max_rows | number | no | Default 5000, max 20000 |
The tenant's labels (free tags for people and organisations, several per record) with how often each is used. Optional: entity (contacts|accounts) to count only there.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | no | contacts | accounts |
Create a label, or rename/recolour one (pass id). Required: name. Optional: color (e.g. #2563eb). Names are unique per tenant.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | no | ID of the label to rename/recolour; omit to create |
| name | string | yes | Name of the label |
| color | string | no | Colour (e.g. hex code) |
Delete a label; it disappears from every record that had it. Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the label to delete |
Add and/or remove labels on people (entity=contacts) or organisations (entity=accounts) — one record or many at once (bulk). Required: entity, ids. add/remove: label names or ids; names in add that do not exist yet are created. Returns how many assignments were added/removed.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | contacts | accounts |
| ids | array | yes | IDs of the contacts or accounts to label |
| add | array | no | Label names or ids to add; unknown names are created |
| remove | array | no | Label names or ids to remove |
Additional ways to reach a person (besides the main email/phone/mobile/address on the contact): e-mails, phone numbers and addresses, each marked privat | dienstlich | mobil | sonstig. Required: contact_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contact_id | string | yes | ID of the contact |
Add or change (pass id) an e-mail, phone number or address of a person. Required for new: contact_id, kind (email|phone|address), and value (email/phone) or street/postal_code/city (address). label: privat (default) | dienstlich | mobil | sonstig. is_primary marks the preferred one of its kind.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | no | ID of the contact point to change; omit to create |
| contact_id | string | no | ID of the contact |
| kind | string | no | email | phone | address |
| label | string | no | privat | dienstlich | mobil | sonstig |
| value | string | no | E-mail address or phone number (for kind email/phone) |
| street | string | no | Street and house number |
| postal_code | string | no | Postal code |
| city | string | no | City |
| country | string | no | Country (ISO code or name) |
| is_primary | boolean | no | true = preferred entry of its kind |
Remove an additional e-mail, phone number or address of a person. Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the contact point to delete |
Which organisations a person belongs to (contact_id), or which people belong to an organisation (account_id) — each with function and whether it is the main organisation.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contact_id | string | no | ID of the contact |
| account_id | string | no | ID of the account (company) |
Replace the organisations of a person. Required: contact_id, links [{ account_id, function?, is_primary? }]. Exactly one link may be is_primary; if none is marked, the first becomes the main organisation. The main organisation is also written to the contact (account_id). links=[] removes all.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contact_id | string | yes | ID of the contact |
| links | array | yes | Organisations of the person: [{ account_id, function?, is_primary? }]; [] removes all |
The tenant's custom fields for an area: entity contacts | accounts | agreements (contracts) | leads | a module table (mod_…). Returns key, label, type (text|textarea|number|date|boolean|select|multiselect), required, options, sort_order. Fields hidden from your role are left out. Optional include_inactive.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Area: contacts, accounts, agreements (contracts), leads or a module table (mod_…) |
| include_inactive | boolean | no | Also include inactive entries |
Define or change (pass id) a custom field — admins only. Required: entity, label. Optional: key (derived from the label if omitted; cannot change later), type (default text), required, options (for select/multiselect), sort_order, active (false hides it without deleting values).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | no | ID of an existing custom field to change; omit to create a new one |
| entity | string | yes | Area the field belongs to: contacts, accounts, agreements, leads or a module table (mod_…) |
| key | string | no | Technical key; derived from the label if omitted, cannot be changed later |
| label | string | yes | Label |
| type | string | no | Field type: text, textarea, number, date, boolean, select or multiselect (default text) |
| required | boolean | no | Whether a value must be filled in |
| options | array | no | Allowed values for select/multiselect fields |
| sort_order | number | no | Position of the field in the display order |
| active | boolean | no | Whether the entry is active |
Delete a custom field and ALL its values — admins only. Prefer upsert_custom_field active=false to hide it. Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the custom field to delete |
Custom field values of one record: { key: value } plus the field definitions. Required: entity, entity_id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Area of the record: contacts, accounts, agreements, leads or a module table (mod_…) |
| entity_id | string | yes | ID of the record |
Set custom field values of one record. Required: entity, entity_id, values { key: value } — null or "" clears. Values are checked against the field type (number, date YYYY-MM-DD or DD.MM.YYYY, yes/no, allowed options). Required fields cannot be cleared.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Area of the record: contacts, accounts, agreements, leads or a module table (mod_…) |
| entity_id | string | yes | ID of the record |
| values | object | yes | Field values as { key: value }; null or empty string clears a field |
What you can filter people (entity=contacts) or organisations (entity=accounts) by: columns, label, custom.<key> fields, organisation (people only), each with its kind and the allowed operators. Fields hidden from your role are left out. Use before building a filter for search_crm, export_crm_file or saved filters.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | contacts (people) or accounts (organisations) |
Find people or organisations with a combinable filter over all fields. filter = { all: [conditions], any: [conditions] } — every 'all' condition must match, and at least one 'any' condition if given. Condition = { field, op, value }: field is a column (e.g. city, created_at, retention_review_at), 'label', 'custom.<key>' or 'organisation' (people: name or id of any linked organisation). Ops by kind
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | contacts | accounts |
| filter | object | no | Filter { all: [conditions], any: [conditions] }, each condition { field, op, value } |
| saved_filter_id | string | no | ID of the saved filter |
| sort | object | no | Sort order |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
| ids_only | boolean | no | Return only { total, ids } (up to 20000), e.g. for recipient lists and exports |
Save a filter under a name (or change one of yours: pass id). Required: entity, name, filter. shared=true makes it visible to everyone in the tenant (e.g. as a recipient list).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | no | ID of one of your saved filters to change; omit to create a new one |
| entity | string | yes | contacts (people) or accounts (organisations) |
| name | string | yes | Name of the filter |
| filter | object | yes | Filter definition as in search_crm: { all: [conditions], any: [conditions] } |
| shared | boolean | no | Make the filter visible to everyone in the tenant |
Your saved filters and the shared ones of the tenant. Optional entity.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | no | Only filters for contacts or accounts |
Delete one of your saved filters. Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the saved filter to delete |
Prepare a group e-mail (draft, nothing is sent yet). Required: name, subject, body (plain text), and recipients: saved_filter_id, filter (as in search_crm) or ids — entity contacts (default) or accounts. Placeholders: {{briefanrede}} (e.g. 'Sehr geehrte Frau Dr. Mustermann,'), {{vorname}}, {{nachname}}, {{name}}, {{anrede}}, {{titel}}, {{email}}, {{telefon}}, {{position}}, {{organisation}}, {{stra
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | Name of the group mailing |
| entity | string | no | contacts | accounts |
| saved_filter_id | string | no | ID of the saved filter |
| filter | object | no | Recipient filter as in search_crm (alternative to saved_filter_id or ids) |
| ids | array | no | Explicit recipient record IDs (alternative to saved_filter_id or filter) |
| subject | string | yes | Subject line |
| body | string | yes | Body text |
| purpose | string | no | Consent purpose checked per recipient (default newsletter) |
| from_email | string | no | Sender email address |
| from_name | string | no | Sender display name |
| reply_to | string | no | Reply-to email address |
| as_me | boolean | no | Send with your name as sender; replies go to you |
| attachments | array | no | Document IDs to attach |
| attachment_mode | string | no | How attachments are delivered: link or file |
Change a group e-mail that is still a draft (same fields as create_group_mailing). Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the group mailing to change |
| name | string | no | Name of the group mailing |
| entity | string | no | Recipient type: contacts or accounts |
| saved_filter_id | string | no | ID of the saved filter |
| filter | object | no | Recipient filter as in search_crm (alternative to saved_filter_id or ids) |
| ids | array | no | Explicit recipient record IDs (alternative to saved_filter_id or filter) |
| subject | string | no | Subject line |
| body | string | no | Body text |
| purpose | string | no | Consent purpose checked per recipient (default newsletter) |
| from_email | string | no | Sender email address |
| from_name | string | no | Sender display name |
| reply_to | string | no | Reply-to email address |
| as_me | boolean | no | Send with your name as sender; replies go to you |
| attachments | array | no | Document IDs to attach |
| attachment_mode | string | no | How attachments are delivered: link or file |
Who would receive a group e-mail right now: count, exclusions with reason (no address, invalid, duplicate), and the subject/text as the first recipient would get it. Consent is checked at sending time, so revoked people are counted here and skipped later. Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the group mailing to preview |
Send the group e-mail once to yourself (or to_address), filled with the data of the first recipient, marked as a test. Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the group mailing to test |
| to_address | string | no | Recipient email address |
Fix the recipients (filter evaluated now, with your field rights) and schedule the group e-mail: scheduled_at (ISO time) or omit for 'as soon as possible' (next run within 5 minutes). Sending runs in portions (about 120 mails per 5 minutes). Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the group mailing to schedule |
| scheduled_at | string | no | Scheduled time (ISO 8601) |
Stop a scheduled or running group e-mail; mails already sent stay sent, the rest is not sent. Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the group mailing to stop |
Group e-mails of the tenant with status (draft, scheduled, sending, done, cancelled, failed), schedule and counts.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| status | string | no | Only entries with this status |
| limit | number | no | Maximum number of entries to return |
One group e-mail with its sending log: per recipient status (pending, sent, skipped, failed) and reason. Optional recipient_status filter, limit/offset for the log.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the group mailing to read |
| recipient_status | string | no | Only log entries with this status: pending, sent, skipped or failed |
| limit | number | no | Maximum number of entries to return |
| offset | number | no | Number of entries to skip (for paging) |
Serial letter as ONE print file: fills an HTML document template (template_id or key, see list_document_templates) for every recipient — saved_filter_id, filter or ids; entity contacts (default) or accounts — renders each as PDF via the tenant's browser service and joins them into one PDF stored as a document. Same placeholders as group e-mails (all values HTML-escaped). Max 100 letters per call;
| Parameter | Type | Required | Notes |
|---|---|---|---|
| template_id | string | no | ID of the template |
| key | string | no | Key of the document template (alternative to template_id) |
| entity | string | no | Recipient type: contacts (default) or accounts |
| saved_filter_id | string | no | ID of the saved filter |
| filter | object | no | Recipient filter as in search_crm (alternative to saved_filter_id or ids) |
| ids | array | no | Explicit recipient record IDs (alternative to saved_filter_id or filter) |
| title | string | no | Title of the resulting PDF document |
| offset | number | no | Number of entries to skip (for paging) |
Put a deadline with a reminder on ANY record (entity = table, e.g. contacts, accounts, leads, customer_invoices, mod_seminar_events; entity_id). Required: entity, entity_id, title, due_at (ISO). Optional: remind_before (e.g. '1d', '3h', '2w' or minutes; default 1d), channel todo (default) | email | both, user_id (who is reminded; default you), notes, source_key (modules: setting the same key again
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Table of the record, e.g. contacts, accounts, leads, customer_invoices |
| entity_id | string | yes | ID of the record |
| title | string | yes | Title of the deadline |
| due_at | string | yes | Due date/time (ISO 8601) |
| remind_before | no | Lead time of the reminder, e.g. '1d', '3h', '2w' or minutes (default 1d) | |
| channel | string | no | Reminder channel: todo (default), email or both |
| user_id | string | no | ID of the user |
| notes | string | no | Free-text notes |
| source_key | string | no | Stable key for modules; setting the same key again updates instead of duplicating |
Deadlines, optionally for one record (entity + entity_id), by status (open|reminded|done|cancelled), due_within_days (also overdue ones), or mine=true. Sorted by due date.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | no | Table of the record (together with entity_id) |
| entity_id | string | no | ID of the record |
| status | string | no | Only entries with this status |
| due_within_days | number | no | Only deadlines due within this many days, overdue ones included |
| mine | boolean | no | Only deadlines assigned to you |
| limit | number | no | Maximum number of entries to return |
Change a deadline: title, due_at, remind_before, channel, notes, user_id, or status done/cancelled/open. Moving due_at re-arms the reminder. Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the deadline to change |
| title | string | no | Title of the deadline |
| due_at | string | no | Due date/time (ISO 8601) |
| remind_before | no | New lead time of the reminder, e.g. '1d', '3h', '2w' or minutes | |
| channel | string | no | Reminder channel: todo, email or both |
| notes | string | no | Free-text notes |
| user_id | string | no | ID of the user |
| status | string | no | New status |
Delete a deadline. Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the deadline to delete |
Open invoices (own invoices customer_invoices and seminar invoices) for which a dunning level is due today: level 1 = payment reminder, level 2 = dunning letter. Shows amount, due date, current level and the e-mail address the dunning would go to.
Takes no parameters.
Send the next (or given) dunning level for an invoice by e-mail and record it in the invoice's dunning history. Required: invoice_table (customer_invoices | mod_seminar_invoices), invoice_id. Optional: level (1|2), dry_run=true to see subject, text, recipient and new payment deadline without sending. Uses the tenant's templates (get_dunning_levels).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| invoice_table | string | yes | Invoice table: customer_invoices or mod_seminar_invoices |
| invoice_id | string | yes | ID of the invoice |
| level | number | no | Dunning level to send (1 or 2); default the next level |
| dry_run | boolean | no | Only simulate and report what would happen; change nothing |
Dunning history: which levels went out when, to whom, with which payment deadline and fee, or why sending failed. Optional invoice_table + invoice_id, limit.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| invoice_table | string | no | Invoice table: customer_invoices or mod_seminar_invoices (with invoice_id) |
| invoice_id | string | no | ID of the invoice |
| limit | number | no | Maximum number of entries to return |
Stop or resume dunning for one invoice (e.g. instalments agreed, dispute). Required: invoice_table, invoice_id, paused.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| invoice_table | string | yes | Invoice table: customer_invoices or mod_seminar_invoices |
| invoice_id | string | yes | ID of the invoice |
| paused | boolean | yes | true stops dunning for this invoice, false resumes it |
The two dunning levels of the tenant (defaults if not configured): days_after (level 1: days after due date; level 2: days after the level-1 payment deadline), pay_within_days, fee_cents, subject, body with placeholders {{rechnungsnummer}}, {{rechnungsdatum}}, {{betrag}}, {{faellig_am}}, {{neue_frist}}, {{mahngebuehr}}, {{offen}}, {{mahnstufe}}, {{empfaenger}}. Also whether dunnings are sent autom
Takes no parameters.
Configure dunning level 1 or 2 — admins only. Required: level. Optional: days_after, pay_within_days, fee_cents, subject, body.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| level | number | yes | Dunning level to configure (1 or 2) |
| days_after | number | no | Days before this level is due: level 1 after the invoice due date, level 2 after the level-1 deadline |
| pay_within_days | number | no | New payment deadline in days stated in the reminder |
| fee_cents | number | no | Dunning fee in cents |
| subject | string | no | Subject line |
| body | string | no | Body text |
Admins only: enabled=true lets the server send due dunnings by itself; false (default) only creates a task 'dunning due' for the person who created the invoice.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| enabled | boolean | yes | Whether it is enabled |
Change history of ONE record (person, organisation, lead, task …): who created, changed, exported or read it, when, and which field went from which value to which. Required: entity (table, e.g. contacts, accounts, leads), entity_id. Optional: include_reads (default true: read accesses to personal data are logged too), limit (default 100). Fields hidden from your role are left out; names of the peo
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Table of the record, e.g. contacts, accounts, leads |
| entity_id | string | yes | ID of the record |
| include_reads | boolean | no | Also include reads |
| limit | number | no | Maximum number of entries to return |
Notes on a record. visibility 'intern' = staff only, 'extern' = may be shown to the person themselves (portal). Required: entity, entity_id. Optional visibility filter.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Table of the record, e.g. contacts, accounts, leads |
| entity_id | string | yes | ID of the record |
| visibility | string | no | Only notes with this visibility (intern = staff only, extern = may be shown to the person) |
Add a note to a record. Required: entity, entity_id, body. visibility 'intern' (default) or 'extern' (may be shown to the person, e.g. in the portal — write it accordingly).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| entity | string | yes | Table of the record, e.g. contacts, accounts, leads |
| entity_id | string | yes | ID of the record |
| body | string | yes | Body text |
| visibility | string | no | intern (default, staff only) or extern (may be shown to the person, e.g. in the portal) |
Change the text or visibility of a note — only the author or an admin. Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the record note to change |
| body | string | no | Body text |
| visibility | string | no | New visibility: intern (staff only) or extern (may be shown to the person) |
Delete a note — only the author or an admin. Required: id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | ID of the record note to delete |
Test the tenant's AI settings with real calls: a short chat reply from the configured model, whether the model calls an offered tool, and (if configured) speech-to-text and text-to-speech. Reports each part separately. Never falls back to OpenAI for a tenant on its own AI server.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| include_audio | boolean | no | Also probe STT/TTS (default true) |
List the property definitions of a HubSpot object type (contacts, companies, deals, …) with internal name, label and type. Call this FIRST when a portal uses custom fields — the internal name is what every other tool expects, and it rarely matches the label shown in the UI. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| object_type | string | yes | contacts | companies | deals | tickets | … |
List contacts (HubSpot's people = our persons). properties waehlt die zurueckgegebenen Felder (interne HubSpot-Namen). Ohne Angabe kommen die Standardfelder. Eigene Felder eines Portals zuerst mit list_hubspot_properties nachschlagen — sie heissen NICHT wie in der Oberflaeche. Paged via after. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Hoechstzahl der zurueckgegebenen Eintraege |
| after | string | no | Paging-Cursor aus der vorherigen Antwort |
| properties | array | no | Zurueckzugebende Felder (interne HubSpot-Namen) |
Get one contact by id, with its associated companies and deals. properties waehlt die zurueckgegebenen Felder (interne HubSpot-Namen). Ohne Angabe kommen die Standardfelder. Eigene Felder eines Portals zuerst mit list_hubspot_properties nachschlagen — sie heissen NICHT wie in der Oberflaeche. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contact_id | string | yes | Kontakt-ID, die gelesen wird |
| properties | array | no | Zurueckzugebende Felder (interne HubSpot-Namen) |
Find contacts by e-mail, name or phone — this is the answer to "who is this on the phone". Searches HubSpot server-side instead of paging through everything. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | string | yes | Search text |
| limit | number | no | Maximum number of entries to return |
| properties | array | no | Property names to return |
List companies (HubSpot's organisations). properties waehlt die zurueckgegebenen Felder (interne HubSpot-Namen). Ohne Angabe kommen die Standardfelder. Eigene Felder eines Portals zuerst mit list_hubspot_properties nachschlagen — sie heissen NICHT wie in der Oberflaeche. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Hoechstzahl der zurueckgegebenen Eintraege |
| after | string | no | Paging-Cursor aus der vorherigen Antwort |
| properties | array | no | Zurueckzugebende Felder (interne HubSpot-Namen) |
Get one company by id, with its associated contacts and deals. properties waehlt die zurueckgegebenen Felder (interne HubSpot-Namen). Ohne Angabe kommen die Standardfelder. Eigene Felder eines Portals zuerst mit list_hubspot_properties nachschlagen — sie heissen NICHT wie in der Oberflaeche. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| company_id | string | yes | Firma-ID, die gelesen wird |
| properties | array | no | Zurueckzugebende Felder (interne HubSpot-Namen) |
List deals with name, amount, stage and pipeline. properties waehlt die zurueckgegebenen Felder (interne HubSpot-Namen). Ohne Angabe kommen die Standardfelder. Eigene Felder eines Portals zuerst mit list_hubspot_properties nachschlagen — sie heissen NICHT wie in der Oberflaeche. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Hoechstzahl der zurueckgegebenen Eintraege |
| after | string | no | Paging-Cursor aus der vorherigen Antwort |
| properties | array | no | Zurueckzugebende Felder (interne HubSpot-Namen) |
Get one deal by id, with its associated contacts and companies. properties waehlt die zurueckgegebenen Felder (interne HubSpot-Namen). Ohne Angabe kommen die Standardfelder. Eigene Felder eines Portals zuerst mit list_hubspot_properties nachschlagen — sie heissen NICHT wie in der Oberflaeche. Read-only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| deal_id | string | yes | Deal-ID, die gelesen wird |
| properties | array | no | Zurueckzugebende Felder (interne HubSpot-Namen) |
List the deal pipelines and their stages, with the internal stage ids. Needed before writing a deal stage: the label in the UI is not the id. Read-only.
Takes no parameters.
Check the stored HubSpot connection: reads one page of contacts and reports the portal it belongs to. Read-only — use this after connecting instead of guessing from a failing call.
Takes no parameters.
Create a contact in HubSpot. Required: email (HubSpot's own identity for a contact — without it duplicates are almost guaranteed). Optional: first_name, last_name, phone, company, and properties for any further internal field names. Writes into the customer's CRM.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| string | yes | Email address | |
| first_name | string | no | First name |
| last_name | string | no | Last name |
| phone | string | no | Phone number |
| company | string | no | Company name |
| properties | object | no | Property values to set (property name → value) |
Update a contact. properties takes internal field names — look them up with list_hubspot_properties rather than guessing from the UI labels. Writes into the customer's CRM.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contact_id | string | yes | ID of the contact to change |
| properties | object | yes | Property values to set (property name → value) |
- Every tool — any call limit is its publisher’s, not ours
- No card, and mcprush charges nothing for it
- Runs at its publisher’s own address — this marketplace is not in the path
- Nothing to cap, because mcprush bills nothing
What counts against your monthly calls
| Tool | Unit | Calls used | Out of the allowance |
|---|
Nothing here is billable: mcprush charges nothing to install DelegAIze or to call it, at any volume.
Two independent axes, because powerful and malicious are different questions. The grade is threat only. The capability level is blast radius, and it is never a penalty on the grade — it is priced as one subtract-only term in the score, where you can see it.
This listing is an address its publisher runs, and you connect to it directly — this marketplace is not in the path. The scanner reads packages and public source, and an address is neither. So there is no grade — not a withheld one, an unmeasured one.
Release history
This is an address its publisher runs: which release it serves is theirs to choose, so there is nothing here to pin. The history below is for reading; the current release on file is 1.0.3.
No release note was published with this version.
One review per account, from a signed-in account that does not publish this listing. Nothing else is asked — you can say what you think before you install it. Publishers can reply once per review, and a review can be edited or deleted by whoever wrote it.
Any signed-in account that does not publish DelegAIze can review it, once — before installing it or after. A review from an account that has installed it is marked as one.
Nobody has reviewed this listing. The rating on the card is the mean of the reviews written here and nothing else, so there is no rating until somebody writes the first — which takes a signed-in account that does not publish it, and nothing else.