> For the complete documentation index, see [llms.txt](https://docs.usepylon.com/pylon-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.usepylon.com/pylon-docs/integrations/pylon-mcp.md). Agents can also search and read this documentation through its [MCP server](https://docs.usepylon.com/pylon-docs/~gitbook/mcp).

# Pylon MCP

Expose Pylon data to AI tools and assistants via Model Context Protocol.

## Pylon MCP Server

The Pylon MCP Server exposes Pylon data to AI tools that support the Model Context Protocol (e.g. Claude, ChatGPT, Cursor). AI tools authenticate with OAuth or an API token and can read and update issues, accounts, contacts, knowledge base articles, tasks and projects, triggers, and more within the authenticated identity's permissions.

* **Server URL (US):** `https://mcp.usepylon.com`
* **Server URL (EU):** `https://mcp.eu.usepylon.com`
* **Auth:** OAuth 2.0 or an API token. Actions are performed as the signed-in user or the token's identity, with that identity's current role and permissions.
* **Transport:** Streamable HTTP (stateless; no server-side sessions).

### Setup in Pylon

Open **Settings > AI Controls > MCP Server** in Pylon. Copy your workspace's regional MCP URL from **Installation** and use it in your AI tool. For client-specific instructions, see [connecting to the Pylon MCP Server](https://support.usepylon.com/articles/2407390554-connecting-to-the-pylon-mcp-server?lang=en).

### Authentication

Both methods use the same regional MCP URL. Choose the method your client supports.

#### OAuth

Use OAuth with AI tools that offer an interactive connection flow. Add the regional MCP URL to your client, then sign in to Pylon when prompted. MCP requests run as the user who authorizes the connection.

#### API token

Use an existing API token for headless workers, scripts, or MCP clients that support custom authorization headers. You don't need a separate MCP token or an interactive sign-in.

1. Create or choose an [API token](https://docs.usepylon.com/pylon-docs/developer/api/authentication.md#create-an-api-token).
2. Configure your client with your workspace's regional MCP URL.
3. Include this header on every MCP request:

```http
Authorization: Bearer <API_TOKEN>
```

Replace `<API_TOKEN>` with the token value. Use `https://mcp.usepylon.com` for US workspaces and `https://mcp.eu.usepylon.com` for EU workspaces; the token must belong to the same region.

A token with its own identity uses the role assigned to that identity. A token linked to a teammate or bot uses that user's current role and permissions. The identity must have **MCP Access**, and each tool still requires the permissions for its operation. Any IP allowlist configured on the token also applies to MCP requests.

Some clients only support OAuth connections. Use their OAuth flow if they don't let you configure an authorization header.

### What you can do with MCP today

The authenticated user or token identity needs the **MCP Access** [permission](https://docs.usepylon.com/pylon-docs/platform/roles-and-user-management#member-permissions-2) to connect. The standard Member and Admin roles include this permission. Each tool also requires the permissions for its operation. Access follows the same scoping as the Pylon dashboard — the MCP cannot return data that the authenticated user cannot already see, or perform writes that the authenticated user cannot already write in the UI.

Some tools also require a plan feature, noted in their section. Rate limits apply per tool, elaborated below.

Use the tool names below when configuring your AI client. Your client discovers the input schema for each tool through MCP; available tools depend on your workspace, plan, and permissions.

For a tool whose input schema includes `arguments`, put its required and optional fields inside that object. For example:

```json
{
  "name": "get_account_relationships",
  "arguments": {
    "arguments": {
      "account_id": "<ACCOUNT_ID>"
    }
  }
}
```

Use the schema returned by your client for the exact fields. Writes apply immediately; confirm the intended change before calling them. If the outcome of a write is unknown, check the record before retrying.

Write tools reject arguments they don't recognize instead of ignoring them; the error names the unknown arguments and lists the valid ones. A different casing of a field name, such as `customerPortalTitle` for `customer_portal_title`, is accepted, and tools with a `state` field also accept `status`. Supply each field only once: sending a field under both its name and an alias returns an error.

#### **Issues**

AI tools can send replies to customers and post internal notes for your team. A reply goes straight to the customer on the issue's channel (Slack, email, chat, etc.) and can't be unsent, so AI tools are instructed to show you the exact message and get your approval before sending it. Most AI tools also ask you to confirm each reply.

| **Tool**                       | **Read / Write** | **Description**                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------------ | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **`search_issues`**            | Read             | Search issues by keyword (titles, messages, tags, and names) and by state, account, assignee, tags, custom fields, etc. Each result lists its linked engineering tickets and their state                                                                                                                                                                                                   |
| **`get_issue`**                | Read             | Fetch a single issue by ID or number; set `include_messages=true` to include its conversation                                                                                                                                                                                                                                                                                              |
| **`get_issue_messages`**       | Read             | Fetch an issue's full message history in order, including the original To and Cc recipients of email messages and each message's attachments                                                                                                                                                                                                                                               |
| **`get_message_attachment`**   | Read             | Fetch one attachment from an issue message                                                                                                                                                                                                                                                                                                                                                 |
| **`get_issue_statuses`**       | Read             | List the default and custom issue statuses configured for your organization                                                                                                                                                                                                                                                                                                                |
| **`create_issue`**             | Write            | Create an issue in your workspace. The first message is an internal note unless you set `destination_metadata` to send it to the customer, for example as an email from a configured support address, or set `destination` to `customer_portal` for a public first message in the customer portal with no email. `customer_portal_visible` shows or hides the issue in the customer portal |
| **`update_issue`**             | Write            | Update issue fields (status, assignee, team, account, requester, priority, tags, custom fields, …); tags can be replaced or added and removed individually                                                                                                                                                                                                                                 |
| **`update_issues`**            | Write            | Apply the same status, assignee, team, or tag change to up to 100 issues in one call                                                                                                                                                                                                                                                                                                       |
| **`snooze_issue`**             | Write            | Snooze an issue until a future time. It moves to On hold and returns to Waiting on you when the snooze ends                                                                                                                                                                                                                                                                                |
| **`send_issue_reply`**         | Write            | Send a reply to the customer on an issue. For email issues, recipients follow reply-all. Email replies send from the issue's inbox: the support inbox's default sender name when one is set, or the thread's personal mailbox when you own it or have send-as access                                                                                                                       |
| **`send_issue_note`**          | Write            | Post an internal note on an issue, visible only to your team                                                                                                                                                                                                                                                                                                                               |
| **`get_issue_threads`**        | Read             | List an issue's internal threads                                                                                                                                                                                                                                                                                                                                                           |
| **`create_issue_thread`**      | Write            | Create an internal thread on an issue, optionally synced to an internal Slack channel                                                                                                                                                                                                                                                                                                      |
| **`get_issue_followers`**      | Read             | List an issue's followers                                                                                                                                                                                                                                                                                                                                                                  |
| **`update_issue_followers`**   | Write            | Add or remove teammates as followers of an issue                                                                                                                                                                                                                                                                                                                                           |
| **`link_product_issue`**       | Write            | Link a Linear, Jira, GitHub, Asana, or Shortcut ticket to an issue                                                                                                                                                                                                                                                                                                                         |
| **`unlink_product_issue`**     | Write            | Remove a linked Linear, Jira, GitHub, Asana, Shortcut, or Azure DevOps ticket from an issue. Pass the issue's `issue_id`, the ticket's `source`, and `product_issue_identifier` (the ticket's external ID, key such as `ENG-1234`, or URL)                                                                                                                                                 |
| **`add_issue_group_children`** | Write            | Add children to an issue group                                                                                                                                                                                                                                                                                                                                                             |
| **`create_issue_ai_response`** | Write            | Create an AI response for an issue                                                                                                                                                                                                                                                                                                                                                         |
| **`create_issue_group`**       | Write            | Create an issue group                                                                                                                                                                                                                                                                                                                                                                      |
| **`delete_issue`**             | Write            | Delete an existing issue                                                                                                                                                                                                                                                                                                                                                                   |
| **`delete_message`**           | Write            | Delete a message                                                                                                                                                                                                                                                                                                                                                                           |
| **`get_issue_voice_calls`**    | Read             | Get voice calls (with recordings and transcripts) for an issue                                                                                                                                                                                                                                                                                                                             |
| **`link_external_incident`**   | Write            | Link or unlink an incident to/from an issue                                                                                                                                                                                                                                                                                                                                                |
| **`mark_issues_as_spam`**      | Write            | Mark issues as spam                                                                                                                                                                                                                                                                                                                                                                        |
| **`merge_issues`**             | Write            | Merge issues                                                                                                                                                                                                                                                                                                                                                                               |
| **`redact_message`**           | Write            | Redact a message                                                                                                                                                                                                                                                                                                                                                                           |
| **`remove_issue_group_child`** | Write            | Remove a child from an issue group                                                                                                                                                                                                                                                                                                                                                         |
| **`update_message`**           | Write            | Edit a message                                                                                                                                                                                                                                                                                                                                                                             |

`search_issues` can return each issue's messages with `include_messages`. On large pages, `max_messages_per_issue` keeps only each issue's latest messages (`messages_truncated` is set when older ones were dropped), and `max_message_chars` cuts each message body to that many characters (`body_truncated` is set). Set `include_total` to also get the exact number of matching issues you can read across all pages; it costs an extra query, so use it when sizing work rather than on every page. If the query is too broad to count exactly (it may match more than 1,000 issues), or the count can't complete, `total` is left out and `warnings` includes an `include_total` entry; narrow the query or add filters to get a total.

`get_issue_messages`, and `get_issue` with `include_messages=true`, list each message's attachments with an `index`, a file name, and a download URL. Images aren't downloaded by default; set `include_images` to `true` when your AI tool needs to look at them. Images hosted in Pylon (PNG, JPEG, GIF, and WebP) are returned as image content, up to 5 images per call, 5 MB each and 10 MB in total, and images that can't be attached are noted in the response. To read a single attachment, call `get_message_attachment` with the `issue`, `message_id`, and `attachment_index` from a message read. Images come back as image content with the same limits.

For UTF-8 text attachments hosted by Pylon, `get_message_attachment` returns the text in a content block and reports the read status in `read`. Supported extensions are CSV, TSV, JSON, JSONL, NDJSON, TXT, LOG, MD, YAML, YML, XML, SQL, INI, CONF, and TOML. Files can be up to 5 MiB, with up to 64 KiB of text per response.

* `complete`: no more text remains.
* `partial`: pass `read.next_cursor` as `cursor` with the same `issue`, `message_id`, and `attachment_index` to read the next page. Access is checked on every call. If the file changes, restart without a cursor.
* `unsupported`: use the download link for other formats, external files, non-UTF-8 content, or oversized files.
* `unavailable`: the download failed. Retry or use the download link.

Tools that act on a single issue accept its ID or its number, as a string or an integer, and a leading `#` is fine. Common alternative argument names such as `issue_id`, `issue_number`, or `ticket_id` also work; if you send more than one and they point to different issues, the call fails before anything changes.

`update_issue` can also set `customer_portal_title`, the title customers see in the customer portal, and `customer_portal_visible`, which shows or hides the issue in the customer portal. Omit either to leave it unchanged. `search_issues` results include `customer_portal_title`, and `get_issue` returns `customer_portal_visible`.

`update_issue` can move an issue to another account with `account_id` and set its requester with `requester_id`, in the same call if needed. The account changes first, and the requester must be a contact in the issue's account after that change. If the issue has no account, setting `requester_id` also moves it to the contact's primary account. If the issue's current requester isn't in the new account, the account move fails unless you also pass `requester_id` with a contact in that account. Partner issues are the exception: the move keeps their partner-side requester. Neither field can be set to an empty value, so `update_issue` can't remove an issue's account or clear its requester.

`update_issues` changes only the fields you provide. Issues that don't exist or that you can't update are listed in `skipped_issues` instead of failing the call. Tags replace the issue's tags by default; set `tags_apply_mode` to `append_only` to add tags or `remove_only` to remove them. Use `update_issue` for per-issue changes such as priority or custom fields.

`update_issue` and `update_account` accept the same `tags_apply_mode` for `tags`: `replace` (the default), `append_only`, or `remove_only`. Adding or removing leaves other tags in place and is safe to retry. Setting `tags_apply_mode` requires a tag list, and omitting `tags` leaves tags unchanged.

#### **Accounts**

| **Tool**                          | **Read / Write** | **Description**                                                         |
| --------------------------------- | ---------------- | ----------------------------------------------------------------------- |
| **`search_accounts`**             | Read             | Search accounts by name, domain, external ID, tags, custom fields, etc. |
| **`get_account`**                 | Read             | Fetch a single account, including custom field values                   |
| **`create_account`**              | Write            | Create a new account                                                    |
| **`update_account`**              | Write            | Update account fields                                                   |
| **`upload_account_files`**        | Write            | Upload files (e.g. PDFs) to an account's Files tab                      |
| **`create_attachment`**           | Write            | Upload a file and get back an attachment ID and URL                     |
| **`create_account_highlight`**    | Write            | Create an account highlight                                             |
| **`create_account_relationship`** | Write            | Create an account relationship                                          |
| **`create_activity`**             | Write            | Create a new activity for an account                                    |
| **`delete_account`**              | Write            | Delete an existing account                                              |
| **`delete_account_highlight`**    | Write            | Delete an account highlight                                             |
| **`delete_account_relationship`** | Write            | Delete an account relationship                                          |
| **`get_account_files`**           | Read             | Get an account's files                                                  |
| **`get_account_relationships`**   | Read             | Get account relationships                                               |
| **`get_activities`**              | Read             | Get custom activities for an account                                    |
| **`get_activity_types`**          | Read             | Get custom activity types                                               |
| **`get_email_activities`**        | Read             | Get email activities for an account                                     |
| **`merge_accounts`**              | Write            | Merge accounts                                                          |
| **`update_account_highlight`**    | Write            | Update an account highlight                                             |
| **`update_accounts`**             | Write            | Update multiple accounts                                                |
| **`upload_account_file`**         | Write            | Upload files to an account                                              |

#### **Account Notes**

Requires Account Intelligence and permission to read or update the account.

| **Tool**                | **Read / Write** | **Description**                                                  |
| ----------------------- | ---------------- | ---------------------------------------------------------------- |
| **`get_account_notes`** | Read             | List the notes in an account's Notes block, newest first         |
| **`save_account_note`** | Write            | Create a timestamped account note or edit its title or HTML body |

Both tools work on one Notes block in an account notebook. To get its ID, hover over the Notes block in Pylon, open **Notes block actions**, and select **Copy block ID**. Pass it as `widget_id`.

Use `get_account_notes` with `account_id` and `widget_id` to list notes, up to 20 per page. When `has_next_page` is true, pass the returned `cursor` to fetch older notes. Each note includes its `id`.

Use `save_account_note` without `note_id` to create a note; `account_id`, `widget_id`, and nonempty `content_html` are required.

To edit a note, supply a nonempty `note_id` and `title` and/or `content_html`. Use `get_account_notes` to find note IDs. Omit either field to preserve it; send an empty `title` to clear the title. An empty `content_html` is rejected, and HTML is sanitized. `account_id` and `widget_id` apply only when creating. An explicitly empty `note_id` is rejected; omit it to create.

#### **Contacts, Users & Teams**

| **Tool**                              | **Read / Write** | **Description**                                                                                                                                                       |
| ------------------------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`search_contacts`**                 | Read             | Search contacts by name, email, phone, account, and more                                                                                                              |
| **`get_contact`**                     | Read             | Fetch a contact by ID                                                                                                                                                 |
| **`save_contact`**                    | Write            | Create a contact on an account, update an existing contact's name, account, or custom fields, or merge duplicate contacts                                             |
| **`search_users`**                    | Read             | Search Pylon team members by name, or look one up by exact email. A name with case-insensitive exact matches returns only those; otherwise it returns partial matches |
| **`get_user`**                        | Read             | Fetch a Pylon team member by ID                                                                                                                                       |
| **`get_me`**                          | Read             | Return the authenticated user and their organization                                                                                                                  |
| **`search_teams`**                    | Read             | Look up teams by name, or list all teams                                                                                                                              |
| **`get_team`**                        | Read             | Read a team's details, members, and subteams                                                                                                                          |
| **`save_team`**                       | Write            | Create a team, or update its name, icon, members, and subteams                                                                                                        |
| **`create_user_role`**                | Write            | Create a custom user role; requires custom roles on your plan. Experimental                                                                                           |
| **`delete_contact`**                  | Write            | Delete a contact by its ID or external ID                                                                                                                             |
| **`delete_team`**                     | Write            | Delete an existing team                                                                                                                                               |
| **`get_user_roles`**                  | Read             | Get a list of all user roles                                                                                                                                          |
| **`get_user_statuses`**               | Read             | Get all user statuses                                                                                                                                                 |
| **`send_customer_portal_invitation`** | Write            | Send a customer portal invitation                                                                                                                                     |

For `save_contact`, omit `contact_id` to create a contact; `name` and `account_id` are required, and `email` is optional. New contacts don't get customer portal access or an invite. To update, read the contact with `get_contact`, then supply a nonempty `contact_id` and only the fields to change. `email` is create-only. Contacts with customer portal access cannot be moved to another account through this tool.

To merge duplicate contacts, supply only `contact_id` and `merge_into_contact_id`; merging needs permission to delete contacts. The contact in `contact_id` is merged into the other one and then permanently deleted, and the merge can't be undone. Its issues, emails, and phone numbers move to the surviving contact. Both contacts must be on the same account, unless `contact_id` has no account, in which case it moves to the surviving contact's account. If that contact can log in to the customer portal, merge it in Pylon instead. A merge is also refused when the surviving contact can log in to the customer portal and the merged contact has an email the surviving contact doesn't; merge those in Pylon. The generic API tools can't merge contacts or change a contact's emails.

Team reads require permission to view team settings; `save_team` requires permission to edit them. Omit `team_id` to create a team with `name` and `icon`, or supply a nonempty `team_id` to update it. Read `get_team` before changing membership. Removing a teammate also deletes schedule blocks they own in that team. Team changes apply in order; if a later change fails, earlier changes remain applied.

#### **Knowledge Base**

Reading requires permission to view the knowledge base. Drafting, publishing, changing article settings and tags, and editing collections require the same edit and publish permissions as the Pylon knowledge base editor.

| **Tool**                           | **Read / Write** | **Description**                                                                                                                        |
| ---------------------------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| **`list_knowledge_bases`**         | Read             | List the knowledge bases you can read                                                                                                  |
| **`list_collections`**             | Read             | List collections in a knowledge base                                                                                                   |
| **`get_collection`**               | Read             | Fetch a collection's details and visibility settings                                                                                   |
| **`list_collection_contents`**     | Read             | List the articles and sub-collections directly inside a collection                                                                     |
| **`save_collection`**              | Write            | Create a collection, or edit an existing collection's title, description, or slug, or move it under another collection                 |
| **`search_articles`**              | Read             | Full-text search across article titles and content; returns up to 100 ranked matches per page                                          |
| **`list_articles`**                | Read             | List every article in a knowledge base, including drafts and articles in nested collections                                            |
| **`get_article`**                  | Read             | Fetch an article's content, visibility settings, and tags, by ID or by the identifier in its public URL; optionally include its images |
| **`get_related_links`**            | Read             | List the tracked websites and external sites configured for your org                                                                   |
| **`save_draft_article`**           | Write            | Create a draft article, or save new draft content for an existing article without publishing                                           |
| **`publish_article`**              | Write            | Publish an article's content                                                                                                           |
| **`update_article_settings`**      | Write            | Change an article's visibility, AI agent access, and tags                                                                              |
| **`move_article_to_collection`**   | Write            | Move an article into a different collection                                                                                            |
| **`create_route_redirect`**        | Write            | Create a new route redirect                                                                                                            |
| **`delete_article`**               | Write            | Delete an article                                                                                                                      |
| **`delete_collection`**            | Write            | Delete a collection                                                                                                                    |
| **`delete_route_redirect`**        | Write            | Delete a route redirect                                                                                                                |
| **`get_article_feedback`**         | Read             | Get article feedback                                                                                                                   |
| **`get_knowledge_base`**           | Read             | Get a knowledge base by its ID                                                                                                         |
| **`get_knowledge_base_theme`**     | Read             | Get a knowledge base theme                                                                                                             |
| **`get_route_redirects`**          | Read             | Get a list of route redirects                                                                                                          |
| **`publish_knowledge_base_theme`** | Write            | Publish a knowledge base theme                                                                                                         |
| **`request_article_review`**       | Write            | Request review on an article                                                                                                           |
| **`update_knowledge_base_theme`**  | Write            | Update a knowledge base theme draft                                                                                                    |

Use `list_articles` with `knowledge_base_id` to enumerate a whole knowledge base. It returns article metadata, not bodies; use `get_article` to read an article's content. `limit` defaults to 100, the maximum. Pass the returned `pagination.cursor` as `cursor` with the same `knowledge_base_id`, and keep going until `pagination` is absent, even if a page is short. Published articles include `last_published_at` (RFC 3339) in `list_articles` and `get_article`.

`search_articles` returns up to 100 ranked matches per page. To read more, pass `pagination.cursor` as `cursor` with the same query and filters.

`get_article` doesn't download images by default. Set `include_images` to `true` when your AI tool needs to look at an article's images, for example to check screenshots or alt text. Images hosted in Pylon are returned as image content along with each image's URL and alt text; images hosted elsewhere stay as URLs in the article text. Images in both the draft and the published version are included once, draft first. PNG, JPEG, GIF, and WebP are supported, up to 5 images per call, 5 MB each and 10 MB in total. Images that can't be attached are noted in the response.

To tag an article, pass `tag_ids` to `update_article_settings`. By default the list replaces the article's current tags, and an empty list removes every tag. To add or remove tags without touching the others, set `tags_apply_mode` to `append_only` or `remove_only`. Use `list_tags` with `object_type` set to `article` to find tag IDs, and `save_tag` to create a new article tag.

For `save_collection`, omit `collection_id` to create a collection. `title` is required, along with exactly one of `knowledge_base_id`, to create the collection at the top level of a knowledge base, or `parent_collection_id`, to nest it under another collection. New collections inherit visibility and AI agent access from where they're created.

To edit a collection, supply its `collection_id` and only the `title`, `description`, or `slug` to change; send an empty `description` to clear it. Pass `parent_collection_id` to move the collection, along with its articles and sub-collections, under another collection in the same knowledge base. Use `list_knowledge_bases` and `list_collections` to find IDs. Change a collection's visibility and AI agent access in Pylon.

#### **Feature Requests**

Requires the Feature Requests plan feature.

| **Tool**                                    | **Read / Write** | **Description**                                                                                                     |
| ------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------- |
| **`search_feature_requests`**               | Read             | Search feature requests by status and other filters                                                                 |
| **`get_feature_request`**                   | Read             | Fetch a feature request, including its evidence and the accounts that can see it in the customer portal             |
| **`get_feature_request_statuses`**          | Read             | List the feature request statuses configured for your org                                                           |
| **`save_feature_request`**                  | Write            | Create a feature request with optional initial evidence, or update its title, description, status, or custom fields |
| **`add_evidence_to_feature_request`**       | Write            | Record that a customer asked for an existing feature request, linking the issue or account                          |
| **`merge_feature_requests`**                | Write            | Merge duplicate feature requests into one; evidence and linked tickets move over and the duplicates are archived    |
| **`remove_feature_request_evidence`**       | Write            | Unlink evidence that doesn't support a feature request, such as an issue that asked for something different         |
| **`set_feature_request_portal_visibility`** | Write            | Show or hide feature requests in the customer portal for specific accounts                                          |
| **`delete_feature_request`**                | Write            | Permanently delete a feature request                                                                                |
| **`link_feature_request_external_issue`**   | Write            | Link or unlink an external issue to/from a feature request                                                          |

For `save_feature_request`, omit `feature_request_id` to create a request with a nonempty `title` and `description`. Search first; if a matching request exists, use `add_evidence_to_feature_request` instead. `issue_id`, `account_id`, and `evidence_summary` apply only when creating.

Supply a nonempty `feature_request_id` to update only the provided fields. `request_status` and `custom_fields` apply only when updating; use `get_feature_request_statuses` to find valid statuses. Results contain the new request under `created` or the updated request under `updated`.

`remove_feature_request_evidence` takes a `feature_request_id` and up to 50 evidence IDs from `get_feature_request`; every ID must belong to that request. The source issue, call, or survey response isn't deleted. Accounts left without evidence on the request can no longer see it in the customer portal.

`set_feature_request_portal_visibility` applies to every pair of the `feature_request_ids` and `account_ids` you pass, so you can share one request with many accounts or many requests with one account, up to 500 pairs per call. A request can only be shown to accounts that asked for it, meaning they have evidence on it. Changes are all or nothing: if one pair fails, none are applied. The result lists which accounts can see each request afterward.

{% hint style="danger" %}
`delete_feature_request` permanently deletes the request along with its evidence links, linked product issues, and portal visibility, and can't be undone. To combine duplicates, use `merge_feature_requests` so the evidence is kept. To retire a stale or rejected request, archive it by updating its status with `save_feature_request`. AI tools are instructed to confirm with you before deleting.
{% endhint %}

#### **Tasks & Projects**

Requires Account Intelligence.

| **Tool**                       | **Read / Write** | **Description**                                                                            |
| ------------------------------ | ---------------- | ------------------------------------------------------------------------------------------ |
| **`search_tasks`**             | Read             | Search tasks across your organization, or for one account or project                       |
| **`get_task`**                 | Read             | Fetch a task, including its subtasks and 20 most recent comments                           |
| **`get_task_statuses`**        | Read             | List the default and custom task statuses                                                  |
| **`save_task`**                | Write            | Create a task or update only the fields you provide                                        |
| **`save_task_comment`**        | Write            | Add a task comment, or replace the body of a comment you authored                          |
| **`delete_task`**              | Write            | Delete a task and its subtasks                                                             |
| **`search_projects`**          | Read             | Search or list projects by name, account, owner, and status                                |
| **`get_project`**              | Read             | Fetch a project's details and progress                                                     |
| **`save_project`**             | Write            | Create a project for an account, optionally from a template, or update an existing project |
| **`get_project_templates`**    | Read             | List project templates                                                                     |
| **`get_milestones`**           | Read             | List milestones for a project or account, or fetch one by ID                               |
| **`save_milestone`**           | Write            | Create a milestone in a project or update an existing milestone                            |
| **`delete_milestone`**         | Write            | Delete a milestone                                                                         |
| **`delete_project`**           | Write            | Delete an existing project                                                                 |
| **`delete_task_comment`**      | Write            | Delete a comment on a task                                                                 |
| **`get_milestone`**            | Read             | Get a milestone by its ID                                                                  |
| **`get_task_comments`**        | Read             | Get comments for a task                                                                    |
| **`link_task_external_issue`** | Write            | Link or unlink an external issue to/from a task                                            |
| **`link_task_issue`**          | Write            | Link or unlink a Pylon issue to/from a task                                                |
| **`search_milestones`**        | Read             | Search for milestones by a given filter                                                    |

For `save_task`, `save_project`, and `save_milestone`, omit the object's ID to create it. Supply a nonempty `task_id`, `project_id`, or `milestone_id` to update only the fields you provide; omitted fields keep their current values. An explicitly empty ID is rejected. Read the existing object before updating it.

* **Tasks:** Creating requires `title`. `parent_task_id` applies only when creating. `completed_at` applies only when updating an already completed task and cannot be cleared. On updates, send an empty string for `due_date`, `assignee_id`, or an account, project, or milestone assignment to clear it.
* **Projects:** Creating always requires `account_id`. Also provide `name`, or supply `project_template_id` to copy a template's milestones, tasks, and subtasks. `account_id`, `owner_type`, and `project_template_id` apply only when creating; `is_archived` applies only when updating. On updates, send an empty string for `start_date`, `end_date`, or `owner_id` to clear it.
* **Milestones:** Creating requires `name` and `project_id`. `project_id` and `account_id` apply only when creating. On updates, send an empty `due_date` to clear it.

Tasks and projects accept `custom_fields` when creating or updating. Use `get_custom_fields` with `object_type` set to `task` or `project` to discover field slugs and values first.

For `save_task_comment`, provide `task_id` and a `body_html` containing text. Omit `comment_id` to create, or supply a nonempty `comment_id` to edit your own comment. New comments default to `is_internal=false` and may be visible to customers; set `is_internal=true` when creating an internal comment. This setting cannot be changed when editing.

Use `get_task` to find comment IDs. Returned comment bodies are limited to 2,000 characters and marked `body_truncated=true` when shortened. Don't edit using a truncated body: saving replaces the entire comment body. Open the task in Pylon to review the full comment first.

#### **Call Recordings**

Requires Account Intelligence. Access follows the same per-recording permissions as in Pylon.

| **Tool**                     | **Read / Write** | **Description**                                                                                                 |
| ---------------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------- |
| **`search_call_recordings`** | Read             | Search call recordings by title or account name, or by what was said during the call                            |
| **`get_call_recording`**     | Read             | Fetch a recording's details, participants, summary, and full transcript, or list an account's recent recordings |
| **`create_call_recording`**  | Write            | Create a call recording                                                                                         |
| **`delete_call_recording`**  | Write            | Delete a call recording                                                                                         |
| **`update_call_recording`**  | Write            | Update a call recording                                                                                         |

#### **Surveys**

| **Tool**                         | **Read / Write** | **Description**                           |
| -------------------------------- | ---------------- | ----------------------------------------- |
| **`list_surveys`**               | Read             | List NPS, CSAT, and custom surveys        |
| **`get_survey_responses`**       | Read             | Fetch survey responses by survey or issue |
| **`get_issue_survey_responses`** | Read             | Get survey responses for an issue         |
| **`get_survey`**                 | Read             | Get a survey by its ID                    |
| **`search_surveys`**             | Read             | Search for surveys by a given filter      |

#### **Triggers**

New triggers are created disabled and placed last in their group so you can review them before turning them on.

Use `validate_trigger` before saving. `save_trigger` supports custom trigger groups and flat branches with compatible actions, delays, and conditions, including recurring schedule kickoffs. Configure default or special groups, phone/IVR triggers, nested branches, and background-agent investigations in Pylon instead. Updating a trigger replaces its editable configuration. To turn it on or off, set `disabled`; to move it, set `group_id` or `position` (its zero-based place in the group). Omit them to keep its current group, position, and enabled state. Triggers run group by group, top to bottom, in the order `list_trigger_groups` returns.

To change only which records a trigger acts on, use `update_trigger_conditions`. Pass `branch_conditions`, mapping top-level branch IDs from `get_trigger` to new filters from `build_filter`; only those branches' conditions are replaced. Kickoffs, actions, branch and step IDs, group, title, description, and enabled state are kept, so this also works on triggers in default or special groups and on triggers with background-agent actions. To add an exclusion, combine it with the branch's complete existing filter, including any OR group. Updating conditions doesn't run the trigger.

To build a recurring schedule, call `describe_trigger_kickoff` with `kickoff_type` `recurring_schedule` and the `object_type` the schedule runs on (for example `issue` or `account`). It returns the schedule fields and the actions that object supports; `get_trigger_examples` includes a weekday schedule example. Every enabled branch of a scheduled trigger needs a filter that selects which records it acts on. `build_filter` can't build meeting filters, so reuse an existing meeting filter from `get_trigger` or set it up in Pylon. To change an existing schedule, start from its `get_trigger` configuration. If a schedule uses recurrence settings that `save_trigger` can't represent, the update is rejected and the trigger is left unchanged; edit it in Pylon instead.

| **Tool**                        | **Read / Write** | **Description**                                                                                       |
| ------------------------------- | ---------------- | ----------------------------------------------------------------------------------------------------- |
| **`list_trigger_groups`**       | Read             | List trigger groups and their triggers in run order, with each trigger's enabled state                |
| **`list_triggers`**             | Read             | List triggers with their kickoffs, actions, and firing statistics                                     |
| **`get_trigger`**               | Read             | Fetch a trigger's full configuration                                                                  |
| **`describe_trigger_kickoff`**  | Read             | List the available kickoff types, or describe one kickoff's supported conditions and actions          |
| **`describe_trigger_action`**   | Read             | List the available action types, or describe one action's variables and compatible kickoffs           |
| **`get_trigger_examples`**      | Read             | Example payloads for common trigger patterns                                                          |
| **`validate_trigger`**          | Read             | Validate a `save_trigger` payload without saving it                                                   |
| **`save_trigger`**              | Write            | Create a disabled trigger, or replace an existing trigger's configuration, enabled state, or position |
| **`update_trigger_conditions`** | Write            | Replace the filters of a trigger's top-level branches, keeping everything else                        |
| **`delete_trigger`**            | Write            | Delete a trigger                                                                                      |

#### **Macros**

Discover saved macros, create or edit their message text, and delete them. Reading macro details requires permission to view macro settings; saving and deleting require permission to edit macro settings and the macro itself.

| **Tool**               | **Read / Write** | **Description**                                                                            |
| ---------------------- | ---------------- | ------------------------------------------------------------------------------------------ |
| **`list_macros`**      | Read             | List visible macro summaries and groups, with optional name search and group filtering     |
| **`get_macro`**        | Read             | Read stored HTML, text type, visibility, configured action types, and attachment summaries |
| **`save_macro`**       | Write            | Create a text-only macro or edit an existing macro's name, message text, or text type      |
| **`delete_macro`**     | Write            | Permanently delete a macro, including its actions and attachments                          |
| **`get_macro_groups`** | Read             | Get all macro groups                                                                       |

`list_macros` accepts `query`, `macro_group_id`, `limit` (default 25, maximum 100), and `cursor`. Continue with the returned cursor and the same filters when `has_next_page` is true.

To create a macro, provide `name`, `macro_group_id` from `list_macros`, and either Markdown `text` or HTML `text_html`. New macros are organization-visible and default to the `reply` text type; `note` and `email` are also supported.

To edit a macro, first call `get_macro`, then supply its `macro_id` and only the fields you want to change. Use `text_html` when editing returned HTML to preserve rich formatting and template metadata. `text` and `text_html` are mutually exclusive and both are sanitized. Explicitly empty content, or content with neither text nor a safe image after sanitization, is rejected. Omit both to preserve existing message text.

Existing actions, conditions, visibility, editor permissions, group, and attachments are preserved. Change those settings or remove files in Pylon. Attachment summaries are read-only and limited to 100 entries; check `attachment_count` and `has_more_attachments` for additional files. These tools do not execute macros, resolve template variables against an issue, or send messages.

`delete_macro` takes a `macro_id` from `list_macros`. Deleting a macro can't be undone.

#### **Filters, Fields & Tags**

These tools help an AI tool build valid filters and field values for the tools above, and manage tag definitions.

| **Tool**                                | **Read / Write** | **Description**                                                                                                      |
| --------------------------------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------- |
| **`build_filter`**                      | Read             | Build a validated filter for any object type                                                                         |
| **`get_filter_attributes`**             | Read             | Fields, operators, and reference types available when filtering an object type                                       |
| **`get_custom_fields`**                 | Read             | List custom field definitions for an object type                                                                     |
| **`get_ticket_forms`**                  | Read             | List your ticket forms, or get one, with each form's fields, required and hidden settings, and visibility conditions |
| **`list_tags`**                         | Read             | List issue, account, or knowledge base article tags, or look one up by exact value                                   |
| **`save_tag`**                          | Write            | Create a tag, or rename or recolor an existing tag                                                                   |
| **`delete_tag`**                        | Write            | Permanently delete a tag and remove it from everything it's applied to                                               |
| **`create_custom_field`**               | Write            | Create a custom field                                                                                                |
| **`create_custom_field_select_option`** | Write            | Create a custom field select option                                                                                  |
| **`delete_custom_field_select_option`** | Write            | Delete a custom field select option                                                                                  |
| **`get_custom_field`**                  | Read             | Get a custom field by its ID                                                                                         |
| **`update_custom_field`**               | Write            | Update a custom field                                                                                                |
| **`update_custom_field_select_option`** | Write            | Update a custom field select option                                                                                  |

For custom-field filters or updates, use `get_custom_fields` to discover the field definitions and valid values first. Use `get_filter_attributes` and `build_filter` for filters beyond a search tool's direct arguments. Pass the returned `filter_json` to search tools that accept it, such as `search_issues`.

Search tools use the argument names shown in their schemas. Some accept common aliases, but use the documented names for new integrations. For paginated tools, continue with the returned `cursor` while keeping your filters unchanged, and stop when `has_next_page` is false.

`search_issues`, `search_accounts`, and `search_contacts` accept an optional `fields` list to return only the top-level fields you need, plus each record's `id`; the allowed names are listed in each tool's schema. For example, `"fields": ["number", "title", "state"]` on `search_issues`. Omit `fields` to get full records; an empty list returns IDs only. Unknown or nested field names are rejected, so select `custom_fields` to get all custom fields. `fields` doesn't change which records match, and you need to send it again on each page.

Check `search_issues` response warnings before interpreting an empty result. An unmatched account, assignee, or requester name means the name lookup found no record; it does not confirm that the intended account or person has no matching issues. Follow the warning's recovery guidance and retry the search.

Saving and deleting a tag requires permission to edit issue tags, account tags, or the knowledge base, depending on the tag's `object_type` (`issue`, `account`, or `article`).

For `save_tag`, omit `tag_id` to create a tag with `object_type` and `value`, and optionally a `color`. Tag values are unique per object type and compared case-insensitively, so check `list_tags` first and reuse an existing tag. To rename or recolor a tag, supply its `tag_id`, its `object_type`, and the `value` or `color` to change. Renaming a tag changes it everywhere it's applied. To add or remove tags on a single issue, account, or knowledge base article, use `update_issue`, `update_account`, or `update_article_settings` instead.

`delete_tag` permanently deletes a tag and removes it from every issue, account, or article it's applied to. It can't be undone. If a trigger, view, dashboard, macro, or other configuration still uses the tag, the deletion is refused and the error lists what uses it. Remove the tag from those in Pylon, then try again.

#### **Audit Logs**

Requires Admin permission. Full audit log history is available on the Enterprise plan; otherwise, searches cover only the last 30 days. A search starting earlier than that limit returns an error.

| **Tool**                     | **Read / Write** | **Description**                                                                      |
| ---------------------------- | ---------------- | ------------------------------------------------------------------------------------ |
| **`list_audit_log_actions`** | Read             | Discover exact supported action names, regardless of recorded events                 |
| **`search_audit_logs`**      | Read             | Search recorded actions and changes in your organization by object, action, and time |

Each search needs `actions`, 1 to 10 exact action names from `list_audit_log_actions`, and a `happened_after` time. `happened_before` defaults to now, and a search can span at most 7 days, so search longer periods one 7-day window at a time. Both accept RFC3339 timestamps, such as `2026-10-01T00:00:00Z`. Optionally, use `object_id` to find changes to an issue or account. Resolve a ticket number to its ID with `get_issue` first. Filters combine with AND; within `actions`, an entry can match any supplied action. Actor IDs are returned, but actor filtering is not supported. Each call also needs an `intent`, a short reason for the search of up to 200 characters.

Results include `audit_logs`, the current page's `count`, and `has_next_page`. The default `limit` is 25 and the maximum is 100. Continue with the returned `cursor` and unchanged filters, passing the returned `happened_before`. Set `include_metadata` to `true` for action-specific details; metadata is omitted by default. When history is restricted, `history_limited_to_days` is `30`.

**Find action names**

Call `list_audit_log_actions` for the authoritative catalog of action names supported by audit-log search. It includes names regardless of whether matching events exist in your workspace and excludes hidden actions. It requires the same Admin permission as `search_audit_logs`.

Use optional `query` for a case-insensitive substring match on names. Results are alphabetical; `limit` defaults to 50 and has a maximum of 100. Continue with the returned `cursor` and unchanged `query` while `has_next_page` is true to read the full catalog. The `count` is the number of names on the current page.

The `actions` filter takes exact strings from this catalog or a returned entry's `action` field. Copy those values rather than guessing from a UI label: some stored action names differ from the labels shown in Pylon.

Common exact action names include:

| Change                               | Exact action name             |
| ------------------------------------ | ----------------------------- |
| One issue custom field changed       | `Issue Custom Field Updated`  |
| Multiple issue custom fields changed | `Issue Custom Fields Updated` |
| Issue assigned                       | `Success Issue Assigned`      |
| Issue closed                         | `Success Ticket Closed`       |
| Issue tags changed                   | `Issue Tags Changed`          |
| Account owner changed                | `Account Owner Changed`       |
| Account created                      | `Account Created`             |
| Macro edited                         | `Macro Updated`               |

For example, call `list_audit_log_actions` to discover custom-field action names:

```json
{
  "query": "Custom Field",
  "limit": 50
}
```

Then copy returned names into `search_audit_logs.actions`:

```json
{
  "actions": ["Issue Custom Field Updated", "Issue Custom Fields Updated"],
  "include_metadata": true,
  "limit": 25
}
```

These are examples, not a complete catalog. Use `list_audit_log_actions` for the full catalog. A listed action may have no recorded events in your workspace; search results remain subject to your history access. In `search_audit_logs`, `action_contains` searches action names only, not attributes, field values, or metadata.

Audit logs show recorded events, not a complete explanation of every automation or field change.

#### **Contact Pylon Support**

| **Tool**                    | **Read / Write** | **Description**                                                                                    |
| --------------------------- | ---------------- | -------------------------------------------------------------------------------------------------- |
| **`submit_support_ticket`** | Write            | Send a request about Pylon to Pylon's own support team                                             |
| **`report_tool_feedback`**  | Write            | Report a problem with the Pylon MCP tools, or an improvement to them, to the team that builds them |

Sign in as a human Pylon user with an email address. Before submission, your AI tool must obtain your agreement to send the request specifically to Pylon support. Use `create_issue` for tickets in your own workspace. Share only relevant approved context, and reuse the same `idempotency_key` and unchanged request details when retrying a submission to avoid duplicates.

Your AI tool can call `report_tool_feedback` on its own when a tool is confusing, fails, takes too many calls, or can't do what it needs. It sends a `category`, a one-sentence `summary`, and optional details, and gets no reply. It isn't a way to contact Pylon support; use `submit_support_ticket` for that. Feedback describes the problem, not data from your workspace.

#### AI Agents

AI agent backtesting through MCP requires AI Agents and Backtesting for your organization, plus MCP Access and the relevant agent permissions. `get_agent_issue` needs permission to view AI agents. Issue-backed cases and agent activity follow your issue visibility.

| Tool                                 | Read / Write | Description                                                                                                      |
| ------------------------------------ | ------------ | ---------------------------------------------------------------------------------------------------------------- |
| **`list_agents`**                    | Read         | Find the AI agent ID to test.                                                                                    |
| **`list_agent_variations`**          | Read         | Find customer-visible variation IDs for an agent.                                                                |
| **`list_backtest_datasets`**         | Read         | Find datasets and their case counts.                                                                             |
| **`create_backtest_dataset`**        | Write        | Create an empty dataset.                                                                                         |
| **`add_issues_to_backtest_dataset`** | Write        | Snapshot readable issues as cases (up to 100 per dataset).                                                       |
| **`run_backtest`**                   | Write        | Start asynchronous runs for one or more agent configurations.                                                    |
| **`list_backtests`**                 | Read         | Find customer backtests, their runs, and progress.                                                               |
| **`get_backtest_results`**           | Read         | Get paginated progress and results for a backtest or run.                                                        |
| **`get_backtest_case`**              | Read         | Compare every agent result for one case.                                                                         |
| **`get_playground`**                 | Read         | Inspect the full message, tool, and event timeline for a result.                                                 |
| **`get_agent_issue`**                | Read         | See an AI agent's full activity on a real issue: tool calls, runbook steps, escalations, messages, and outcomes. |
| **`update_backtest_case_feedback`**  | Write        | Rate one case result thumbs up or thumbs down, or clear its rating.                                              |

**Agent QA**

AI tools can read and edit your [Agent QA](https://docs.usepylon.com/pylon-docs/agents/support-agent/monitor-and-iterate/quality-assurance.md) metrics and rubrics, regrade issues, and compare grades. Agent QA through MCP requires AI Agents for your organization, plus MCP Access. Reading needs permission to view AI agents; saving and regrading need permission to edit AI agents.

| Tool                       | Read / Write | Description                                                                                                       |
| -------------------------- | ------------ | ----------------------------------------------------------------------------------------------------------------- |
| **`get_agent_qa_config`**  | Read         | List rubrics and metrics, with their current version IDs.                                                         |
| **`save_agent_qa_metric`** | Write        | Create a metric, or edit its name, description, pass condition, or examples.                                      |
| **`save_agent_qa_rubric`** | Write        | Create a rubric, or edit its name, description, metrics, weights, which metrics are critical, or assigned agents. |
| **`rerun_agent_qa`**       | Write        | Regrade a backtest dataset's issues, or up to 200 issues, with the current metrics and rubrics.                   |
| **`get_agent_qa_results`** | Read         | Compare each issue's latest grade with its previous grade and with the latest reviewer override.                  |

Saved edits are live: every later grade uses them, including automatic grades when issues close. Only the fields you pass change. To edit a metric or rubric, pass its current version ID from `get_agent_qa_config` as `expected_version_id`, so a concurrent edit isn't overwritten.

Critical is set per rubric. Pass `metric_criticality` to `save_agent_qa_rubric` with one value per metric, in the rubric's metric order; omit it to keep the current settings. `get_agent_qa_config` returns `critical` on each of a rubric's metrics. The `critical` field on `save_agent_qa_metric` is a legacy setting that rubrics with their own Critical settings don't use.

A rerun's grades become each issue's current grade; earlier grades and reviewer overrides stay in history. Grading runs in the background and takes a few minutes, so poll `get_agent_qa_results` with the returned `run_id` until nothing is pending. Issues where no agent did any work can't be graded.

#### **REST API**

AI tools can run operations from the [Pylon REST API](https://docs.usepylon.com/pylon-docs/developer/api) directly. Each REST API operation has its own tool: either a dedicated tool such as `update_account`, or a tool named after the operation, such as `create_ticket_form`. A tool named after an operation takes the operation's path, query, and body parameters in `arguments`. Each call runs as the authenticated user, so the operation's own permission checks apply, just as they do in the Pylon dashboard. If no tool does what you need, use the [Pylon CLI](https://docs.usepylon.com/pylon-docs/developer/api/cli) instead.

`search_api_operations`, `get_api_operation`, `call_api_read`, and `call_api_write` no longer appear in tool lists, but integrations that already call them by name keep working.

Writes apply immediately and can be visible to customers. Some updates replace a whole list, such as an account's tags, so read the current value first and send the full list. Writes have no idempotency key: if a write's outcome is unknown, read the record before retrying.

Pass `select`, a [JMESPath](https://jmespath.org) expression, to return only the fields you need, such as `data[].{id: id, name: name}`. Read responses over 200 KB return an error; narrow them with `select` or request fewer results. If a write's response is over 200 KB, the write still succeeds and returns a short note instead of the response, so don't retry it.

Each operation uses its REST API [rate limit](https://docs.usepylon.com/pylon-docs/developer/api/rate-limits). When an operation is throttled, the error says how many seconds to wait.

Some REST API operations aren't available through MCP, so they have no tool. Some operations are available only through MCP: `api.usepylon.com` rejects them, they aren't in the [API reference](https://docs.usepylon.com/pylon-docs/developer/api), and the Pylon CLI and SDKs don't support them. They're experimental and can change or be removed without notice.

#### Analytics

Requires custom analytics on your plan. Chart and dashboard visibility still applies. These tools are experimental and can change without notice.

| Tool                       | Read / Write | Description                                                                                               |
| -------------------------- | ------------ | --------------------------------------------------------------------------------------------------------- |
| **`get_analytics`**        | Read         | Read a saved chart or dashboard configuration and revision, or list accessible objects when id is omitted |
| **`get_analytics_schema`** | Read         | Discover analytics datasets, metrics, dimensions, and filters                                             |
| **`get_chart`**            | Read         | Execute a saved analytics chart and return headers and rows per query or formula                          |
| **`query_analytics`**      | Read         | Query analytics using exactly one of chart\_id or chart                                                   |
| **`save_analytics`**       | Write        | Create or replace a saved chart or dashboard                                                              |
| **`search_charts`**        | Read         | Search accessible analytics charts by name                                                                |

#### Survey configuration

Create saved CSAT and NPS surveys and manage their configuration. Creating a survey does not send it; configure delivery separately. These tools are experimental and can change without notice.

| Tool                            | Read / Write | Description                          |
| ------------------------------- | ------------ | ------------------------------------ |
| **`create_csat_survey`**        | Write        | Create a CSAT survey                 |
| **`create_nps_survey`**         | Write        | Create an NPS survey                 |
| **`get_csat_configuration`**    | Read         | Get a CSAT survey's configuration    |
| **`get_nps_configuration`**     | Read         | Get an NPS survey's configuration    |
| **`update_csat_configuration`** | Write        | Update a CSAT survey's configuration |
| **`update_nps_configuration`**  | Write        | Update an NPS survey's configuration |

#### Custom objects

Read, search, create, update, and delete custom object records, subject to your permissions.

| Tool                        | Read / Write | Description                                 |
| --------------------------- | ------------ | ------------------------------------------- |
| **`create_custom_object`**  | Write        | Create a custom object                      |
| **`delete_custom_object`**  | Write        | Delete a custom object                      |
| **`get_custom_object`**     | Read         | Get a custom object                         |
| **`get_custom_objects`**    | Read         | List custom objects                         |
| **`search_custom_objects`** | Read         | Search for custom objects by a given filter |
| **`update_custom_object`**  | Write        | Update a custom object                      |

#### Workspace settings

Read or update selected workspace settings. Each tool requires the relevant settings permissions. SAML settings are read-only. These tools are experimental and can change without notice.

`update_customer_portal_settings` can set which ticket forms customers see in the customer portal with `ticket_forms`: `default_form_ids` lists the forms shown by default, and `groups` is an ordered list of conditional form sets, each with `filters` and `form_ids`. The first matching group wins; when none matches, customers see the default forms. `get_customer_portal_settings` returns the current form sets.

| Tool                                            | Read / Write | Description                                   |
| ----------------------------------------------- | ------------ | --------------------------------------------- |
| **`get_customer_portal_settings`**              | Read         | Get the customer portal settings              |
| **`get_organization_access_settings`**          | Read         | Get the organization access settings          |
| **`get_organization_account_settings`**         | Read         | Get the organization account settings         |
| **`get_organization_contact_jwt_settings`**     | Read         | Get the contact JWT SSO settings              |
| **`get_organization_localization_settings`**    | Read         | Get the organization localization settings    |
| **`get_organization_saml_settings`**            | Read         | Get the teammate SAML SSO settings            |
| **`get_organization_settings`**                 | Read         | Get the organization settings                 |
| **`get_organization_support_settings`**         | Read         | Get the organization support settings         |
| **`get_organization_ticket_rules`**             | Read         | Get ordered organization ticket rules         |
| **`get_organization_ticket_settings`**          | Read         | Get the organization ticket settings          |
| **`get_sidebar_layout`**                        | Read         | Get a sidebar layout                          |
| **`update_customer_portal_settings`**           | Write        | Update the customer portal settings           |
| **`update_organization_access_settings`**       | Write        | Update the organization access settings       |
| **`update_organization_account_settings`**      | Write        | Update the organization account settings      |
| **`update_organization_contact_jwt_settings`**  | Write        | Update the contact JWT SSO settings           |
| **`update_organization_localization_settings`** | Write        | Update the organization localization settings |
| **`update_organization_settings`**              | Write        | Update the organization settings              |
| **`update_organization_support_settings`**      | Write        | Update the organization support settings      |
| **`update_organization_ticket_rule`**           | Write        | Update an existing organization ticket rule   |
| **`update_organization_ticket_settings`**       | Write        | Update the organization ticket settings       |
| **`update_sidebar_layout`**                     | Write        | Update a sidebar layout                       |

#### Email suppressions

Inspect suppressed email addresses or remove an address from suppression, subject to your permissions.

| Tool                           | Read / Write | Description                 |
| ------------------------------ | ------------ | --------------------------- |
| **`delete_email_suppression`** | Write        | Remove an email suppression |
| **`get_email_suppressions`**   | Read         | Get email suppressions      |

#### CRM user mappings

Read or update mappings between connected CRM users and Pylon teammates. These tools are experimental and can change without notice.

| Tool                                   | Read / Write | Description                                                |
| -------------------------------------- | ------------ | ---------------------------------------------------------- |
| **`get_integration_user_mappings`**    | Read         | List connected CRM users and their Pylon teammate mappings |
| **`update_integration_user_mappings`** | Write        | Map or unmap connected CRM users to Pylon teammates        |

#### Ticket forms

Read ticket form configuration, create a form, turn AI search on or off for a form, or submit a form. Creating and updating forms is experimental and can change without notice.

`create_ticket_form` and `update_ticket_form` take `ai_search_enabled`, which offers AI search before the form is submitted; `get_ticket_form` returns it. `update_ticket_form` changes only AI search and keeps the form's fields, delivery, and visibility rules. To choose which forms customers see in the customer portal, use `update_customer_portal_settings` with `ticket_forms`.

| Tool                     | Read / Write | Description                                |
| ------------------------ | ------------ | ------------------------------------------ |
| **`create_ticket_form`** | Write        | Create a ticket form                       |
| **`get_ticket_form`**    | Read         | Get a ticket form                          |
| **`submit_ticket_form`** | Write        | Submit a ticket form                       |
| **`update_ticket_form`** | Write        | Turn AI search on or off for a ticket form |

#### Training data

List training data sources, create sources, upload files, and delete documents, subject to your permissions.

| Tool                                    | Read / Write | Description                                 |
| --------------------------------------- | ------------ | ------------------------------------------- |
| **`create_training_data`**              | Write        | Create a training data configuration        |
| **`delete_training_data_documents`**    | Write        | Delete training data documents              |
| **`get_training_data`**                 | Read         | Get a training data configuration by its ID |
| **`list_training_data`**                | Read         | List all training data configurations       |
| **`upload_training_data_file_content`** | Write        | Upload text content as training data        |
| **`upload_training_data_files`**        | Write        | Upload files as training data               |

#### Saved views

Create, read, update, duplicate, and delete saved views for issues, accounts, contacts, opportunities, tasks, and projects. These tools are experimental and can change without notice.

| Tool                 | Read / Write | Description          |
| -------------------- | ------------ | -------------------- |
| **`create_view`**    | Write        | Create a view        |
| **`delete_view`**    | Write        | Delete a view        |
| **`duplicate_view`** | Write        | Duplicate a view     |
| **`get_view`**       | Read         | Get a view by its ID |
| **`get_views`**      | Read         | Get all views        |
| **`update_view`**    | Write        | Update a view        |

#### Webhooks

Manage webhook endpoint configurations and register inbound webhook receivers. These tools are experimental and can change without notice.

`create_inbound_webhook` registers a receiver for triggers that start from an inbound webhook. Use the returned ID as `inboundWebhookID` in the trigger's kickoff, and send JSON to the returned URL with `Authorization: Bearer <token>`. The token is shown only once, in the create response; `get_inbound_webhooks` lists each receiver's ID, name, and URL without it. Registering a receiver doesn't turn on a trigger.

| Tool                          | Read / Write | Description                          |
| ----------------------------- | ------------ | ------------------------------------ |
| **`create_inbound_webhook`**  | Write        | Register an inbound webhook receiver |
| **`create_webhook_endpoint`** | Write        | Create a webhook endpoint            |
| **`delete_webhook_endpoint`** | Write        | Delete a webhook endpoint            |
| **`get_inbound_webhooks`**    | Read         | List inbound webhook receivers       |
| **`get_webhook_endpoint`**    | Read         | Get a webhook endpoint               |
| **`get_webhook_endpoints`**   | Read         | List webhook endpoints               |
| **`update_webhook_endpoint`** | Write        | Update a webhook endpoint            |

### **Combined tools**

Some tools were combined to keep the list short for AI tools. Use the replacement names below for new integrations and migrate scripts that use old names. Old names marked *(removed)* no longer work. The others remain callable but are hidden from tool discovery.

| **Old tool**                                                                                                                                                                             | **Use instead**                                                    |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| `create_task`                                                                                                                                                                            | `save_task` without `task_id`                                      |
| `update_task`                                                                                                                                                                            | `save_task` with `task_id`                                         |
| `create_contact` *(removed)*                                                                                                                                                             | `save_contact` without `contact_id`                                |
| `update_contact`                                                                                                                                                                         | `save_contact` with `contact_id`                                   |
| `create_feature_request`, `update_feature_request` *(removed)*                                                                                                                           | `save_feature_request` without or with `feature_request_id`        |
| `create_project` *(removed)*                                                                                                                                                             | `save_project` without `project_id`                                |
| `update_project`                                                                                                                                                                         | `save_project` with `project_id`                                   |
| `create_milestone` *(removed)*                                                                                                                                                           | `save_milestone` without `milestone_id`                            |
| `update_milestone` *(removed)*                                                                                                                                                           | `save_milestone` with `milestone_id`                               |
| `create_account_note` *(removed)*                                                                                                                                                        | `save_account_note` without `note_id`                              |
| `update_account_note` *(removed)*                                                                                                                                                        | `save_account_note` with `note_id`                                 |
| `get_notebook_content` *(removed)*                                                                                                                                                       | `get_account_notes` for a Notes block                              |
| `create_trigger` *(removed)*, `update_trigger`                                                                                                                                           | `save_trigger`                                                     |
| `list_trigger_kickoffs`, `list_trigger_actions` *(removed)*                                                                                                                              | `describe_trigger_kickoff`, `describe_trigger_action` with no type |
| `get_issue_filter_attributes`, `get_account_filter_attributes`                                                                                                                           | `get_filter_attributes` with `object_type`                         |
| `get_contact_filter_attributes`, `get_task_filter_attributes`, `get_project_filter_attributes`, `get_opportunity_filter_attributes`, `get_feature_request_filter_attributes` *(removed)* | `get_filter_attributes` with `object_type`                         |
| `get_tasks`, `get_projects`                                                                                                                                                              | `search_tasks`, `search_projects`                                  |
| `create_project_from_template` *(removed)*                                                                                                                                               | `save_project` with `project_template_id` (omit `project_id`)      |
| `get_article_by_identifier` *(removed)*                                                                                                                                                  | `get_article` with `identifier`                                    |
| `create_draft_article`, `create_draft_article_version` *(removed)*                                                                                                                       | `save_draft_article`                                               |
| `list_teams`                                                                                                                                                                             | `search_teams`                                                     |
| `get_tag`                                                                                                                                                                                | `list_tags` with `value`                                           |

### Tool errors

Classified failures from native and REST-backed tools return `isError: true` and one text block containing JSON:

```json
{"error":{"code":"invalid_arguments","message":"tags_apply_mode requires tags.","fields":["tags_apply_mode","tags"],"tool":"update_account","request_id":"<request ID>"}}
```

Use `error.code` to handle a classified failure. When available, `error` also includes the tool name (`tool`), request identifier (`request_id`), API operation (`operation_id`), HTTP `status`, affected `fields`, or `retry_after_seconds`. Unclassified tool failures and SDK validation errors may still return plain text. JSON-RPC errors, including native tool throttling, use their existing format.

### **Rate limits**

Rate limits are applied per tool and per organization to keep the MCP server healthy under bursty AI traffic. Tool throttling returns a JSON-RPC error with code **`-32000`**. Its message identifies the tool and tells you how many seconds to wait before retrying. Wait for that delay before retrying the call.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.usepylon.com/pylon-docs/integrations/pylon-mcp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
