About AI Toolkit
AI Toolkit is an MCP server published by pipefy in the Developer Tools category: mCP server, CLI, and agent skills for Pipefy. Conduid read 203 tools from its source: add_card_comment, add_phase_move_targets, add_service_account_to_pipe, call_ipaas_tool, clone_pipe, create_ai_agent and 197 more. No package is published for it, so it installs from a source checkout.
The repository has 54 stars and 25 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is v0.5.4-beta.1 (9 Oct 2026): README and install guide: the README is a short front door with a quick-start table (the first command for each install path) and a section listing the hosts the toolkit… It follows v0.5.3-beta.1 (6 Oct 2026), and the 5 most recent releases go back to v0.4.0-beta.2 (29 Jul 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include ai-toolkit, cli, pipefy and sdk.
Install
git clone https://github.com/pipefy/ai-toolkitTools (203)
add_card_commentAdd a text comment to a Pipefy card.| Parameter | Type | Description |
|---|---|---|
| card_id * | any | The ID of the card to comment on |
| text * | string | The comment text to post (1-1000 characters) |
add_phase_move_targetsAdd phases that a card can move to from a source phase.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| phase_id * | any | Source phase ID. Discover via: ``get_pipe(pipe_id).phases[].id``. |
| target_phase_ids * | array | Destination phase IDs. Send at least one. Discover via: ``get_pipe(pipe_id).phases[].id``. |
add_service_account_to_pipeGrant a service account membership on a pipe, by email.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| email * | string | The service account's email address. |
| pipe_id * | any | ID of the pipe. |
| role_name | string | Pipe role to grant (default 'admin'). Valid: 'admin', 'member', 'creator', 'my_cards_only', 'read_and_comment'. |
call_ipaas_toolInvoke one iPaaS (Advanced Automations) tool in a pipe's workspace.| Parameter | Type | Description |
|---|---|---|
| arguments | object | Arguments matching the tool's input schema. Omit for tools that take none. |
| confirm | boolean | Set to True with the preview token to run a destructive catalog call (step 2). |
| confirmation_token | string | Token from the preview response; echo it on step 2. |
| pipe_id * | any | Numeric pipe ID whose iPaaS workspace to act on. |
| tool_name * | string | Exact tool name from the ``get_ipaas_tools`` catalog. |
clone_pipeClone a pipe from a template pipe ID.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| organization_id | any | Optional organization ID for the clone operation. |
| pipe_template_id * | any | Source pipe ID to use as template. |
create_ai_agentCreate an AI Agent and configure it in one call (GraphQL create + update).| Parameter | Type | Description |
|---|---|---|
| active | boolean | When True (default), create enabled. When False, create inactive by setting ``disabled_at`` (ISO-8601 UTC) on create and the chained update. |
| behaviors * | array | 1–5 behavior dicts. Each requires ``name``, ``event_id``, and ``actionParams.aiBehaviorParams`` with a non-empty ``actionsAttributes`` list. Optional: ``eventParams`` to filter event triggers (e.g. ``triggerFieldIds``, ``to_phase_id``). Optional: ``template_params`` / ``placeholders``, ``instruction_template``. See example above for the full shape. Discover via: ``get_automation_events(pipe_id)`` for ``event_id`` and ``get_phase_fields(phase_id)`` for ``triggerFieldIds`` / ``destinationPhaseId``. |
| data_source_ids | array | Optional knowledge-source IDs (same as ``update_ai_agent``). |
| instruction * | string | Agent-level purpose (Pipefy UI "Description"; API ``instruction``). |
| name * | string | Agent display name. |
| repo_uuid * | string | UUID of the pipe (from ``get_pipe``), not the numeric pipe ID. Discover via: ``search_pipes`` then ``get_pipe(pipe_id).uuid``. |
create_ai_automationCreate a simple AI automation that generates content with a prompt and writes the result to one or more card fields.| Parameter | Type | Description |
|---|---|---|
| active | boolean | When True (default), the rule is created enabled and can run on the next matching event. Set False to start disabled; enable it later with ``update_ai_automation`` (``active=True``). |
| condition | object | Optional trigger condition dict. Omit to use the built-in placeholder (empty expression list) so Pipefy always receives a condition on create. Pass a dict to set a custom condition. |
| debug | boolean | When True, append GraphQL error codes and correlation_id to create failures. |
| event_id * | any | Event trigger (e.g. card_created, card_moved). Discover via: ``get_automation_events(pipe_id)``. |
| event_params | object | Trigger-specific filters (e.g. {"to_phase_id": "..."} for card_moved, {"triggerFieldIds": [...]} for field_updated). |
| field_ids * | array | List of field internal IDs where the AI writes its output. Discover via: ``get_phase_fields(phase_id)[].internal_id``. |
| name * | string | Automation name. |
| pipe_id * | any | Pipe ID where the automation runs. Discover via: ``search_pipes`` or ``get_organization``. |
| prompt * | string | AI prompt text. MUST reference at least one pipe field using %{internal_id} syntax (e.g. "Summarize the brief: %{900000101}"). The digits are illustrative — substitute each field's numeric internal_id from get_phase_fields / get_start_form_fields. Without a field reference the API rejects the request. Discover via: ``get_phase_fields(phase_id)[].internal_id`` for ``%{internal_id}`` tokens. |
| skills_ids | array | AI skill IDs to attach. Defaults to empty (no skills). |
create_ai_knowledge_base_data_lookupCreate a pipe-scoped knowledge base data lookup: an agent data source that searches cards in a source pipe by conditions and returns selected fields. Requires manage_ai_agents on the pipe; run `validate_knowledge_base_access` first.| Parameter | Type | Description |
|---|---|---|
| conditions * | array | Condition objects (at least one), e.g. `{"field": "customer_email", "operator": "eq", "usingFillWithAi": true, "inputName": "Customer email", "inputType": "text", "inputDescription": "The customer's email address"}`. |
| description * | string | Description (required, 1-300 characters). |
| name * | string | Display name (required, 1-80 characters). |
| output_fields * | array | Field IDs whose values matching records return (1-30). |
| pipe_uuid * | string | Pipe UUID (not the numeric ID) that owns the lookup. |
| search_query | string | Optional backend-defined search mode marker; leave unset unless you know the backend value you need. |
| source_repo_id * | string | Numeric ID of the source pipe to look up data from. |
create_ai_knowledge_base_documentCreate a pipe-scoped knowledge base document from a local PDF (one-shot upload). Requires manage_ai_agents on the pipe; run `validate_knowledge_base_access` first.| Parameter | Type | Description |
|---|---|---|
| description * | string | Description (required, 1-300 characters). |
| file_path * | string | Local path to a `.pdf` file. Supports `~` expansion. |
| name * | string | Display name (required, 1-80 characters). |
| pipe_uuid * | string | Pipe UUID (not the numeric ID). |
create_ai_knowledge_base_plain_textCreate a pipe-scoped knowledge base plain text. Requires manage_ai_agents on the pipe; run `validate_knowledge_base_access` first to confirm access.| Parameter | Type | Description |
|---|---|---|
| content * | string | Plain text content (required, 1-3500 characters). |
| description * | string | Description (required, 1-300 characters). |
| name * | string | Display name (required, 1-80 characters). |
| pipe_uuid * | string | Pipe UUID (not the numeric ID). |
create_attachment_presigned_urlMint a presigned S3 upload target for an attachment — no bytes uploaded.| Parameter | Type | Description |
|---|---|---|
| content_length | integer | Optional exact byte length to sign into the upload. |
| content_type | string | Optional MIME type to sign into the upload. |
| file_name * | string | File name including extension; names the stored object. |
| organization_id * | any | Pipefy organization id (numeric or uuid). Use ``get_organization`` or ``get_pipe`` to find it. |
create_automationCreate a traditional automation rule on a pipe (event + action).| Parameter | Type | Description |
|---|---|---|
| action_id * | any | Action type ID from ``get_automation_actions``. |
| action_repo_id | any | Pipe ID where the action executes (destination pipe). Defaults to ``pipe_id``. Required for cross-pipe actions. |
| active | boolean | When True (default), the rule is created **enabled**. Set False to start disabled. If ``extra_input`` includes ``active``, that value wins. |
| condition | object | Optional typed trigger condition (see **Condition** above). Wins over ``extra_input.condition``. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | any | Optional extra fields for the mutation input; top-level keys are snake_case (mirror ``get_automation`` output). |
| name * | string | Rule name. |
| pipe_id * | any | Pipe ID where the trigger event fires (source pipe). |
| trigger_id * | any | Event ID from ``get_automation_events``. |
create_cardCreate a card in the pipe.| Parameter | Type | Description |
|---|---|---|
| fields | object | A dictionary of fields that can be pre-filled on the card. When ``skip_elicitation`` is False, these pre-fill the interactive form. When True, they are sent directly to the API. |
| phase_id | any | Optional target phase ID. Interactive elicitation prompts start-form fields (matching the Pipefy UI); phase field values are merged from ``fields`` when provided. For agent seeding, set ``skip_elicitation=true``. Discover via: ``get_pipe(pipe_id).phases[].id``. |
| pipe_id * | any | The ID of the pipe where the card will be created. Discover via: ``search_pipes`` or ``get_organization``. |
| required_fields_only | boolean | If True, only elicit required fields. Default: False. |
| skip_elicitation | boolean | When True, bypass interactive elicitation and send ``fields`` directly to the API. Recommended for AI agent workflows. |
| title | string | Optional card title. Passed on CreateCardInput when set. |
create_card_relationConnect a child card to a parent card using an existing pipe relation.| Parameter | Type | Description |
|---|---|---|
| child_id * | any | Child card ID. Discover via: ``find_cards`` or ``get_cards(pipe_id)``. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | any | Optional ``CreateCardRelationInput`` fields (camelCase), e.g. ``sourceType`` (default ``PipeRelation``). |
| parent_id * | any | Parent card ID. Discover via: ``find_cards`` or ``get_cards(pipe_id)``. |
| source_id * | any | Pipe relation ID that defines the parent/child pipe link. Discover via: ``get_pipe_relations(pipe_id)[].id``. |
create_field_conditionCreate a conditional field rule (Pipefy ``createFieldCondition``).| Parameter | Type | Description |
|---|---|---|
| actions * | array | List of ``FieldConditionActionInput`` dicts; each needs ``phaseFieldId``. ``phaseFieldId`` is usually the field's ``internal_id`` from ``get_phase_fields``, same pattern as ``fill_card_phase_fields`` and ``create_card_relation``. Each action must include ``actionId`` (``hide`` or ``show``); legacy ``hidden`` is mapped to ``hide``. |
| condition * | object | ``ConditionInput`` dict. Must include ``expressions`` (list of expression objects with ``structure_id``, ``field_address``, ``operation``, ``value``) and ``expressions_structure`` (array of arrays of ``structure_id`` values). Discover via: ``get_phase_fields(phase_id)[].internal_id`` for ``field_address``. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | object | Optional extra keys for ``createFieldConditionInput`` (e.g. ``index``). |
| name | string | Rule display name. Required by the API; may also be provided via ``extra_input={"name": ...}`` for back-compat. |
| phase_id * | any | Phase ID that owns the condition (``phaseId`` on the API input). Discover via: ``get_pipe(pipe_id)`` then inspect ``phases[].id``. |
create_html_interfaceCreate an HTML interface and write its first page in one call.| Parameter | Type | Description |
|---|---|---|
| color | any | A ``PortalColor`` value, e.g. ``blue`` or ``purple``. Defaults to ``blue``. |
| data_sources | array | The page's element's source bindings. |
| html * | string | The page's whole HTML document. |
| name * | string | Interface name; also used as the one page's title. |
| organization_uuid * | any | Organization UUID, or numeric organization id. |
create_ipaas_connectionCreate a connection (app credential) in a pipe's iPaaS workspace.| Parameter | Type | Description |
|---|---|---|
| connection_type | string | Token-mode auth type; omit in OAuth mode. |
| display_name | string | Human-readable name shown in the workspace. |
| external_id | string | Existing connection id to rotate; omit to create. |
| oauth | object | OAuth-mode payload; omit in token mode. |
| piece_name * | string | Exact piece name the connection is for. |
| pipe_id * | any | Numeric pipe ID whose iPaaS workspace to connect. |
| value | object | Token-mode auth props; omit in OAuth mode. |
create_labelCreate a label on a pipe.| Parameter | Type | Description |
|---|---|---|
| color * | string | Label color as hex ``#RGB`` or ``#RRGGBB`` (e.g. ``#F00``, ``#FF0000``); color names such as ``red`` are rejected before GraphQL. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| name * | string | Label name. |
| pipe_id * | any | Pipe that will receive the label. |
create_llm_providerCreate a custom (BYOM) LLM provider for an organization. Requires the manage_ai_providers organization permission and an eligible plan; run `validate_llm_provider_access` first (it proves read access only, so a write may still be denied).| Parameter | Type | Description |
|---|---|---|
| configuration_file_path * | string | Local path to a JSON file holding the provider configuration object. Supports `~` expansion. |
| name * | string | Display name (required, non-blank). |
| organization_uuid * | string | Organization UUID (not the numeric ID; `get_organization` returns both). |
create_organization_reportCreate an org-wide report spanning multiple pipes.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| fields | array | Column ``name`` values (internal names, not labels). |
| filter | object | Report filter (ReportCardsFilter shape). |
| name * | string | Report name. |
| organization_id * | any | Organization ID. |
| pipe_ids * | array | List of pipe IDs to include. |
create_phaseCreate a phase in a pipe.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| description | string | Optional phase description. |
| done | boolean | When True, marks a final/done phase. |
| index | any | Float sort key. A value between two existing keys inserts between those phases. Equal keys have no fixed order; use a key no other phase has. A new pipe's Inbox, Doing and Done keys are 1, 2 and 3, and 0 omits the phase from ``get_pipe`` phases. ``get_pipe`` returns each key as ``phases[].index``, in ascending order. The phases beside the new phase in this order are the phases it is connected to. |
| name * | string | Phase name. |
| pipe_id * | any | Pipe that will contain the phase. |
create_phase_fieldCreate a custom field on a phase.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| description | string | Optional field description. |
| extra_input | object | Additional ``CreatePhaseFieldInput`` fields, if any. |
| field_type * | any | A ``FieldTypeId`` value (API input field ``type``). |
| label * | string | Field label shown in the UI. |
| options | array | Option values for select/radio/checklist fields (e.g. ["Alta", "Média", "Baixa"]). |
| phase_id * | any | Phase that will receive the field. Discover via: ``get_pipe(pipe_id).phases[].id``. |
| required | boolean | Whether the field is required. |
create_pipeCreate a pipe in an organization, with its phases, start form fields and labels in one call.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| labels | array | Optional labels: ``name`` and ``color`` (hex ``#RGB`` or ``#RRGGBB``). |
| name * | string | Display name of the pipe. |
| organization_id * | any | Organization ID that will own the pipe. |
| phases | array | Optional phases, in order: ``name`` (unique in the pipe) and optional ``done``. |
| start_form_fields | array | Optional start form fields: ``label``, ``type_id`` and optional ``description``, ``help``, ``required``, ``editable``, ``options``. |
create_pipe_relationCreate a parent-child relation between two pipes.| Parameter | Type | Description |
|---|---|---|
| child_id * | any | Child pipe ID. Discover via: ``search_pipes`` or ``get_organization``. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | any | Optional extra fields for the mutation input. |
| name * | string | Relation name/label. |
| parent_id * | any | Parent pipe ID. Discover via: ``search_pipes`` or ``get_organization``. |
create_pipe_reportCreate a pipe report. Use column `name` in `fields`; filter field names from `get_pipe_report_filterable_fields`.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| fields | array | Internal field names (`name` from column discovery) to include as columns. |
| filter | object | Report filter (ReportCardsFilter shape). |
| formulas | array | Formula definitions (list of [field, operator, ...] tuples). |
| name * | string | Report name. |
| pipe_id * | any | Pipe ID (numeric string). |
create_portalCreate or fetch the organization's main portal (idempotent).| Parameter | Type | Description |
|---|---|---|
| organization_uuid * | any | Organization UUID, or numeric organization id. |
create_portal_elementCreate a portal page element (portal "tool" / widget in the Pipefy UI).| Parameter | Type | Description |
|---|---|---|
| data_sources | array | Optional data source bindings for ``forms`` elements. |
| editable | boolean | Optional editable flag. |
| element_id | string | Optional client-provided element UUID. Required with ``layout`` so a row can reference the new element. |
| layout | array | Optional full page layout row array (``id``, ``type: "row"``, ``children``). Each row needs a non-empty id, type "row", and children as non-empty strings. Preserve every existing row; never send an object wrapper. The API stores this JSON verbatim, so an incomplete row replaces the page grid and is rejected. |
| metadata * | object | Element metadata JSON (shape depends on ``type``). |
| page_id * | string | Parent page UUID. |
| type * | any | ``InterfacePageElementType`` value (e.g. ``forms``, ``link``). |
create_portal_pageCreate a portal page on the Interfaces schema.| Parameter | Type | Description |
|---|---|---|
| description | string | Optional page description. |
| index | integer | Optional sort index. |
| portal_uuid * | string | Parent portal interface UUID. |
| title * | string | Page title. |
create_send_task_automationCreate a traditional automation that sends a task to recipients when a trigger fires on a pipe.| Parameter | Type | Description |
|---|---|---|
| active | boolean | When True (default), the rule is created enabled and will fire immediately. Set False to start disabled. |
| condition | object | Optional condition expressions payload. |
| event_id * | string | Trigger event ID (e.g. ``card_created``). |
| event_params | object | Optional trigger filter payload (camelCase/snake_case as returned by catalog tools). |
| name * | string | Automation rule display name. |
| pipe_id * | any | Pipe ID where the trigger event is evaluated. |
| recipients * | string | One or more e-mail addresses separated by commas. |
| task_title * | string | Title of the task sent to recipients. |
create_service_accountCreate an organization service account (an OAuth2 machine identity).| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| description | string | Optional description. |
| expiration_unit | string | Optional token-lifetime unit paired with `expiration_value`: 'seconds', 'minutes', 'hours', or 'days'. |
| expiration_value | integer | Optional positive token lifetime (with `expiration_unit`). |
| name * | string | Service account name (max 20 characters). |
| organization_uuid * | string | The organization UUID (from `get_organization`). |
| pipe_ids | array | Optional pipes to add the new account to immediately. |
| pipe_role | string | Pipe role to grant on `pipe_ids` (default 'admin'). |
| role * | string | Organization role: 'admin', 'normal', 'company_guest', or 'external_guest'. |
create_sub_portalCreate a sub-portal under a main portal (Interfaces API).| Parameter | Type | Description |
|---|---|---|
| main_portal_uuid * | string | Parent main portal interface UUID. |
| name | string | Optional display name. |
create_tableCreate a new database table in an organization.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | any | Additional `CreateTableInput` fields (e.g. description, authorization). |
| name * | string | Table name. |
| organization_id * | any | Owning organization ID. |
create_table_fieldAdd a column (field) to a database table schema.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | any | Additional CreateTableFieldInput keys to merge (e.g. required, options). |
| field_type * | string | Pipefy field type string (API input key `type`). See common types above. |
| label * | string | Field label in the UI. |
| table_id * | any | Database table ID. Discover via: ``search_tables`` or ``get_tables(table_ids)``. |
create_table_recordCreate a row in a database table with field values.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | any | Other `CreateTableRecordInput` keys (e.g. label_ids). |
| fields * | any | Map of field_id -> value, or list of objects with field_id / field_value. Discover via: ``get_table(table_id).table_fields[].id``. |
| table_id * | any | Target table ID. Discover via: ``search_tables`` or ``get_tables(table_ids)``. |
| title | string | Optional record title. Pipefy may derive or override the stored title from the first table field (for example a select/status column), so the returned ``title`` can differ from the value you pass here. |
create_webhookRegister a webhook for pipe events.| Parameter | Type | Description |
|---|---|---|
| actions * | array | List of event action strings. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | object | Optional extra CreateWebhookInput fields (name, filters, headers). |
| pipe_id * | any | ID of the pipe. Discover via: ``search_pipes`` or ``get_organization``. |
| url * | string | HTTPS URL to receive events. |
delete_ai_agentDelete an AI Agent permanently. This action is irreversible.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| uuid * | string | Agent UUID. |
delete_ai_automationDelete an AI automation rule permanently.| Parameter | Type | Description |
|---|---|---|
| automation_id * | any | Automation rule ID to delete. |
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id on errors. |
delete_ai_knowledge_base_data_lookupDelete a pipe-scoped knowledge base data lookup permanently. This action is irreversible.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| data_lookup_id * | string | Data lookup ID to delete (from `get_ai_knowledge_bases`). |
| pipe_uuid * | string | Pipe UUID (not the numeric ID). |
delete_ai_knowledge_base_documentDelete a pipe-scoped knowledge base document permanently. This action is irreversible.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| document_id * | string | Document ID to delete (from `get_ai_knowledge_bases`). |
| pipe_uuid * | string | Pipe UUID (not the numeric ID). |
delete_ai_knowledge_base_plain_textDelete a pipe-scoped knowledge base plain text permanently. This action is irreversible.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| pipe_uuid * | string | Pipe UUID (not the numeric ID). |
| plain_text_id * | string | Plain text ID to delete (from `get_ai_knowledge_bases`). |
delete_automationDelete an automation rule permanently.| Parameter | Type | Description |
|---|---|---|
| automation_id * | any | Automation rule ID to delete. |
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
delete_cardDelete a card from Pipefy.| Parameter | Type | Description |
|---|---|---|
| card_id * | any | The ID of the card to delete. |
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When true, appends GraphQL error codes and correlation_id to the error message. |
delete_card_relationRemove a link between two related cards.| Parameter | Type | Description |
|---|---|---|
| child_id * | any | Child card ID in the relation. |
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| parent_id * | any | Parent card ID in the relation. |
| source_id * | any | Pipe relation ID defining the pipe-to-pipe link. |
delete_commentDelete a comment from Pipefy.| Parameter | Type | Description |
|---|---|---|
| comment_id * | any | The ID of the comment to delete. |
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
delete_field_conditionDelete a field condition permanently.| Parameter | Type | Description |
|---|---|---|
| condition_id * | any | Field condition ID to delete. |
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
delete_labelDelete a label permanently.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| label_id * | any | Label ID to delete. |
| pipe_id | any | Pipe that owns the label; when set, the preview may include a sample of cards using this label (``confirm=False`` only). |
delete_llm_providerDelete a custom (BYOM) LLM provider permanently. This action is irreversible. Requires manage_ai_providers and an eligible plan.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| organization_uuid * | string | Organization UUID (not the numeric ID). |
| provider_id * | string | Provider ID to delete (from `get_llm_providers`). |
delete_organization_reportDelete an organization report. This action is irreversible.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| report_id * | any | Organization report ID to delete. |
delete_phaseDelete a phase permanently.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| phase_id * | any | Phase ID to delete. |
| pipe_id | any | Pipe the phase belongs to; when set, the preview may list conditions, automations targeting this phase, a card count, and phase field count (``confirm=False`` only; extra API calls). |
delete_phase_fieldDelete a phase field permanently.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| field_id * | any | Field slug or uuid (from create_phase_field or get_phase_fields). Discover via: ``get_phase_fields(phase_id)[].id`` or ``.uuid``. |
| phase_id | any | Phase that owns the field; when set, the preview lists dependent field conditions (``confirm=False`` only). |
| pipe_id | any | Numeric pipe ID; enables cascade-aware error diagnosis when set. Discover via: ``search_pipes`` or ``get_organization``. |
| pipe_uuid | string | Pipe UUID for disambiguation when the slug is not unique across phases. |
delete_pipeDelete a pipe permanently.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | When True with the preview token, performs the deletion. |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| pipe_id * | any | Pipe ID to delete. |
delete_pipe_relationPermanently delete a pipe relation by ID.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| relation_id * | any | Pipe relation ID to delete. |
delete_pipe_reportDelete a pipe report. This action is irreversible.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| report_id * | any | Pipe report ID to delete. |
delete_portalDelete a portal interface (irreversible).| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| portal_uuid * | string | Portal interface UUID to delete. |
delete_portal_elementDelete a portal page element (irreversible).| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| element_id * | string | Element UUID to delete. |
| layout | array | Optional full page layout row array with ``element_id`` removed. Each row needs a non-empty id, type "row", and children as non-empty strings; a row still listing ``element_id`` is rejected. Send the same rows on both steps. |
| page_id * | string | Parent page UUID. |
delete_portal_pageDelete a portal page (irreversible).| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| page_id * | string | Page UUID to delete. |
| portal_uuid * | string | Parent portal interface UUID. |
delete_service_accountPermanently delete an organization service account.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| organization_uuid * | string | The organization UUID. |
| service_account_uuid * | string | The service account UUID (from `create_service_account`). |
delete_sub_portalDelete a sub-portal entity (irreversible).| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| sub_portal_uuid * | string | Sub-portal UUID to delete permanently. |
delete_sub_portal_elementDetach sub-portal wiring from a main portal page element.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the detach (step 2). |
| confirmation_token | string | Token from the preview response. |
| element_id * | string | Page element UUID to detach. |
| portal_uuid * | string | Main portal interface UUID. |
delete_tableDelete a database table permanently.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | When True with the preview token, performs the deletion. |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| table_id * | any | Table ID to delete. |
delete_table_fieldDelete a database table field (column) permanently.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| field_id * | any | Table field ID to delete. |
| table_id * | any | Table ID containing this field (required by the Pipefy API). |
delete_table_recordDelete a table record permanently.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| record_id * | any | Record ID to delete. |
delete_webhookDelete a webhook permanently.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the deletion (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| webhook_id * | any | ID of the webhook to delete. |
describe_toolReturn a hidden tool's full description and JSON input schema by name.| Parameter | Type | Description |
|---|---|---|
| name * | string |
duplicate_portal_elementDuplicate a portal page element on the same page.| Parameter | Type | Description |
|---|---|---|
| element_id * | string | Element UUID to duplicate. |
| page_id * | string | Page UUID that contains the element. |
| portal_uuid * | string | Portal interface UUID that owns the page. |
execute_graphqlRun arbitrary GraphQL against Pipefy (queries or mutations).| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute a mutation (step 2). |
| confirmation_token | string | Token from the preview response; echo it on step 2. |
| include_parsed | boolean | When True, include ``data`` dict alongside ``result``. |
| query * | string | Full GraphQL document (query or mutation). |
| variables | object | Optional variable map for the operation. |
execute_toolInvoke a hidden tool by ``name`` with its ``arguments`` and return its result.| Parameter | Type | Description |
|---|---|---|
| arguments | object | The tool's own arguments, as a JSON object. |
| name * | string | The hidden tool to run (from ``search_tools``). |
export_automation_jobsTrigger async export of automation job history for an org. `period`: 'current_month', 'last_month', or 'last_3_months'. The export file is delivered to the requesting user.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| organization_id * | any | Organization ID (string or numeric). |
| period * | string | PeriodFilter (current_month, last_month, last_3_months). |
export_organization_reportTrigger an async organization report export. Poll `get_organization_report_export(export_id)` for completion.| Parameter | Type | Description |
|---|---|---|
| columns | array | Column ``name`` values (internal names, not labels) to include in the file; date columns appear only when named here. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| filter | object | ReportCardsFilter shape. |
| organization_id * | any | Organization numeric ID (must be coercible to int — Pipefy's ``exportOrganizationReport`` mutation accepts ``Int!`` only). |
| organization_report_id | any | Report to export; omit to export by pipes only. |
| pipe_ids | array | Pipe IDs to scope the export. |
| sort_by | object | ReportSortDirectionInput. |
export_pipe_audit_logsTrigger an async export of pipe audit logs. Returns `success: true` when the export job is queued. Unlike report exports, there is no export ID to poll -- the file is delivered to the requesting user.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| pipe_uuid * | string | Pipe UUID. |
| search_term | string | Optional filter on audit log content. |
export_pipe_reportTrigger an async pipe report export. Returns an export ID with state 'processing'. Poll `get_pipe_report_export(export_id)` to check when state becomes 'done' -- the response will include a `fileURL` to download the file.| Parameter | Type | Description |
|---|---|---|
| columns | array | Column ``name`` values from ``get_pipe_report_columns`` to include in the file; date columns appear only when named here. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| filter | object | ReportCardsFilter shape. |
| pipe_id * | any | Pipe ID (numeric string). |
| pipe_report_id * | any | Pipe report ID to export. |
| sort_by | object | ReportSortDirectionInput (direction, field). |
fill_card_phase_fieldsFill in the phase fields for a card.| Parameter | Type | Description |
|---|---|---|
| card_id * | any | The ID of the card to update. Discover via: ``find_cards`` or ``get_cards(pipe_id)``. |
| fields | object | A dictionary of fields that can be pre-filled. When ``skip_elicitation`` is False, these pre-fill the interactive form. When True, they are sent directly. Discover via: ``get_phase_fields(phase_id)[].id`` for valid keys. |
| phase_id * | any | The ID of the phase whose fields should be filled. Discover via: ``get_pipe(pipe_id).phases[].id``. |
| required_fields_only | boolean | If True, only elicit required fields. Default: False. |
| skip_elicitation | boolean | When True, bypass interactive elicitation and send ``fields`` directly to the API. Recommended for AI agent workflows. |
find_cardsFind cards in the pipe where a specific custom field equals a given value.| Parameter | Type | Description |
|---|---|---|
| after | string | Cursor from ``pageInfo.endCursor`` for the next page (optional). |
| debug | boolean | When True, append GraphQL codes and correlation_id on errors. |
| field_id * | string | Pipefy field slug (e.g. "status", "campaign_name") — the ``id`` value returned by get_start_form_fields or get_phase_fields, NOT the human-readable label and NOT pipe-report column names. Call get_phase_fields (per phase) or get_start_form_fields to discover valid slugs. |
| field_value * | string | Value to match for that field (string; use the format expected by the field type). |
| first | integer | Max cards per page (optional). |
| include_fields | boolean | If True, include each card's custom fields (name, value) in the response. |
| pipe_id * | any | The ID of the pipe to search in. |
find_recordsSearch records in a database table where a field matches a value.| Parameter | Type | Description |
|---|---|---|
| after | string | Optional cursor from ``pagination.end_cursor`` of a prior response. |
| field_id * | string | Field ID to filter on (from table metadata). |
| field_value * | string | Value to match (string; format depends on field type). |
| first | integer | Optional page size for pagination (1-200 when set). |
| table_id * | any | Database table ID. |
get_agents_usageGet AI agent usage stats for an org within a date range. Returns total AI credits consumed and per-agent breakdown. `filter_date_from` and `filter_date_to` are ISO8601 datetime strings. Optional `filters` for action/event/pipe/status filtering.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| filter_date_from * | string | Start of date range (ISO8601). |
| filter_date_to * | string | End of date range (ISO8601). |
| filters | object | Optional FilterParams dict (action, event, pipe, status keys). |
| organization_uuid * | any | Organization UUID, or numeric organization id. |
| search | string | Free-text search. |
| sort | object | SortCriteria dict (field + direction). |
get_ai_agentGet an AI Agent by UUID with full behavior configuration.| Parameter | Type | Description |
|---|---|---|
| uuid * | string | Agent UUID. |
get_ai_agent_log_detailsGet detailed AI agent execution log by UUID. Includes executionTime, finishedAt, llmConfigInfo (LLM model and provider; can be null), and tracingNodes — a step-by-step trace of each action the agent performed with per-node status (success, failed, skipped, conditions_not_met).| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| log_uuid * | string | UUID of the AI agent log entry. |
get_ai_agent_logsList AI agent execution logs for a pipe. Filter by status (processing, failed, success) and searchTerm. Returns paginated results with totalCount. Use `get_ai_agent_log_details` to inspect a specific log's execution trace.| Parameter | Type | Description |
|---|---|---|
| after | string | Cursor for next page. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| first | integer | Page size (default 30). |
| repo_uuid * | string | Pipe UUID (repo identifier). |
| search_term | string | Free-text search within logs. |
| status | string | AiAgentLogStatus filter (processing, failed, success). |
get_ai_agentsList all AI Agents for a pipe. Use before creating an agent to avoid duplicates.| Parameter | Type | Description |
|---|---|---|
| repo_uuid * | string | UUID of the pipe. |
get_ai_automationLoad one automation by ID. For AI rules, ``action_id`` is ``generate_with_ai``.| Parameter | Type | Description |
|---|---|---|
| automation_id * | any | Automation rule ID (non-empty string or positive integer). |
| debug | boolean | When True, append GraphQL error codes and correlation id on failures. |
get_ai_automationsList AI automations (``action_id`` = ``generate_with_ai``) for a pipe.| Parameter | Type | Description |
|---|---|---|
| after | string | ``pagination.end_cursor`` from the previous page. |
| debug | boolean | When True, append GraphQL error codes and correlation id on failures. |
| first | integer | Page size of the mixed listing, 1 to 50. Defaults to 50. |
| organization_id | any | Organization ID override; omit to resolve org from ``pipe_id``. |
| pipe_id * | any | Pipe ID to list automations for (required). |
get_ai_credit_usageGet AI credit usage dashboard for an org. Shows credit limit, total consumption, per-resource breakdown (AI Agents vs Assistants), addon status, and free credit info. `period`: 'current_month', 'last_month', or 'last_3_months'.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| organization_uuid * | any | Organization UUID, or numeric organization id (same as in the Pipefy URL). Numeric ids are resolved to UUID automatically. |
| period * | string | PeriodFilter (current_month, last_month, last_3_months). |
get_ai_knowledge_base_data_lookupFetch one pipe-scoped knowledge base data lookup by ID.| Parameter | Type | Description |
|---|---|---|
| data_lookup_id * | string | Knowledge base data lookup ID (from `get_ai_knowledge_bases`). |
| pipe_uuid * | string | Pipe UUID (not the numeric ID). |
get_ai_knowledge_base_documentFetch one pipe-scoped knowledge base document by ID.| Parameter | Type | Description |
|---|---|---|
| document_id * | string | Knowledge base document ID (from `get_ai_knowledge_bases`). |
| pipe_uuid * | string | Pipe UUID (not the numeric ID). |
get_ai_knowledge_base_plain_textFetch one pipe-scoped knowledge base plain text by ID, including its full content.| Parameter | Type | Description |
|---|---|---|
| pipe_uuid * | string | Pipe UUID (not the numeric ID). |
| plain_text_id * | string | Knowledge base plain text ID (from `get_ai_knowledge_bases`). |
get_ai_knowledge_basesList every knowledge base item on a pipe: plain texts, documents, and data lookups in one surface. Use this to discover the `dataSourceIds` values an AI agent or behavior can attach.| Parameter | Type | Description |
|---|---|---|
| pipe_uuid * | string | Pipe UUID (not the numeric ID; `get_pipe` returns the `uuid` field). |
get_automationLoad one automation rule by ID, including trigger and action payloads.| Parameter | Type | Description |
|---|---|---|
| automation_id * | any | Automation rule ID (non-empty string or positive integer). |
get_automation_actionsList automation action types available on a pipe (labels, fields, IDs).| Parameter | Type | Description |
|---|---|---|
| pipe_id * | any | Pipe ID. |
get_automation_event_attributesList the official **event-scoped** ``field_map.value`` token catalog.get_automation_eventsList automation trigger event definitions (IDs and metadata).| Parameter | Type | Description |
|---|---|---|
| pipe_id * | any | Pipe ID (context for the agent; required by the tool). |
get_automation_execution_metricsGet execution metrics (totalRuns, successRate, failureRate, averageDuration, lastRun) for one or more automations over a rolling window. Returns metrics for the automations you can access plus a `partial_errors` list naming any that were denied; a partial result, not a hard failure. Paginated: a page holds at most 50 automations; pass `page_info.endCursor` back as `after` to fetch the rest.| Parameter | Type | Description |
|---|---|---|
| action_ids | array | Optional action IDs to filter by; when provided, must be non-empty. |
| active | boolean | Optional filter for enabled (true) or disabled (false) automations. |
| after | string | Cursor from a previous page's page_info.endCursor. |
| automation_ids | array | Automation IDs to fetch. Omit to fetch every automation in the organization (optionally narrowed by the filters below); when provided, must be non-empty. |
| debug | boolean | When True, append GraphQL codes and correlation_id to transport-level GraphQL errors. Top-level failures (unknown org, no org access) return a plain message; per-automation denials already carry correlation_id in partial_errors. |
| event_id | string | Optional trigger event: card_moved, field_updated, card_created, scheduler, sla_based, card_left_phase, card_inbox_received_email, all_children_in_phase, http_response_received, manually_triggered. |
| first | integer | Page size, 1 to 50 (default 50). |
| organization_id * | any | Organization ID (numeric org id, same as in the Pipefy URL). |
| period | string | One of FIFTEEN_MINUTES, SIXTY_MINUTES (default), TWELVE_HOURS, TWENTY_FOUR_HOURS. |
| repo_id | any | Optional pipe/repo ID to scope the query. |
| search | string | Optional free-text match on automation name. |
| sort_by | string | Optional sort field: created_at or name. |
| sort_order | string | Optional sort direction: asc or desc. |
get_automation_jobs_exportPoll an automation jobs export by id. Returns `status` (`created`, `processing`, `finished`, `failed`) and `fileUrl` when the API provides a signed download link (often after `finished`). Use after `export_automation_jobs`; repeat until `finished` or `failed`. The tool does not download the file — use `fileUrl` over HTTP if needed.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| export_id * | any | Export id from `export_automation_jobs` result (`automationJobsExport.id`). |
get_automation_jobs_export_csvDownload a finished automation-jobs export and return the first worksheet as CSV text for LLM consumption. The API provides an xlsx file which is converted to CSV automatically. Requires export ``status`` ``finished``. Only https URLs on ``*.pipefy.com`` from the API are fetched. Large exports are capped by ``max_output_chars`` and ``max_download_bytes``.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| export_id * | any | Export id from `export_automation_jobs` after the export is `finished`. |
| max_download_bytes | integer | Max xlsx size to download (4 KiB–80 MiB); default 50 MiB. |
| max_output_chars | integer | Max CSV characters returned (256–2_000_000); default 400_000. |
get_automation_logsList execution logs for a specific automation by automation ID. Filter by status (processing, failed, success). Returns paginated results with card context.| Parameter | Type | Description |
|---|---|---|
| after | string | Cursor for next page. |
| automation_id * | any | Automation ID. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| first | integer | Page size (default 30). |
| search_term | string | Free-text search within logs. |
| status | string | AutomationLogStatus filter (processing, failed, success). |
get_automation_logs_by_repoList automation execution logs for all automations in a pipe/repo. Filter by status and searchTerm. Use when troubleshooting all automations in a pipe, not just one.| Parameter | Type | Description |
|---|---|---|
| after | string | Cursor for next page. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| first | integer | Page size (default 30). |
| repo_id * | any | Pipe/repo ID. |
| search_term | string | Free-text search within logs. |
| status | string | AutomationLogStatus filter (processing, failed, success). |
get_automation_simulationRead the result of an AI automation simulation, and wait while it runs.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| field_ids | array | The ``aiParams.fieldIds`` of the simulated prompt. Without them, ``warnings`` has no ``empty`` items. |
| simulation_id * | any | The ``simulation_id`` that ``simulate_automation`` returned. |
| timeout_seconds | integer | Maximum wait, from 0 to 45. With 0, the tool reads one time. |
get_automationsList one page of traditional automation rules, filtered by organization and/or pipe.| Parameter | Type | Description |
|---|---|---|
| after | string | ``pagination.end_cursor`` from the previous page. |
| first | integer | Page size, 1 to 50 (the API cap). Defaults to 50. |
| organization_id | any | When set, restrict to this organization; omit for no org filter. |
| pipe_id | any | When set, restrict to this pipe; omit for no pipe filter. |
get_automations_usageGet automation usage stats for an org within a date range. Returns total execution count and per-automation breakdown. Same input shape as `get_agents_usage`.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| filter_date_from * | string | Start of date range (ISO8601). |
| filter_date_to * | string | End of date range (ISO8601). |
| filters | object | Optional FilterParams dict (action, event, pipe, status keys). |
| organization_uuid * | any | Organization UUID, or numeric organization id. |
| search | string | Free-text search. |
| sort | object | SortCriteria dict (field + direction). |
get_available_ai_modelsList the model names an LLM provider vendor exposes (for configuring custom providers).| Parameter | Type | Description |
|---|---|---|
| provider_name * | string | Provider vendor enum value: `openai`, `azure_openai`, `amazon_bedrock`, `custom`, `google_vertex_ai`, `oracle_oci`, or `anthropic`. The API validates membership. Snake_case here; the `configuration.provider` key for `create_llm_provider` / `update_llm_provider` uses the hyphenated form (`amazon-bedrock`) — not interchangeable. |
get_cardLoad one card by ID for title, current phase, pipe, and optional field values.| Parameter | Type | Description |
|---|---|---|
| card_id * | any | Pipefy card ID (string or positive integer). Discover via: ``find_cards`` or ``get_cards(pipe_id)``. |
| debug | boolean | When True, append GraphQL codes and correlation_id on errors. |
| include_fields | boolean | If True, include each custom field's name and value on the card node. |
get_card_inbox_emailsList emails (sent and received) for a card's inbox.| Parameter | Type | Description |
|---|---|---|
| card_id * | any | ID of the card with inbox. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| email_type | string | Optional filter: 'sent' or 'received' to get only that type. |
get_card_relationsList parent and child card relations for a card (full lists; no pagination).| Parameter | Type | Description |
|---|---|---|
| card_id * | any | Card whose relations to load. |
| debug | boolean | When True, append GraphQL codes and correlation_id on errors. |
get_cardsGet cards in the pipe with optional search and pagination.| Parameter | Type | Description |
|---|---|---|
| after | string | Cursor for fetching the next page (from ``pageInfo.endCursor`` of a previous call). |
| first | integer | Max cards to return per page (1-500). |
| include_fields | boolean | If True, include each card's custom fields (name, value) in the response. |
| pipe_id * | any | The ID of the pipe. |
| search | any | Optional search filters (title, assignee_ids, label_ids, include_done, etc.). See ``CardSearch`` for all supported keys. |
| title | string | Filter cards whose title contains this text. Convenience shortcut — merged into ``search`` automatically. |
get_default_llm_providerResolve the default LLM provider for an owner (organization by default).| Parameter | Type | Description |
|---|---|---|
| owner_id * | string | Owner identifier. For `owner_type="organization"` pass the **numeric organization ID** (not the UUID; `get_organization` returns both). |
| owner_type | string | One of `organization` (default), `assistant`, `behavior`. |
get_email_templatesList email templates for a pipe or table.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| filter_by_name | string | Optional case-insensitive partial match on template name. |
| first | integer | Max templates to return (default 50). |
| repo_id * | any | Pipe or table ID. |
get_field_conditionLoad one field condition by ID (name, phase, condition, actions).| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id on errors. |
| field_condition_id * | any | Field condition ID. |
get_field_conditionsList field conditions defined on a phase (rules, expressions, actions).| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id on errors. |
| phase_id * | any | Phase that owns the conditions. |
get_interface_htmlFetch an HTML interface with each ``customCode`` element's live HTML.| Parameter | Type | Description |
|---|---|---|
| interface_uuid * | string | HTML interface UUID. |
get_interface_html_guidelinesFetch the rules, data-binding vocabulary and design system for customCode HTML.| Parameter | Type | Description |
|---|---|---|
| include_design_system | boolean | Also return ``designSystem``, a component catalog (tokens, icons and components with usage examples) to style generated content consistently. It is most of the response, so request it only when styling a page. |
get_interface_repo_fieldsList a pipe's or table's custom fields, to choose a data source's keys.| Parameter | Type | Description |
|---|---|---|
| interface_uuid | string | The interface the source is for. |
| repo_uuid * | string | The repo's ``uuid`` from ``list_interface_repos``. |
get_ipaas_connection_auth_urlStep 1 of connecting an OAuth-based app to a pipe's iPaaS workspace.| Parameter | Type | Description |
|---|---|---|
| piece_name * | string | Exact piece name (as returned by the catalog's piece-research tools). |
| pipe_id * | any | Numeric pipe ID whose iPaaS workspace to connect. |
get_ipaas_toolsList the iPaaS (Advanced Automations) tools available for a pipe.| Parameter | Type | Description |
|---|---|---|
| pipe_id * | any | Numeric pipe ID whose iPaaS workspace to inspect. |
| tool_name | string | Exact tool name to expand. Omit for the compact catalog. |
get_labelsList labels defined on a pipe (id and name).| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id on errors. |
| pipe_id * | any | Pipe whose labels to load. |
get_llm_provider_dependenciesList the owners (organization or assistants) that depend on an LLM provider. Check this before deactivating or removing a provider.| Parameter | Type | Description |
|---|---|---|
| after | string | Cursor from a previous page's pagination `end_cursor`. |
| first | integer | Page size (default 50). |
| organization_uuid * | string | Organization UUID (not the numeric ID). |
| provider_id * | string | Provider ID (from `get_llm_providers`). |
get_llm_providersList all LLM providers available to an organization: custom (BYOM) and Pipefy-managed system providers in one surface. Use this to discover the `providerId` / `systemProviderId` values that AI agent behaviors accept.| Parameter | Type | Description |
|---|---|---|
| after | string | Cursor from a previous page's pagination `end_cursor`. |
| first | integer | Page size (default 50). |
| only_active | boolean | Only return active custom providers (system providers are unaffected). |
| organization_uuid * | string | Organization UUID (not the numeric ID; `get_organization` returns both). |
get_organizationFetch Pipefy organization details by ID.| Parameter | Type | Description |
|---|---|---|
| organization_id * | any | Numeric organization ID. |
get_organization_reportGet a single organization report by ID.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| report_id * | any | Organization report ID. |
get_organization_report_exportCheck the status of an org report export. Poll this after calling `export_organization_report`.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| export_id * | any | Organization report export ID. |
get_organization_reportsList organization reports for an org with pagination.| Parameter | Type | Description |
|---|---|---|
| after | string | Cursor for next page. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| first | integer | Page size (default 30). |
| organization_id * | any | Organization ID. |
get_phase_allowed_move_targetsList phases a card may move to from a source phase (phase connections).| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| phase_id * | any | Source phase ID (typically the card's ``current_phase.id``). Discover via: ``get_card(card_id).current_phase.id`` or ``get_pipe(pipe_id).phases[].id``. |
get_phase_cardsList cards currently in a phase (``Phase.cards`` pagination).| Parameter | Type | Description |
|---|---|---|
| after | string | Cursor from ``pageInfo.endCursor`` of a previous call. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| first | integer | Max cards per page (1-500). Default 50. |
| include_fields | boolean | When True, include each card's custom fields. |
| phase_id * | any | Phase ID. Discover via: ``get_pipe(pipe_id).phases[].id`` for workflow phases, or ``get_pipe(pipe_id).startFormPhaseId`` for the start-form phase (not listed in ``phases[]``). |
get_phase_cards_countReturn the native ``Phase.cards_count`` for a phase (fast inventory).| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| phase_id * | any | Phase ID. Discover via: ``get_pipe(pipe_id).phases[].id`` for workflow phases, or ``get_pipe(pipe_id).startFormPhaseId`` for the start-form phase (not listed in ``phases[]``). |
get_phase_fieldsGet the fields available in a specific phase.| Parameter | Type | Description |
|---|---|---|
| phase_id * | any | The ID of the phase to get fields from. You can find phase IDs by calling get_pipe first. |
| required_only | boolean | If True, returns only required fields. Default: False. Use this to see the minimum fields needed in the phase. |
get_pipeLoad a pipe by ID: name, phases, labels, and start-form field definitions.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id on errors. |
| pipe_id * | any | Pipe identifier (string or positive integer). Discover via: ``search_pipes`` or ``get_organization``. |
get_pipe_membersList members of a pipe with roles and basic user profile fields.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id on errors. |
| pipe_id * | any | Pipe identifier (string or positive integer). Discover via: ``search_pipes`` or ``get_organization``. |
get_pipe_relationsList pipe relations for a pipe (parent and child links, config, and repo refs).| Parameter | Type | Description |
|---|---|---|
| pipe_id * | any | Pipe ID. |
get_pipe_reportFetch one pipe report by ID.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| pipe_uuid * | string | Pipe UUID (not numeric ID). |
| report_id * | any | Pipe report ID. |
get_pipe_report_columnsGet available columns for a pipe report. Each item includes `name` (internal field id for `fields`) and `label`.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| pipe_uuid * | string | Pipe UUID. |
get_pipe_report_exportCheck the status of a pipe report export. Poll this after calling `export_pipe_report`. States: processing -> done (with fileURL) -> failed.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| export_id * | any | Pipe report export ID. |
get_pipe_report_filterable_fieldsGet filterable fields for a pipe report (nested groups; use `name` for filter fields).| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| pipe_uuid * | string | Pipe UUID. |
get_pipe_reportsList pipe reports with pagination (query omits `cardCount`). Use `get_pipe_report_columns` and `get_pipe_report_filterable_fields` before creating reports.| Parameter | Type | Description |
|---|---|---|
| after | string | Cursor for next page. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| first | integer | Page size (default 30). |
| order | object | Sort order, e.g. {"field": "name", "direction": "asc"}. |
| pipe_uuid * | string | Pipe UUID (not numeric ID). |
| report_id | any | Filter to a specific report ID. |
| search | string | Free-text search on report name. |
get_portalFetch a portal by UUID with pages, elements, and sub-portals.| Parameter | Type | Description |
|---|---|---|
| portal_uuid * | string | Portal interface UUID. |
get_recordsList, count and filter the cards of a pipe on the server (the ``records`` query).| Parameter | Type | Description |
|---|---|---|
| after | string | ``pageInfo.endCursor`` from the previous page, passed back exactly. |
| debug | boolean | When True, append GraphQL codes and correlation_id on errors. |
| first | integer | Cards per page (1-50). |
| include_fields | boolean | If True, include each card's custom fields. |
| order_by | array | List of ``{attribute or field, direction}`` (ASC or DESC); ``field`` is the field uuid. |
| phase_id | any | Only cards currently in this phase. |
| pipe_id * | any | The ID of the pipe. |
| search_term | string | Matches title and subtitle fields; to find a card by id, use ``where={"attribute": "ID", "eq": "<id>"}``. |
| where | any | Filter tree, e.g. ``{"attribute": "ASSIGNEES", "in": ["<user id>"]}``. |
get_start_form_fieldsGet the start form fields of a pipe.| Parameter | Type | Description |
|---|---|---|
| pipe_id * | any | The ID of the pipe to get start form fields from |
| required_only | boolean | If True, returns only required fields. Default: False Use this to see the minimum fields needed to create a card. |
get_tableLoad one database table: name, description, fields, and authorization.| Parameter | Type | Description |
|---|---|---|
| table_id * | any | Pipefy database table ID. |
get_table_recordLoad a single database table record with its field values.| Parameter | Type | Description |
|---|---|---|
| record_id * | any | Table record ID (string or positive integer). |
get_table_recordsList records in a database table using cursor pagination.| Parameter | Type | Description |
|---|---|---|
| after | string | Cursor from the previous page (`endCursor`), if any. |
| first | integer | Page size (1–200, default 50). |
| table_id * | any | Database table ID. |
get_table_relationsLoad table relations by ID (Pipefy root ``table_relations``).| Parameter | Type | Description |
|---|---|---|
| relation_ids * | array | Non-empty list of **table relation** IDs (never the database table ID). |
get_tablesLoad several database tables by ID (same shape as get_table per table).| Parameter | Type | Description |
|---|---|---|
| table_ids * | array | Non-empty list of table IDs. |
get_tool_categoriesList the subject-domain categories of the tools reachable via execute_tool.get_webhooksList webhooks configured on a pipe.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| pipe_id * | any | ID of the pipe. |
introspect_mutationInspect a root GraphQL mutation: arguments and return type.| Parameter | Type | Description |
|---|---|---|
| include_parsed | boolean | When True, include ``data`` dict alongside ``result``. |
| max_depth | integer | Levels of sub-types to resolve (1 = no recursion, 2+ = inline referenced types). |
| mutation_name * | string | Mutation field name on the Mutation type (e.g. createCard). |
introspect_queryInspect a root GraphQL query: arguments and return type.| Parameter | Type | Description |
|---|---|---|
| include_parsed | boolean | When True, include ``data`` dict alongside ``result``. |
| max_depth | integer | Levels of sub-types to resolve (1 = no recursion, 2+ = inline referenced types). |
| query_name * | string | Query field name on the Query type (e.g. pipe, organization). |
introspect_typeInspect a Pipefy GraphQL type: fields, inputFields, or enumValues.| Parameter | Type | Description |
|---|---|---|
| include_parsed | boolean | When True, include ``data`` dict alongside ``result``. |
| max_depth | integer | Levels of sub-types to resolve (1 = no recursion, 2+ = inline referenced types). |
| type_name * | string | Schema type name exactly as defined (e.g. Card, Mutation). |
invite_membersInvite one or more users to a pipe.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| members * | array | List of member dicts with `email` and `role_name`. |
| pipe_id * | any | ID of the pipe. |
list_interface_reposList the pipes and tables an HTML interface can take as data sources.| Parameter | Type | Description |
|---|---|---|
| interface_uuid | string | The interface the sources are for; pass it, since it decides which repos qualify. An unknown uuid is not an error. |
| organization_id * | any | Numeric organization id (``list_organizations`` returns it as ``id``); a uuid is rejected. |
| repo_name | string | Case-insensitive part of the repo name. |
list_interfacesList an organization's HTML interfaces (``contentModeHtml``).| Parameter | Type | Description |
|---|---|---|
| organization_uuid * | any | Organization UUID, or numeric organization id. |
| search_term | string | Optional name filter. |
list_organizationsList the Pipefy organizations you can access.list_portalsList portals for an organization.| Parameter | Type | Description |
|---|---|---|
| organization_uuid * | any | Organization UUID, or numeric organization id (string or unquoted integer via MCP clients). |
| search_term | string | Optional name filter. |
move_card_to_phaseMove a card to a target phase (Kanban column) within the same pipe.| Parameter | Type | Description |
|---|---|---|
| card_id * | any | The card to move. Discover via: ``find_cards`` or ``get_cards(pipe_id)``. |
| destination_phase_id * | any | Target phase ID (must be allowed for the current phase). Discover via: ``get_phase_allowed_move_targets(current_phase_id)`` where ``current_phase_id`` comes from ``get_card(card_id).current_phase.id``. |
publish_sub_portalPublish a sub-portal on a main portal page element.| Parameter | Type | Description |
|---|---|---|
| element_id * | string | Page element UUID (e.g. templated ``forms`` slot). |
| portal_uuid * | string | Main portal interface UUID. |
| sub_portal_uuid * | string | Sub-portal UUID to publish on the element. |
remove_member_from_pipePermanently remove one or more users from a pipe.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to True with the preview token to execute the removal (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| pipe_id * | any | ID of the pipe. |
| user_ids * | array | User ids to remove. Prefer numeric ``user.id`` from ``get_pipe_members``; a user UUID is also accepted. |
reset_default_llm_providerReset (clear) the organization's default LLM provider. Requires manage_ai_providers and an eligible plan.| Parameter | Type | Description |
|---|---|---|
| organization_id * | string | Numeric organization ID of the credential's organization (not the UUID). |
search_pipesSearch for all accessible pipes across all organizations.| Parameter | Type | Description |
|---|---|---|
| max_pipes_per_org | integer | Maximum pipes per organization (1--500, default 500). |
| pipe_name | string | Optional pipe name to search for (case-insensitive partial match). If not provided, returns up to ``max_pipes_per_org`` pipes per org. |
search_schemaSearch GraphQL schema types by keyword in name or description.| Parameter | Type | Description |
|---|---|---|
| include_parsed | boolean | When True, include ``data`` dict alongside ``result``. |
| keyword * | string | Substring to find relevant types (e.g. pipe, card, automation). |
| kind | string | Optional filter by GraphQL type kind (e.g. OBJECT, INPUT_OBJECT, ENUM, SCALAR). |
search_tablesSearch for all accessible databases (tables) across all organizations.| Parameter | Type | Description |
|---|---|---|
| first | integer | GraphQL ``tables(first: ...)`` per organization (1-500). |
| table_name | string | Optional table name to search for (case-insensitive partial match). |
search_toolsFind hidden tools whose name or description matches ``keyword``.| Parameter | Type | Description |
|---|---|---|
| keyword * | string |
send_email_with_templateSend an email from a card's inbox using an existing email template.| Parameter | Type | Description |
|---|---|---|
| card_id * | any | ID of the card with inbox. |
| confirm | boolean | Set to True with the preview token to send (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| email_template_id * | any | ID of the email template. |
| extra_input | object | Optional extra CreateAndSendInboxEmailInput fields (cc, bcc). |
| from_ | string | Optional override for sender; if omitted, uses template's fromEmail. |
| to | array | Optional override for recipients; if omitted, uses template's toEmail. |
send_inbox_emailSend an email from a card's inbox.| Parameter | Type | Description |
|---|---|---|
| body * | string | Email body (plain text or HTML). |
| card_id * | any | ID of the card. |
| confirm | boolean | Set to True with the preview token to send (step 2). |
| confirmation_token | string | Token from the preview response. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | object | Optional extra CreateAndSendInboxEmailInput fields (html, cc, bcc). |
| from_ * | string | Sender email address (required by API). |
| subject * | string | Email subject. |
| to * | array | List of recipient email addresses. |
set_default_llm_providerSet the organization's default LLM provider. Requires manage_ai_providers and an eligible plan.| Parameter | Type | Description |
|---|---|---|
| organization_id * | string | Numeric organization ID of the credential's organization (not the UUID; `get_organization` returns both). |
| provider_id | string | Custom provider ID to make the default. |
| system_provider_id | string | System provider ID to make the default. |
set_interface_actionsReplace the actions an HTML interface's customCode element can run.| Parameter | Type | Description |
|---|---|---|
| actions * | array | The element's complete action list. |
| editable | boolean | Whether viewers can save edits to the element's ``data-pfy-editable`` fields; omit to keep it. |
| element_id * | string | The page's customCode element. |
| interface_uuid * | string | The HTML interface's uuid. |
| page_id * | string | Page holding the element. |
set_interface_sourcesReplace the data sources of an HTML interface's customCode element.| Parameter | Type | Description |
|---|---|---|
| data_sources * | array | The element's complete source list. |
| element_id * | string | The page's customCode element. |
| interface_uuid * | string | The HTML interface's uuid. |
| page_id * | string | Page holding the element. |
set_llm_provider_active_statusActivate or deactivate a custom (BYOM) LLM provider. Requires manage_ai_providers and an eligible plan.| Parameter | Type | Description |
|---|---|---|
| active * | boolean | `True` to activate, `False` to deactivate. |
| provider_id * | string | Provider ID whose active status to set (from `get_llm_providers`). |
set_roleSet a member's role on a pipe.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| member_id * | any | User id of the member (not a membership row id). Discover via: ``get_pipe_members`` → ``user.id``. |
| pipe_id * | any | ID of the pipe. |
| role_name * | string | New role name (e.g. 'member', 'admin'). |
set_table_record_field_valueUpdate a single custom field on a table record.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| field_id * | any | Table field ID. Discover via: ``get_table(table_id).table_fields[].id``. |
| record_id * | any | Record ID. Discover via: ``find_records(table_id, field_id, field_value)`` or ``get_table_records(table_id)[].id``. |
| value * | any | New value (string/number/list as required by the field type). |
simulate_automationDry-run an **AI automation** (``generate_with_ai``) against a real card (safe simulation, no live side effects).| Parameter | Type | Description |
|---|---|---|
| action_id * | string | Simulation action id — currently only ``generate_with_ai`` is accepted by the API. |
| action_params | any | Optional JSON object (action parameters). |
| condition | any | Optional JSON object (condition payload). |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| event_id | any | Optional trigger event id when the scenario needs it. |
| event_params | any | Optional JSON object (trigger parameters). |
| extra_input | any | Optional map of extra ``CreateAutomationSimulationInput`` fields (merged last). |
| name | string | Optional simulation input name. |
| pipe_id * | any | Pipe ID — default ``event_repo_id`` / ``action_repo_id`` for the simulation input. |
| sample_card_id * | any | Card id the simulation executes against. |
sort_portal_pagesReorder portal pages.| Parameter | Type | Description |
|---|---|---|
| page_ids * | array | Ordered list of page UUIDs (new sort order). |
| portal_uuid * | string | Parent portal interface UUID. |
toggle_ai_agent_statusEnable or disable an AI Agent (explicit activation path).| Parameter | Type | Description |
|---|---|---|
| active * | boolean | True to activate, False to deactivate. |
| uuid * | string | UUID of the agent to enable/disable. |
unpublish_sub_portalUnpublish a sub-portal from a main portal page element.| Parameter | Type | Description |
|---|---|---|
| element_id * | string | Page element UUID to unpublish. |
| portal_uuid * | string | Main portal interface UUID. |
update_ai_agentUpdate an AI Agent: replaces the entire config.| Parameter | Type | Description |
|---|---|---|
| behaviors * | array | 1–5 behavior dicts. Same shape as ``create_ai_agent``: each needs ``name``, ``event_id``, and ``actionParams.aiBehaviorParams.actionsAttributes``. Accepts both ``snake_case`` and ``camelCase`` keys. Optional: ``template_params`` / ``placeholders`` and ``instruction_template`` (same interpolation as ``create_ai_agent``). Discover via: ``get_automation_events(pipe_id)`` and ``get_phase_fields(phase_id)``. |
| data_source_ids | array | Optional list of data source IDs. Omit to keep the agent's current knowledge bases; pass ``[]`` to detach them all. |
| disabled_at | string | Optional ISO-8601 ``disabledAt`` from ``get_ai_agent``. Pass through to skip the preserve re-read and avoid a toggle race. Omit to let the SDK preserve. |
| instruction * | string | Agent-level purpose (Pipefy UI "Description"; API ``instruction``). |
| name * | string | Agent display name. |
| repo_uuid * | string | UUID of the pipe (from ``get_pipe``). Discover via: ``search_pipes`` then ``get_pipe(pipe_id).uuid``. |
| uuid * | string | UUID of the agent to update. Discover via: ``get_ai_agents(repo_uuid)[].uuid``. |
update_ai_automationUpdate an existing AI automation's name, prompt, destination fields, or active state.| Parameter | Type | Description |
|---|---|---|
| active | boolean | Whether the automation is active (optional). |
| automation_id * | any | ID of the automation to update. Discover via: ``get_ai_automations(repo_uuid)[].id``. |
| condition | object | New trigger condition dict. Omit to leave the automation's condition unchanged; pass a dict to replace it. |
| debug | boolean | When True, append GraphQL error codes and correlation_id to update failures. |
| event_params | object | Trigger-specific filters (e.g. {"to_phase_id": "..."} for card_moved). Pass to change; omit to keep current. |
| field_ids | array | New list of field internal IDs (optional). |
| name | string | New automation name (optional). |
| prompt | string | New AI prompt text (optional). Must use %{internal_id} syntax to reference pipe fields (e.g. "Classify %{900000101}" — use your field's internal_id). |
| skills_ids | array | New list of AI skill IDs (optional). |
update_ai_knowledge_base_data_lookupUpdate a knowledge base data lookup by replacing its full definition. Requires manage_ai_agents; run `validate_knowledge_base_access` first.| Parameter | Type | Description |
|---|---|---|
| conditions * | array | Condition objects (at least one) — the complete set, not a delta. |
| data_lookup_id * | string | Data lookup ID to update (from `get_ai_knowledge_bases`). |
| description | string | New description (1-300 characters when given). |
| name | string | New name (1-80 characters when given). |
| output_fields * | array | Field IDs whose values matching records return (1-30). |
| pipe_uuid * | string | Pipe UUID (not the numeric ID). |
| search_query | string | Optional backend-defined search mode marker; omitted means cleared. |
| source_repo_id * | string | Numeric ID of the source pipe (required; omitting it would strip the source from the stored definition). |
update_ai_knowledge_base_documentUpdate a knowledge base document's metadata. Requires manage_ai_agents; run `validate_knowledge_base_access` first.| Parameter | Type | Description |
|---|---|---|
| description | string | New description (1-300 characters when given). |
| document_id * | string | Document ID to update (from `get_ai_knowledge_bases`). |
| name | string | New name (1-80 characters when given). |
| pipe_uuid * | string | Pipe UUID (not the numeric ID). |
update_ai_knowledge_base_plain_textUpdate a pipe-scoped knowledge base plain text. Requires manage_ai_agents; run `validate_knowledge_base_access` first.| Parameter | Type | Description |
|---|---|---|
| content | string | New content (1-3500 characters when given). |
| description | string | New description (1-300 characters when given). |
| name | string | New name (1-80 characters when given). |
| pipe_uuid * | string | Pipe UUID (not the numeric ID). |
| plain_text_id * | string | Plain text ID to update (from `get_ai_knowledge_bases`). |
update_automationUpdate an existing traditional automation (partial ``UpdateAutomationInput``).| Parameter | Type | Description |
|---|---|---|
| automation_id * | any | Automation rule ID. |
| condition | object | Optional typed trigger condition to replace (see ``create_automation``). |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | any | Optional fields to patch on the rule. |
update_cardUpdate a card's fields and attributes with intelligent mutation selection.| Parameter | Type | Description |
|---|---|---|
| assignee_ids | array | List of user IDs to assign (replaces existing) |
| card_id * | any | The ID of the card to update (required) |
| due_date | string | New due date in ISO 8601 format |
| field_updates | array | List of field update objects: - field_id (str): The field ID to update - value (any): The value(s) to set - operation (str, optional): "ADD", "REMOVE", or "REPLACE" (default) |
| label_ids | array | List of label IDs to associate (replaces existing) |
| title | string | New title for the card |
update_card_fieldUpdate a single field of a card.| Parameter | Type | Description |
|---|---|---|
| card_id * | any | The ID of the card containing the field to update. Discover via: ``find_cards`` or ``get_cards(pipe_id)``. |
| debug | boolean | When True, append GraphQL codes and correlation_id on errors. |
| field_id * | string | The ID (slug) of the field to update. Discover via: ``get_phase_fields(phase_id)[].id`` (or ``internal_id`` for numeric forms). |
| new_value * | any | The new value for the field (string, number, list, etc.) |
update_commentUpdate an existing comment by its ID.| Parameter | Type | Description |
|---|---|---|
| comment_id * | any | The ID of the comment to update. |
| text * | string | The new comment text (1-1000 characters). |
update_field_conditionUpdate an existing field condition.| Parameter | Type | Description |
|---|---|---|
| actions | array | Optional list of ``FieldConditionActionInput`` dicts (same as create). Discover via: ``get_phase_fields(phase_id)[].internal_id`` for ``phaseFieldId``. |
| condition | object | Optional ``ConditionInput`` dict (same as create). Discover via: ``get_phase_fields(phase_id)[].internal_id`` for ``field_address``. |
| condition_id * | any | Field condition ID to update. Discover via: ``get_field_conditions(phase_id)[].id``. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | object | Additional fields to merge into ``UpdateFieldConditionInput``: ``phase_id`` or ``clientMutationId``. ``createFieldConditionInput`` uses ``phaseId``. ``UpdateFieldConditionInput`` uses ``phase_id`` and does not accept ``index``. |
| name | string | Optional new rule name. |
update_labelUpdate a pipe label.| Parameter | Type | Description |
|---|---|---|
| color * | string | New label color as hex ``#RGB`` or ``#RRGGBB`` (e.g. ``#F00``); color names are rejected before GraphQL. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | object | Additional UpdateLabelInput fields, if any. |
| label_id * | any | Label ID to update. |
| name * | string | New label name (non-empty). |
update_llm_providerUpdate a custom (BYOM) LLM provider (full configuration replacement). Requires manage_ai_providers and an eligible plan; run `validate_llm_provider_access` first.| Parameter | Type | Description |
|---|---|---|
| configuration_file_path * | string | Local path to a JSON file holding the complete configuration object. Supports `~` expansion. |
| name | string | New display name (optional; non-blank when given). |
| organization_uuid * | string | Organization UUID (not the numeric ID). |
| provider_id * | string | Provider ID to update (custom/BYOM; from `get_llm_providers`). |
update_organization_reportUpdate an organization report; omitted parameters are unchanged.| Parameter | Type | Description |
|---|---|---|
| color | string | Report color. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| fields | array | Column ``name`` values (internal names, not labels). |
| filter | object | Report filter (ReportCardsFilter shape). |
| name | string | New report name. |
| pipe_ids | array | Pipe IDs to include. |
| report_id * | any | Organization report ID. |
update_phaseUpdate a phase.| Parameter | Type | Description |
|---|---|---|
| can_receive_card_directly_from_draft | boolean | If changing. |
| color | string | Phase color (API enum), if changing. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| description | string | New description, if changing. |
| done | boolean | Whether the phase is a final phase, if changing. |
| lateness_time | integer | SLA in seconds, if changing. |
| name | string | New name, if changing. |
| only_admin_can_move_to_previous | boolean | If changing (deprecated in API). |
| phase_id * | any | Phase ID to update. Discover via: ``get_pipe(pipe_id).phases[].id``. |
update_phase_fieldUpdate a phase field.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| description | string | New description, if changing. |
| extra_input | object | Additional UpdatePhaseFieldInput fields, if any. |
| field_id * | any | Field slug (from create_phase_field or get_phase_fields). Discover via: ``get_phase_fields(phase_id)[].id`` (or ``uuid`` for disambiguation). |
| label * | string | Field label (required by the Pipefy API even if unchanged — pass the current value). |
| options | array | Field options list (e.g. ["Alta", "Média", "Baixa"] for select fields). |
| phase_id | any | When set (without ``uuid``), narrows slug resolution to that phase's fields. |
| pipe_id | any | When set (without ``uuid``), resolves a slug across the whole pipe (start form + phases). |
| required | boolean | Whether the field is required, if changing. |
| uuid | string | Field UUID for disambiguation when the slug exists on multiple phases. Discover via: ``get_phase_fields(phase_id)[].uuid``. |
update_pipeUpdate pipe settings (name, icon, color, preferences).| Parameter | Type | Description |
|---|---|---|
| color | string | Color enum/string per API, if changing. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| icon | string | Icon identifier, if changing. |
| name | string | New name, if changing. |
| pipe_id * | any | Pipe ID to update. |
| preferences | object | Repo preferences object, if changing. |
update_pipe_relationUpdate an existing pipe relation (name, auto-fill, connection flags).| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| extra_input | any | Optional extra fields for the mutation input. |
| name * | string | New relation name (required by the API). |
| relation_id * | any | Pipe relation ID. |
update_pipe_reportUpdate a pipe report; omitted parameters are unchanged.| Parameter | Type | Description |
|---|---|---|
| color | string | Report color. |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| featured_field | string | Featured field name. |
| fields | array | Internal field names (`name` from column discovery). |
| filter | object | Report filter (ReportCardsFilter shape). |
| formulas | array | Formula definitions. |
| name | string | New report name. |
| report_id * | any | Pipe report ID. |
update_portalUpdate portal metadata (name, visibility, theme).| Parameter | Type | Description |
|---|---|---|
| color | string | Optional theme color. |
| display_pipefy_header | boolean | Whether to show the Pipefy header. |
| icon | string | Optional icon identifier. |
| name | string | Optional display name. |
| portal_uuid * | string | Portal interface UUID. |
| visibility | any | ``internal``, ``private``, or ``public``. |
update_portal_elementUpdate a portal page element (full metadata replace).| Parameter | Type | Description |
|---|---|---|
| data_sources | array | Data source bindings that replace the element's list, each ``{"repoId": ..., "fieldKeys": [...]}`` as ``get_portal`` returns them. An element with no bindings can pass ``[]``, which skips the portal read. |
| editable | boolean | Editable flag. The API requires it when a data source lists ``fieldKeys``; the keep path resends the stored one. |
| element_id * | string | Element UUID. |
| metadata * | object | Complete metadata JSON for the element. |
| page_id * | string | Parent page UUID. |
| portal_uuid | string | The portal you passed to ``get_portal`` whose ``pages[]`` holds ``page_id``; required when ``data_sources`` is omitted. |
| type * | any | Element type for metadata validation. |
update_portal_pageUpdate portal page metadata (title, description, sort index).| Parameter | Type | Description |
|---|---|---|
| description | string | Optional new description. |
| index | integer | Optional sort index. |
| page_id * | string | Page UUID. |
| portal_uuid * | string | Parent portal interface UUID. |
| title | string | Optional new title. |
update_portal_page_layoutUpdate a portal page grid layout.| Parameter | Type | Description |
|---|---|---|
| layout * | array | Full array from get_portal -> pages[].layout. Each row needs a non-empty id, type "row", and children as non-empty strings. [] is an empty page. Preserve row IDs and children, changing only intended positions. Do not wrap it in an object or infer positions from metadata.gridMap (element dimensions). An incomplete row is rejected because the API stores this JSON verbatim. Re-read to verify. |
| page_id * | string | Page UUID. |
update_sub_portal_elementAttach a sub-portal to a main portal page element.| Parameter | Type | Description |
|---|---|---|
| element_id * | string | Page element UUID (e.g. templated ``forms`` slot). |
| portal_uuid * | string | Main portal interface UUID. |
| sub_portal_uuid * | string | Sub-portal UUID to attach. |
update_tableUpdate database table attributes (name, description, or other `UpdateTableInput` fields).| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| description | string | New description, if changing. |
| extra_input | any | Other `UpdateTableInput` keys to merge (e.g. public, icon). |
| name | string | New name, if changing. |
| table_id * | any | Table ID to update. |
update_table_fieldUpdate a database table field (schema column).| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| description | string | New description, if changing. |
| extra_input | any | Other UpdateTableFieldInput keys to merge (e.g. table_id if not provided as parameter). |
| field_id * | any | Table field ID (slug string or positive integer). |
| label | string | New label, if changing. |
| options | array | Field options structure, if changing. |
| required | boolean | Whether the field is required, if changing. |
| table_id | any | Table ID containing this field (required by API). If not provided, can be passed via extra_input. |
update_table_recordUpdate a table record (title, due_date, status_id per Pipefy `UpdateTableRecordInput`).| Parameter | Type | Description |
|---|---|---|
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| fields * | object | Keys may include title, due_date, status_id (or statusId). |
| record_id * | any | Record ID. Discover via: ``find_records(table_id, field_id, field_value)`` or ``get_table_records(table_id)[].id``. |
update_webhookUpdate an existing webhook by ID.| Parameter | Type | Description |
|---|---|---|
| actions | array | Optional new list of event action strings (non-empty when provided). |
| debug | boolean | When True, append GraphQL codes and correlation_id to errors. |
| headers | object | Optional JSON object of custom HTTP headers for the webhook request. Replaces the whole set: a key left out is deleted, so send every header to keep. Leaving ``headers`` out also deletes every header: the API stores an empty set, so an update that changes only ``url`` or ``name`` must resend the headers. |
| name | string | Optional new display name. |
| url | string | Optional new HTTPS callback URL. |
| webhook_id * | any | ID of the webhook to update. Discover via: ``get_webhooks(pipe_id)[].id``. |
upload_attachment_to_cardUpload one file to a card attachment field (presigned URL, S3 PUT, then updateCardField).| Parameter | Type | Description |
|---|---|---|
| card_id * | any | Target card id. |
| content_type | string | Optional MIME type; sent with the S3 upload and presigned request. |
| field_id * | any | Attachment field slug (e.g. "document_upload"), not the uuid. |
| file_name | string | File name including extension. Optional; defaults to the source basename. |
| file_path | string | Local filesystem path. Supports ``~`` expansion. Local profile only. |
| file_url | string | HTTPS URL to download from (http only if the deployment enables insecure URLs); max 100 MiB. Required on the hosted server. |
| organization_id * | any | Pipefy organization id. Use ``get_organization`` or ``get_pipe`` to find it. |
upload_attachment_to_table_recordUpload one file to a table record attachment field (presigned URL, S3 PUT, setTableRecordFieldValue).| Parameter | Type | Description |
|---|---|---|
| content_type | string | Optional MIME type for storage. |
| field_id * | any | Attachment field slug on the table record (e.g. "document_upload"), not the uuid. |
| file_name | string | File name including extension. Optional; defaults to the source basename. |
| file_path | string | Local filesystem path. Supports ``~`` expansion. Local profile only. |
| file_url | string | HTTPS URL to download from (http only if the deployment enables insecure URLs); max 100 MiB. Required on the hosted server. |
| organization_id * | any | Pipefy organization id. Use ``get_organization`` or ``get_pipe`` to find it. |
| table_record_id * | any | Database table record id. |
validate_ai_agent_behaviorsDry-run validation of AI Agent behaviors against a pipe's fields, phases, and relations.| Parameter | Type | Description |
|---|---|---|
| behaviors * | array | 1–5 behavior dicts (same shape as ``create_ai_agent``). Each must include ``name``, ``event_id`` (or ``eventId``), and ``actionParams`` with ``aiBehaviorParams`` (``instruction`` + ``actionsAttributes``). Discover via: ``get_automation_events(pipe_id)`` for ``event_id`` and ``get_start_form_fields(pipe_id)`` / ``get_phase_fields(phase_id)`` for ``fieldId`` values (slug or ``internal_id``). |
| data_source_ids | array | Optional agent-level knowledge base IDs to attach. These are unioned with each behavior's ``actionParams.aiBehaviorParams.dataSourceIds`` and checked against the pipe's knowledge bases (via ``get_ai_knowledge_bases``); unknown IDs produce **warnings** only (``valid`` stays true). If the knowledge base list cannot be read, a single warning is added and the membership check is skipped. Discover valid IDs via ``get_ai_knowledge_bases(pipe_uuid)``. |
| pipe_id * | any | Numeric pipe ID (used to fetch fields, phases, and relations). Discover via: ``search_pipes`` or ``get_organization``. |
| strict_unknown_action_types | boolean | When ``True`` (default), unknown ``actionType`` values are reported in ``problems``. When ``False``, they appear in ``warnings`` only. |
validate_ai_automation_promptPre-flight validation for AI automation prompts before calling ``create_ai_automation``.| Parameter | Type | Description |
|---|---|---|
| event_id | any | Optional trigger event ID to validate (e.g. ``card_created``). Discover via: ``get_automation_events(pipe_id)``. |
| field_ids * | array | Output field internal IDs where the AI writes results. Discover via: ``get_phase_fields(phase_id)[].internal_id``. |
| pipe_id * | any | Pipe where the AI automation will run. Discover via: ``search_pipes`` or ``get_organization``. |
| prompt * | string | AI prompt text with ``%{internal_id}`` field references. Discover via: ``get_phase_fields(phase_id)[].internal_id``. |
The first 200 of 203 tools, in name order.
Security checks
- ✓README presentThe repository's README runs to about 1.5K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 216 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.5K words, fetched a month ago. The original in the repository is authoritative.
Read full README