---
canonical_url: "https://docs.composio.dev/toolkits/postman_mcp"
markdown_url: "https://docs.composio.dev/toolkits/postman_mcp.md"
product: "platform"
version: null
last_updated: null
---

# Postman MCP

Manage Postman workspaces, collections, requests, environments, specs, mocks, monitors, comments and API Catalog resources through Postman's hosted MCP server.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 233
- **Triggers:** 0
- **Slug:** `POSTMAN_MCP`
- **Version:** 00000000_00

## Tools

### Add api catalog system environment associations

**Slug:** `POSTMAN_MCP_ADD_API_CATALOG_SYSTEM_ENVIRONMENT_ASSOCIATIONS`

Attaches workspace environments to a system environment. Send 1 to 25
\`workspaceEnvironmentIds\` per call, each an environment UID
(\`userId\`-\`environmentId\`). \`allowPartial=false\` rejects the whole
call if any single association is ineligible, while \`allowPartial=true\` adds the
eligible ones and skips the rest — prefer \`false\` unless you intend to accept a
partial result, and read the response to see which were skipped.
Do not use this tool to create the environments themselves; use createEnvironment
first. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `allowPartial` | boolean | No | If false, the system only adds associations when there are no status errors. If true, the system skips any ineligible associations and adds eligible associations. |
| `systemEnvironmentId` | string | Yes | The system environment's ID. |
| `workspaceEnvironmentIds` | array | Yes | A list of workspace environment unique IDs (`userId`-`environmentId`). |

### Add workspace to private network

**Slug:** `POSTMAN_MCP_ADD_WORKSPACE_TO_PRIVATE_NETWORK`

Publishes a workspace to your team's Private API Network.

WARNING: This tool is for Private API Network management, not for general workspace operations. For workspace management use: getWorkspaces, getWorkspace, createWorkspace, updateWorkspace, deleteWorkspace.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspace` | object | Yes | Information about the workspace to add to the Private API Network. |

### Approve deny access request

**Slug:** `POSTMAN_MCP_APPROVE_DENY_ACCESS_REQUEST`

Approves or denies a pending team access request. Get the request ID from
getTeamAccessRequests.
Approving grants someone access to the team and its contents, and that is an
authorization decision, not a piece of bookkeeping. Only call this when an operator has
explicitly told you which request to approve or deny — never to clear a backlog of
pending requests, and never by inferring intent from the request itself.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `action` | string ("approve" | "deny") | Yes | Whether to approve or deny the access request. |
| `teamId` | integer | Yes | The team's ID. |
| `requestId` | integer | Yes | The access request's ID. |
| `identifierType` | string | No | Use SCIM user and group IDs instead of Postman user IDs. |

### Async merge pull collection fork

**Slug:** `POSTMAN_MCP_ASYNC_MERGE_PULL_COLLECTION_FORK`

Merges a collection fork into its parent, or pulls the parent's changes into the fork,
as a background task. Direction is decided entirely by the IDs: pass the fork as
\`source\` and the parent as \`destination\` to merge, and swap them to pull. Both take
collection unique IDs (\`userId\`-\`collectionId\`), not plain collection IDs. \`strategy\`
acts on whichever collection is \`source\`, so it is only safe when merging, where
\`source\` is the fork: \`default\` leaves the fork alone, \`updateSourceWithDestination\`
also copies the parent's differences back into it, and \`deleteSource\` deletes it — the
last two require Editor access on both collections. When pulling, \`source\` is the
parent, so always use \`default\`; the other strategies would write back into or delete
the parent.
The response returns a task \`id\`; poll asyncMergePullCollectionTaskStatus with it,
because a 200 here means the task was accepted, not that the merge finished.
Prefer this tool over mergeCollectionFork and pullCollectionChanges for large
collections, since those run synchronously and can time out.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `source` | string | Yes | The source collection's unique ID. |
| `strategy` | string ("default" | "updateSourceWithDestination" | "deleteSource") | Yes | The fork's merge strategy: - `default` — Make no changes to the fork. You must have **Editor** access to the destination collection. - `updateSourceWithDestination` — Merge changes and apply any differences in the destination collection to the source. You must have **Editor** access to both the source and destination collection. - `deleteSource` — Merge the changes and delete the fork. You must have **Editor** access to both the source and destination collection.  |
| `destination` | string | Yes | The destination collection's unique ID. |

### Async merge pull collection task status

**Slug:** `POSTMAN_MCP_ASYNC_MERGE_PULL_COLLECTION_TASK_STATUS`

Gets the status of an asynchronous collection merge or pull started by
asyncMergePullCollectionFork, using the task \`id\` that call returned. Poll this until
the task reports a terminal state — do not assume the merge landed just because the
original request returned 200. Task status is kept for only 24 hours after the task
finishes; after that this returns 404, which means the record expired and not that the
merge failed.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `taskId` | string | Yes | The task's ID. |

### Create access request

**Slug:** `POSTMAN_MCP_CREATE_ACCESS_REQUEST`

Creates an access request against a team — to join it, to raise a user's role, to add
members, or to request team role access to another team.
This asks for a privilege change on someone's behalf, and if team discovery is enabled
the request is approved automatically, which means it can grant access with no human in
the loop. Only call it on an explicit request from the person the access is for.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `role` | string | Yes | The team role to request. |
| `reason` | string | Yes | The reason for the access request. |
| `teamId` | integer | Yes | The team's ID. |
| `entityList` | array | Yes | A list of the entities for which to create access requests. |
| `requestType` | string ("REQUEST_TO_ADD_MEMBERS" | "REQUEST_TO_JOIN" | "UPGRADE_ROLE") | Yes | The type of access request. |
| `identifierType` | string | No | Use SCIM user and group IDs instead of Postman user IDs. |

### Create api catalog system environment

**Slug:** `POSTMAN_MCP_CREATE_API_CATALOG_SYSTEM_ENVIRONMENT`

Creates a system environment for the team. \`name\` and \`color\` (a six-digit hex code
such as \`#00FF00\`) are both required, and the name must be unique within the team — a
duplicate returns 409. Optionally set \`label\` (lowercase alphanumerics, hyphens, and
underscores only), \`description\`, and \`isProduction\`.
Do not use this tool to create a Postman environment with variables; use
createEnvironment instead. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The system environment's name. This value must be unique within the team. |
| `color` | string | Yes | A six-digit hex color code. |
| `label` | string | No | A lowercase, terminal-friendly identifier for the system environment. Accepts only alphanumeric characters, hyphens, and underscores. |
| `description` | string | No | A description of the system environment. To remove a description, pass this value as an empty string. |
| `isProduction` | boolean | No | If true, the system environment is a production environment. |

### Create collection

**Slug:** `POSTMAN_MCP_CREATE_COLLECTION`

Creates a collection using the [Postman Collection v2.1.0 schema format](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html).

**Note:**

If you do not include the \`workspace\` query parameter, the system creates the collection in the oldest personal Internal workspace you own.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspace` | string | Yes | The workspace's ID. |
| `collection` | object | No | Information about the collection. |

### Create collection comment

**Slug:** `POSTMAN_MCP_CREATE_COLLECTION_COMMENT`

Creates a comment on a collection. To create a reply on an existing comment, include the \`threadId\` property in the request body.

**Note:**

This endpoint accepts a max of 10,000 characters.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | The contents of the comment. |
| `tags` | object | No | Information about users tagged in the `body` comment. |
| `threadId` | integer | No | The comment's thread ID. To create a reply on an existing comment, include this property. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Create collection folder

**Slug:** `POSTMAN_MCP_CREATE_COLLECTION_FOLDER`

Creates a folder in a collection. For a complete list of properties, refer to the **Folder** entry in the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html).

You can use this endpoint to to import requests and responses into a newly-created folder. To do this, include the \`requests\` field and the list of request objects in the request body. For more information, see the provided example.

**Note:**

It is recommended that you pass the \`name\` property in the request body. If you do not, the system uses a null value. As a result, this creates a folder with a blank name.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | The folder's name. It is recommended that you pass the `name` property in the request body. If you do not, the system uses a null value. As a result, this creates a folder with a blank name. |
| `folder` | string | No | The ID of a folder in which to create the folder. |
| `collectionId` | string | Yes | The collection's ID. |

### Create collection fork

**Slug:** `POSTMAN_MCP_CREATE_COLLECTION_FORK`

Creates a [fork](https://learning.postman.com/docs/collaborating-in-postman/version-control/#creating-a-fork) from an existing collection into a workspace.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `label` | string | Yes | The fork's label. |
| `workspace` | string | Yes | The workspace ID in which to create the fork. |
| `collectionId` | string | Yes | The collection's ID. |

### Create collection pull request

**Slug:** `POSTMAN_MCP_CREATE_COLLECTION_PULL_REQUEST`

Creates a pull request to merge changes from a forked collection into its parent
(destination) collection. Provide the title, description, source and destination
collection IDs, and reviewer IDs. Use this after forking a collection
(createCollectionFork) to propose the fork's changes for review rather than
hard-merging them directly.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | The title of the pull request. |
| `reviewers` | array | Yes | A list of reviewers to assign to the pull request. |
| `description` | string | No | The pull request's description. |
| `collectionId` | string | Yes | The collection's unique ID. |
| `destinationId` | string | Yes | The collection ID to merge the pull request into. |

### Create collection request

**Slug:** `POSTMAN_MCP_CREATE_COLLECTION_REQUEST`

Creates a request in a collection. For a complete list of properties, refer to the **Request** entry in the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html).

**Note:**

It is recommended that you pass the \`name\` property in the request body. If you do not, the system uses a null value. As a result, this creates a request with a blank name.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No | The request's URL. |
| `auth` | string | No | The request's authorization settings. |
| `data` | string | No | The request body's form or urlencoded data. |
| `name` | string | No | The request's name. It is recommended that you pass the `name` property in the request body. If you do not, the system uses a null value. As a result, this creates a request with a blank name. |
| `events` | array | No | The request's pre-request and test scripts. |
| `folder` | string | No | The folder ID in which to create the request. By default, the system creates the request at the collection level. |
| `method` | string ("GET" | "PUT" | "POST" | "PATCH" | "DELETE" | "COPY" | "HEAD" | "OPTIONS" | "LINK" | "UNLINK" | "PURGE" | "LOCK" | "UNLOCK" | "PROPFIND" | "VIEW") | No | The request's HTTP method. |
| `dataMode` | string ("raw" | "urlencoded" | "formdata" | "binary" | "graphql") | No | The request body's data mode. |
| `headerData` | array | No | The request's headers. |
| `dataOptions` | string | No | Additional options for the request body data. |
| `description` | string | No | The request's description. |
| `queryParams` | array | No | The request's query parameters. |
| `rawModeData` | string | No | The request body's raw mode data. |
| `collectionId` | string | Yes | The collection's ID. |
| `graphqlModeData` | string | No | The request body's GraphQL mode data. |

### Create collection response

**Slug:** `POSTMAN_MCP_CREATE_COLLECTION_RESPONSE`

Creates a request response in a collection. For a complete list of request body properties, refer to the **Response** entry in the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html).

**Note:**

It is recommended that you pass the \`name\` property in the request body. If you do not, the system uses a null value. As a result, this creates a response with a blank name.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No | The associated request's URL. |
| `mime` | string | No | The response's MIME type. |
| `name` | string | No | The response's name. It is recommended that you pass the `name` property in the request body. If you do not, the system uses a null value. As a result, this creates a response with a blank name. |
| `text` | string | No | The raw text of the response body. |
| `time` | string | No | The time taken by the request to complete, in milliseconds. |
| `method` | string ("GET" | "PUT" | "POST" | "PATCH" | "DELETE" | "COPY" | "HEAD" | "OPTIONS" | "LINK" | "UNLINK" | "PURGE" | "LOCK" | "UNLOCK" | "PROPFIND" | "VIEW") | No | The associated request's HTTP method. |
| `status` | string | No | The response's HTTP status text. |
| `cookies` | string | No | The response's cookie data. |
| `headers` | array | No | The response's headers. |
| `request` | string | Yes | The parent request's ID. |
| `dataMode` | string ("raw" | "urlencoded" | "formdata" | "binary" | "graphql") | No | The associated request body's data mode. |
| `language` | string | No | The response body's language type. |
| `dataOptions` | string | No | Additional options for the associated request body data. |
| `description` | string | No | The response's description. |
| `rawDataType` | string | No | The response's raw data type. |
| `rawModeData` | string | No | The associated request body's raw mode data. |
| `collectionId` | string | Yes | The collection's ID. |
| `responseCode` | object | No | The response's HTTP response code information. |
| `requestObject` | string | No | A JSON-stringified representation of the associated request. |

### Create component

**Slug:** `POSTMAN_MCP_CREATE_COMPONENT`

Creates a component in the team's component library and seeds its first draft with
the content you provide. Use this when a team wants a reusable schema, parameter,
response, or security scheme that specifications can reference instead of redefining.
The component starts active and unpublished: the content lands in its draft only.
Call createComponentVersion afterwards to publish it and make it referenceable.
Do not use this tool to edit an existing component's content; use updateComponentDraft
instead. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The component's name. This must be unique within the team and can only contain letters, digits, hyphens, underscores, and periods and can't exceed 60 characters. |
| `type` | string ("OAS2" | "OAS3" | "OAS3_1") | Yes | The component's type. Corresponds to the specification that the component's content adheres to. |
| `format` | string ("JSON" | "YAML") | No | The component's content format. Defaults to YAML. |
| `content` | string | Yes | The component's content, up to a maximum of 500 KB (UTF-8). |

### Create component version

**Slug:** `POSTMAN_MCP_CREATE_COMPONENT_VERSION`

Publishes the component's current draft as a new immutable version under the \`label\`
you supply, making it referenceable by the team's specifications. Labels must be
unique per component. Publishing cannot be undone and the resulting version cannot be
edited — publish another version to supersede it. Archived components cannot be
published; restore them with updateComponent first.
Do not use this tool to save work in progress; use updateComponentDraft instead.
Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `label` | string | Yes | The component version's label. This must begin and end with an alphanumeric character and may only contain letters, digits, dots, underscores, plus signs, and hyphens and cannot exceed 60 characters. |
| `source` | object | No | The source to publish the version from. Defaults to the component's current draft. |
| `componentId` | string | Yes | The component's ID. |

### Create custom function

**Slug:** `POSTMAN_MCP_CREATE_CUSTOM_FUNCTION`

Creates a custom Spectral function that rulesets can call. \`path\` must be
\`functions/<name>.js\`, where the name is at least two characters and starts with a
letter, underscore, or dollar sign; nested paths aren't supported. \`content\` is the
function's JavaScript source, up to 500 KB.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `path` | string | Yes | The custom function's path, in the form `functions/<name>.js`. Root-level paths and nested paths are not supported. The name must be at least two characters, start with a letter, underscore, or dollar sign, and contain only letters, numbers, underscores, and dollar signs. |
| `content` | string | Yes | The custom function's content, up to a maximum of 500 KB (UTF-8). |
| `description` | string | No | The custom function's description. |

### Create environment

**Slug:** `POSTMAN_MCP_CREATE_ENVIRONMENT`

Creates an environment.

**Note:**

- The request body size cannot exceed the maximum allowed size of 30MB.
- If you receive an HTTP \`411 Length Required\` error response, manually pass the \`Content-Length\` header and its value in the request header.
- If you do not include the \`workspace\` query parameter, the system creates the environment in the oldest personal Internal workspace you own.
- Only [shared variable](https://learning.postman.com/docs/use/send-requests/variables/variables/#share-variable-values) values can be modified through the Postman API. A shared variable is an environment variable with its value synced and stored in the Postman cloud, and can be accessed by your teammates in the environment's workspace.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspace` | string | Yes | The workspace's ID. |
| `environment` | object | No | Information about the environment. |

### Create folder comment

**Slug:** `POSTMAN_MCP_CREATE_FOLDER_COMMENT`

Creates a comment on a folder. To create a reply on an existing comment, include the \`threadId\` property in the request body.

**Note:**

This endpoint accepts a max of 10,000 characters.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | The contents of the comment. |
| `tags` | object | No | Information about users tagged in the `body` comment. |
| `folderId` | string | Yes | The folder's unique ID. |
| `threadId` | integer | No | The comment's thread ID. To create a reply on an existing comment, include this property. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Create governance group

**Slug:** `POSTMAN_MCP_CREATE_GOVERNANCE_GROUP`

Creates an empty custom governance group. \`name\` must be unique within the team. Add
workspaces with updateGovernanceGroupWorkspaces and apply rules with
createRulesetAssignment.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The governance group's name. Must be unique within the team. |
| `description` | string | No | The governance group's description. |

### Create mock

**Slug:** `POSTMAN_MCP_CREATE_MOCK`

Creates a mock server in a collection.

- Pass the collection UID (ownerId-collectionId), not the bare collection ID.
- If you only have a \`collectionId\`, resolve the UID first:
  1) Prefer GET \`/collections/{collectionId}\` and read \`uid\`, or
  2) Construct \`{ownerId}-{collectionId}\` using ownerId from GET \`/me\`:
    - For team-owned collections: \`ownerId = me.teamId\`
    - For personal collections: \`ownerId = me.user.id\`
- Use the \`workspace\` query to place the mock in a specific workspace. Prefer explicit workspace scoping.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mock` | object | No | Information about the mock server to create. |
| `workspace` | string | Yes | The workspace's ID. |

### Create mock server response

**Slug:** `POSTMAN_MCP_CREATE_MOCK_SERVER_RESPONSE`

Creates a server response on a mock server. Server responses simulate 5xx server-level failures (e.g. 500, 503) that are agnostic to any specific route — when active, every request to the mock returns this response.

- \`statusCode\` must be a 5xx value (500–599).
- \`body\` is a raw string — pass the response body exactly as the mock should return it (e.g. a JSON string like \`"{\"message\":\"error\"}"\` or plain text).
- \`language\` controls syntax highlighting in the Postman UI (\`json\`, \`xml\`, \`html\`, \`javascript\`, \`text\`). It does not affect the actual response Content-Type — set that via \`headers\` instead.
- \`headers\` is an array of \`{key, value}\` pairs for response headers (e.g. \`[{"key": "Content-Type", "value": "application/json"}]\`).
- You can create multiple server responses per mock, but only one can be active at a time. Creating a response does NOT automatically activate it — call \`updateMock\` with \`config.serverResponseId\` set to the new response's \`id\` to activate it.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mockId` | string | Yes | The mock's ID. |
| `serverResponse` | object | No | Information about the server response to create. |

### Create monitor

**Slug:** `POSTMAN_MCP_CREATE_MONITOR`

Creates a monitor.

**Note:**

- You cannot create monitors for collections added to an API definition.
- If you do not pass the \`workspace\` query parameter, the system creates the monitor in the oldest personal Internal workspace you own.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `monitor` | object | No | Information about the monitor. |
| `workspace` | string | Yes | The workspace's ID. |

### Create package

**Slug:** `POSTMAN_MCP_CREATE_PACKAGE`

Creates a Postman Package Library package and its initial index script.
Use this when you want to add reusable JavaScript functions, tests, or utilities
for a team to import into Postman scripts. A workspace ID is required to identify
the workspace where the package is created.
Do not use this tool to modify an existing package; use updatePackage instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The package's import name. The service stores this value in lowercase. |
| `script` | string | No | The package's initial index script content. This value may be empty. |
| `workspace` | string | Yes | The workspace's ID. |
| `description` | string | No | The package's description. This value may be empty and only supports printable ASCII characters. |

### Create request comment

**Slug:** `POSTMAN_MCP_CREATE_REQUEST_COMMENT`

The request ID must contain the team ID as a prefix, in \`teamId-requestId\` format.

For example, if you're creating a comment on collection ID \`24585957-7b2c98f7-30db-4b67-8685-0079f48a0947\` (note on the prefix), and
the collection request's ID is \`2c450b59-9bbf-729b-6ac0-f92535a7c336\`, then the \`{requestId}\` must be \`24585957-2c450b59-9bbf-729b-6ac0-f92535a7c336\`.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | The contents of the comment. |
| `tags` | object | No | Information about users tagged in the `body` comment. |
| `threadId` | integer | No | The comment's thread ID. To create a reply on an existing comment, include this property. |
| `requestId` | string | Yes | The request ID must contain the team ID as a prefix, in `teamId-requestId` format.  For example, if you're creating a comment on collection ID `24585957-7b2c98f7-30db-4b67-8685-0079f48a0947` (note on the prefix), and the collection request's ID is `2c450b59-9bbf-729b-6ac0-f92535a7c336`, then the `{requestId}` must be `24585957-2c450b59-9bbf-729b-6ac0-f92535a7c336`.  |
| `collectionId` | string | Yes | The collection's unique ID. |

### Create response comment

**Slug:** `POSTMAN_MCP_CREATE_RESPONSE_COMMENT`

Creates a comment on a response. To create a reply on an existing comment, include the \`threadId\` property in the request body.

**Note:**

This endpoint accepts a max of 10,000 characters.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | The contents of the comment. |
| `tags` | object | No | Information about users tagged in the `body` comment. |
| `threadId` | integer | No | The comment's thread ID. To create a reply on an existing comment, include this property. |
| `responseId` | string | Yes | The response's unique ID. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Create ruleset

**Slug:** `POSTMAN_MCP_CREATE_RULESET`

Creates a custom governance ruleset for the team. \`content\` is the full ruleset
definition (for the \`spectral\` engine, a Spectral ruleset document as a string, up to
500 KB). \`name\` must be unique within the team and may only contain letters, numbers,
hyphens, underscores, and periods. A new ruleset governs nothing until it is assigned
to a governance group with createRulesetAssignment. If the ruleset calls custom
functions, create them first with createCustomFunction.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The ruleset's name. Must be unique within the team and only contain letters, numbers, hyphens, underscores, and periods. |
| `engine` | string | Yes | The governance engine that runs the ruleset. |
| `format` | string ("spectral" | "workspace") | Yes | The type of resource the ruleset governs. |
| `content` | string | Yes | The ruleset's content, up to a maximum of 500 KB (UTF-8). |
| `description` | string | Yes | The ruleset's description. |

### Create ruleset assignment

**Slug:** `POSTMAN_MCP_CREATE_RULESET_ASSIGNMENT`

Assigns a ruleset to a governance group so its rules apply to every workspace in that
group. Set \`targetType\` to \`governance_group\` and \`targetId\` to the group's ID from
getAllGovernanceGroups. This is the only way to apply a ruleset; rulesets can't be
assigned to a workspace directly.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `targetId` | string | Yes | The target governance group's ID. |
| `rulesetId` | string | Yes | The ruleset's ID. |
| `targetType` | string | Yes | The assignment target type. |

### Create sdk

**Slug:** `POSTMAN_MCP_CREATE_SDK`

Starts an SDK generation job for one language from a collection or a specification.
Returns 202 with a job record — the SDK does not exist yet. Poll getSdk and wait for
\`buildStatus\` to reach \`succeeded\` before trying to download it. The request body
depends on the \`language\` you pick, so send only the properties that language accepts.
One call generates one language; call it once per language rather than expecting a
bundle. Requires a Postman Team or Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `retry` | object | No | Retry behavior baked into the generated SDK's HTTP client. A power-user option; sensible defaults apply for any field left unset. |
| `source` | object | Yes | The collection or specification that the SDK is generated from. |
| `authors` | array | No | A list of package authors written into the generated manifest. |
| `language` | string ("typescript" | "python" | "go" | "java" | "csharp" | "ruby" | "php" | "kotlin" | "rust" | "cli") | Yes | The target output language for the generated SDK. |
| `goOptions` | object | No | Go-specific SDK generation options. |
| `cliOptions` | object | No | CLI-specific SDK generation options. |
| `phpOptions` | object | No | PHP-specific SDK generation options. |
| `sdkVersion` | string | No | An optional override for the SDK version. If this isn't provided, the next version is resolved from the latest auto-pull request. |
| `javaOptions` | object | No | Java-specific SDK generation options. |
| `rubyOptions` | object | No | Ruby-specific generation options. |
| `rustOptions` | object | No | Rust-specific SDK generation options. |
| `csharpOptions` | object | No | C#-specific SDK generation options. |
| `kotlinOptions` | object | No | Kotlin-specific SDK generation options. |
| `pythonOptions` | object | No | Python-specific SDK generation options. |
| `typescriptOptions` | object | No | TypeScript-specific SDK generation options. |

### Create sdk git connection

**Slug:** `POSTMAN_MCP_CREATE_SDK_GIT_CONNECTION`

Connects a collection or specification to a Git repository for one SDK language, so
generated SDK updates can be delivered there as pull requests. The connection starts
\`active\`.
Each source and language pair supports exactly one connection — creating a second
returns 409, and the way to change an existing one is updateSdkGitConnection, not a
repeat call here. \`autoUpdatePullRequestsEnabled\` is Enterprise-only and is forced to
false on Team plans. Requires a Postman Team or Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `source` | object | Yes | The collection or specification that the SDK is generated from. |
| `language` | string ("typescript" | "python" | "go" | "java" | "csharp" | "ruby" | "php" | "kotlin" | "rust" | "cli") | Yes | The target output language for the generated SDK. |
| `targetBranch` | string | No | The branch the SDK is published to. Defaults to `main`. |
| `repositoryUrl` | string | Yes | The canonical URL of the target Git repository. |
| `autoUpdatePullRequestsEnabled` | boolean | No | If true, pull requests are opened automatically whenever the source changes or a new version of the SDK generator is released. If false, pull requests are opened automatically, but only for manually-triggered SDK regeneration. If `autoUpdatePullRequestsEnabled` isn't set, the default behavior depends on the user's Postman plan:  - **Enterprise** plan users — Defaults to the `true` value. - **Team** plan users and read only — Defaults to the `false` value.  |

### Create spec

**Slug:** `POSTMAN_MCP_CREATE_SPEC`

Creates an API specification in Postman's [Spec Hub](https://learning.postman.com/docs/design-apis/specifications/overview/). Specifications can be single or multi-file.

**Note:**
- Postman supports OpenAPI (2.0, 3.0, and 3.1), AsyncAPI (2.0 and 3.0), protobuf (2 and 3), GraphQL, and Smithy specifications.
- If the file path contains a \`/\` (forward slash) character, then a folder is created. For example, if the path is the \`components/schemas.json\` value, then a \`components\` folder is created with the \`schemas.json\` file inside.
- Multi-file specifications can only have one root file.
- Files cannot exceed a maximum of 12 MB in size.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The specification's name. |
| `type` | string ("OPENAPI:2.0" | "OPENAPI:3.0" | "OPENAPI:3.1" | "ASYNCAPI:2.0" | "ASYNCAPI:3.0" | "PROTOBUF:2" | "PROTOBUF:3" | "GRAPHQL" | "SMITHY:2.0") | Yes | The type of API specification. |
| `files` | array | Yes | A list of the specification's files and their contents. |
| `workspaceId` | string | Yes | The workspace's ID. |

### Create spec file

**Slug:** `POSTMAN_MCP_CREATE_SPEC_FILE`

Creates a file for an OpenAPI or a protobuf 2 or 3 specification.

**Note:**

- If the file path contains a \`/\` (forward slash) character, then a folder is created. For example, if the path is the \`components/schemas.json\` value, then a \`components\` folder is created with the \`schemas.json\` file inside.
- Creating a spec file assigns it the \`DEFAULT\` file type.
- Multi-file specifications can only have one root file.
- Files cannot exceed a maximum of 10 MB in size.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `path` | string | Yes | The file's path. Accepts JSON or YAML files. |
| `specId` | string | Yes | The spec's ID. |
| `content` | string | Yes | The file's stringified contents. |

### Create spec version tag

**Slug:** `POSTMAN_MCP_CREATE_SPEC_VERSION_TAG`

Tags the specification's current state as a new version snapshot under the \`name\` you
supply. Use this to mark a release or a reviewed state before making further edits.
A tag attaches to the specification's current changelog group, so tagging twice without
any intervening change conflicts with a 409 — edit the specification first to open a new
changelog group, then tag again.
Do not use this tool to save specification content; use updateSpecFile for that and tag
afterwards.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The version tag's name. |
| `specId` | string | Yes | The spec's ID. |

### Create team

**Slug:** `POSTMAN_MCP_CREATE_TEAM`

Creates a new Postman team in the organization. \`name\` accepts only alphanumeric
characters and spaces.
This creates a billable organizational unit and is not something to do speculatively —
only call it on an explicit, specific instruction to create a team, never to satisfy a
vaguer request such as organizing or setting up a workspace. Use createWorkspace for
that instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | The team's name. Accepts only alphanumeric characters and spaces. |
| `description` | string | No | The team's description. |
| `identifierType` | string | No | Use SCIM user and group IDs instead of Postman user IDs. |

### Create workspace

**Slug:** `POSTMAN_MCP_CREATE_WORKSPACE`

Creates a new [workspace](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/creating-workspaces/).

**Note:**

- This endpoint returns a 403 \`Forbidden\` response if the user does not have permission to create workspaces. [Admins and Super Admins](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#team-roles) can configure workspace permissions to restrict users and/or user groups from creating workspaces or require approvals for the creation of team workspaces.
- Private and [Partner Workspaces](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/partner-workspaces/) are available on Postman [**Team** and **Enterprise** plans](https://www.postman.com/pricing).
- There are rate limits when publishing public workspaces.
- Public team workspace names must be unique.
- The \`teamId\` property must be passed in the request body if [Postman Organizations](https://learning.postman.com/docs/administration/onboarding-checklist) is enabled.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspace` | object | No | Information about the workspace. |

### Create workspace update

**Slug:** `POSTMAN_MCP_CREATE_WORKSPACE_UPDATE`

Publishes an update in a workspace, notifying everyone watching it. Use this to announce
a breaking change, a release, or a deprecation to the workspace's consumers.
This notifies real people, so only post when explicitly asked to announce something, and
post the message you were given rather than a summary you composed. It does not change
the workspace itself — use updateWorkspace for settings.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `topic` | string | Yes | The title of the workspace update. |
| `category` | string ("improvement" | "new_feature" | "bug_fix" | "breaking_change" | "announcement") | Yes | The update's assigned category. |
| `description` | string | Yes | The content of the workspace update. |
| `workspaceId` | string | Yes | The workspace's ID. |
| `relatedResources` | array | No | A list containing the update's related elements. Related elements include links to collections, requests, folders, and saved examples in the update. |

### Delete collection

**Slug:** `POSTMAN_MCP_DELETE_COLLECTION`

Deletes a collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `collectionId` | string | Yes | The collection ID must be in the form <OWNER_ID>-<UUID> (e.g. 12345-33823532ab9e41c9b6fd12d0fd459b8b). |

### Delete collection comment

**Slug:** `POSTMAN_MCP_DELETE_COLLECTION_COMMENT`

Deletes a comment from a collection. On success, this returns an HTTP \`204 No Content\` response.

**Note:**

Deleting the first comment of a thread deletes all the comments in the thread.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `commentId` | integer | Yes | The comment's ID. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Delete collection folder

**Slug:** `POSTMAN_MCP_DELETE_COLLECTION_FOLDER`

Deletes a folder in a collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `folderId` | string | Yes | The folder's ID. |
| `collectionId` | string | Yes | The collection's ID. |

### Delete collection request

**Slug:** `POSTMAN_MCP_DELETE_COLLECTION_REQUEST`

Deletes a request in a collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `requestId` | string | Yes | The request's ID. |
| `collectionId` | string | Yes | The collection's ID. |

### Delete collection response

**Slug:** `POSTMAN_MCP_DELETE_COLLECTION_RESPONSE`

Deletes a response in a collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `responseId` | string | Yes | The response's ID. |
| `collectionId` | string | Yes | The collection's ID. |

### Delete custom function

**Slug:** `POSTMAN_MCP_DELETE_CUSTOM_FUNCTION`

Permanently deletes a custom function. A ruleset that still calls it may fail to
run that rule, so check the team's rulesets with getAllRulesets and getRuleset first.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `customFunctionId` | string | Yes | The custom function's ID. |

### Delete environment

**Slug:** `POSTMAN_MCP_DELETE_ENVIRONMENT`

Deletes an environment.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `environmentId` | string | Yes | The environment's ID. |

### Delete folder comment

**Slug:** `POSTMAN_MCP_DELETE_FOLDER_COMMENT`

Deletes a comment from a folder. On success, this returns an HTTP \`204 No Content\` response.

**Note:**

Deleting the first comment of a thread deletes all the comments in the thread.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `folderId` | string | Yes | The folder's unique ID. |
| `commentId` | integer | Yes | The comment's ID. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Delete governance group

**Slug:** `POSTMAN_MCP_DELETE_GOVERNANCE_GROUP`

Deletes a custom governance group. This also removes all of its workspace assignments
and every ruleset assignment targeting it, so those workspaces stop being governed by
the group's rulesets. The workspaces and rulesets themselves are not deleted.
Postman-managed groups (\`type: system\`) can't be deleted and return 403.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `groupId` | string | Yes | The governance group's ID. |

### Delete mock

**Slug:** `POSTMAN_MCP_DELETE_MOCK`

Deletes a mock server.
- Resource: Mock server entity. This is destructive.
- Ensure you are targeting the correct mock ID.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mockId` | string | Yes | The mock's ID. |

### Delete mock server response

**Slug:** `POSTMAN_MCP_DELETE_MOCK_SERVER_RESPONSE`

Deletes a server response from a mock server.

- If this server response is currently active (\`config.serverResponseId\` on the mock), deleting it will not automatically deactivate it. Call \`updateMock\` with \`config.serverResponseId: null\` first to deactivate.
- This action is destructive and cannot be undone.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mockId` | string | Yes | The mock's ID. |
| `serverResponseId` | string | Yes | The server response's ID. |

### Delete monitor

**Slug:** `POSTMAN_MCP_DELETE_MONITOR`

Deletes a monitor.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `monitorId` | string | Yes | The monitor's ID. |

### Delete package

**Slug:** `POSTMAN_MCP_DELETE_PACKAGE`

Deletes a package and its associated index script content.
This operation returns no content and also succeeds when the package no longer exists.
Do not use this tool to clear or replace script content while retaining the package;
use updatePackage instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `packageId` | string | Yes | The package's ID. |

### Delete request comment

**Slug:** `POSTMAN_MCP_DELETE_REQUEST_COMMENT`

Deletes a comment from a request. On success, this returns an HTTP \`204 No Content\` response.

**Note:**

Deleting the first comment of a thread deletes all the comments in the thread.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `commentId` | integer | Yes | The comment's ID. |
| `requestId` | string | Yes | The request's unique ID. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Delete response comment

**Slug:** `POSTMAN_MCP_DELETE_RESPONSE_COMMENT`

Deletes a comment from a response. On success, this returns an HTTP \`204 No Content\` response.

**Note:**

Deleting the first comment of a thread deletes all the comments in the thread.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `commentId` | integer | Yes | The comment's ID. |
| `responseId` | string | Yes | The response's unique ID. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Delete ruleset

**Slug:** `POSTMAN_MCP_DELETE_RULESET`

Permanently deletes a custom ruleset, which stops its rules from applying to every
governance group it was assigned to. To stop applying it to one group only, use
deleteRulesetAssignment instead. Postman-managed rulesets (\`type: system\`) can't be
deleted and return 403.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `rulesetId` | string | Yes | The ruleset's ID. |

### Delete ruleset assignment

**Slug:** `POSTMAN_MCP_DELETE_RULESET_ASSIGNMENT`

Unassigns a ruleset from one governance group, so its rules stop applying to that
group's workspaces. Pass \`targetType=governance_group\` and the group's ID as
\`targetId\`. The ruleset and the group both remain.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `targetId` | string | Yes | The target governance group's ID. |
| `rulesetId` | string | Yes | The ruleset's ID. |
| `targetType` | string | Yes | The assignment target type. Currently only `governance_group` is supported. |

### Delete sdk

**Slug:** `POSTMAN_MCP_DELETE_SDK`

Deletes an SDK record and the stored archive behind it. Returns 204 with no body on
success. Anyone still holding a download URL loses access to the artifact.
This cannot cancel a generation job that is still running — a job in progress has to
finish first. Only call this on an explicit instruction naming the SDK. Requires a
Postman Team or Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sdkId` | string | Yes | The SDK's ID. |

### Delete spec

**Slug:** `POSTMAN_MCP_DELETE_SPEC`

Deletes an API specification. On success, this returns an HTTP \`204 No Content\` response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `specId` | string | Yes | The spec's ID. |

### Delete spec file

**Slug:** `POSTMAN_MCP_DELETE_SPEC_FILE`

Deletes a file in an API specification. On success, this returns an HTTP \`204 No Content\` response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `specId` | string | Yes | The spec's ID. |
| `filePath` | string | Yes | The path to the file. |

### Delete workspace

**Slug:** `POSTMAN_MCP_DELETE_WORKSPACE`

Deletes an existing workspace.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspaceId` | string | Yes | The workspace's ID. |

### Delete workspace update

**Slug:** `POSTMAN_MCP_DELETE_WORKSPACE_UPDATE`

Deletes a workspace update. This removes an announcement watchers may already have seen
and cannot be undone.
Prefer patchWorkspaceUpdate to correct a mistake — deleting leaves consumers with no
record of a change they were told about. Only delete on an explicit instruction.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `updateId` | integer | Yes | The workspace update's ID. |
| `workspaceId` | string | Yes | The workspace's ID. |

### Detected secrets queries

**Slug:** `POSTMAN_MCP_DETECTED_SECRETS_QUERIES`

Searches the secrets Postman's Secret Scanner has detected across the team. Despite
being a POST this only reads — the body carries the query, and an empty body returns
everything. Filter with \`secretTypes\` (IDs from getSecretTypes), \`statuses\`
(\`ACTIVE\`, \`FALSE_POSITIVE\`, \`REVOKED\`, \`ACCEPTED_RISK\`), \`resolved\`, \`workspaceVisibilities\`,
and either \`workspaceIds\` or \`resources\` — those last two are mutually exclusive, and
sending both fails. Page with \`limit\` and \`cursor\`, and pass \`include=meta.total\` when
you need the total count.
Secret values come back obfuscated and hashed, never in full. Use
getDetectedSecretsLocations to find where a specific secret appears. Requires a Postman
Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `since` | string | No | Return only results created since the given time, in [ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format. This value cannot be later than the `until` value. To use `time-numoffset` format, you must use `%2B` URL-encoding for the `+` character. |
| `until` | string | No | Return only results created until this given time, in [ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format. This value cannot be earlier than the `since` value. To use `time-numoffset` format, you must use `%2B` URL-encoding for the `+` character. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `include` | string | No | The additional fields to be included as a part of the request: - `meta.total` — Include the total records found in the `meta` response object.  |
| `resolved` | boolean | No | If true, return secrets with a `resolved` status. |
| `statuses` | array | No | A list of the types of resolution statuses to query. |
| `resources` | array | No | A list of resources to query. If you use this query, you cannot also pass the `workspaceIds` query. |
| `secretTypes` | array | No | A list of secrets types to query. For a list of valid IDs, use the GET `/secret-types` endpoint. |
| `workspaceIds` | array | No | A list of workspaces IDs to query. If you use this query, you cannot also pass the `resources` query. |
| `workspaceVisibilities` | array | No | A list of workspace [visibility settings](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/managing-workspaces/#changing-workspace-visibility) to query. This currently supports the `team` and `public` settings. |

### Duplicate collection

**Slug:** `POSTMAN_MCP_DUPLICATE_COLLECTION`

Creates a duplicate of the given collection in another workspace.

Use the GET \`/collection-duplicate-tasks/{taskId}\` endpoint to get the duplication task's current status.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `suffix` | string | No | An optional suffix to append to the duplicated collection's name. |
| `workspace` | string | Yes | The workspace ID in which to duplicate the collection. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Fork environment

**Slug:** `POSTMAN_MCP_FORK_ENVIRONMENT`

Forks an environment into a workspace, giving that workspace an editable copy that
stays linked to the original. Requires the destination \`workspaceId\` as a query
parameter and a \`forkName\` label in the body. Use this when a team needs to change
variable values without touching a shared environment.
Do not use this tool to copy an environment into a workspace with no ongoing link;
create a new environment with createEnvironment and set its values instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `forkName` | string | Yes | The forked environment's label. |
| `workspaceId` | string | Yes | The workspace's ID. |
| `environmentId` | string | Yes | The environment's unique ID. |

### Generate collection

**Slug:** `POSTMAN_MCP_GENERATE_COLLECTION`

Creates a collection from the given API specification.
The specification must already exist or be created before it can be used to generate a collection.
The response contains a polling link to the task status.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The generated collection's name. |
| `specId` | string | Yes | The spec's ID. |
| `options` | object | Yes | The advanced creation options and their values. For more details, see Postman's [OpenAPI to Postman Collection Converter OPTIONS documentation](https://github.com/postmanlabs/openapi-to-postman/blob/develop/OPTIONS.md). These properties are case-sensitive. |
| `elementType` | string | Yes | The `collection` element type. |

### Generate spec from collection

**Slug:** `POSTMAN_MCP_GENERATE_SPEC_FROM_COLLECTION`

Generates an OpenAPI 2.0, 3.0, or 3.1 specification for the given collection. The response contains a polling link to the task status.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The API specification's name. |
| `type` | string ("OPENAPI:2.0" | "OPENAPI:3.0" | "OPENAPI:3.1") | Yes | The specification's type. |
| `format` | string ("JSON" | "YAML") | Yes | The format of the API specification. |
| `elementType` | string | Yes | The `spec` value. |
| `collectionUid` | string | Yes | The collection's unique ID. |

### Get all components

**Slug:** `POSTMAN_MCP_GET_ALL_COMPONENTS`

Lists the components in the team's component library. Use this to discover component
IDs before reading or editing a component. Narrow the results with \`type\`, \`status\`,
and \`hasVersions\`, and request extra fields with \`include\` (\`hasVersions\`,
\`latestVersion\`, \`latestVersion.content\`) or \`expand\` (\`latestVersion\`).
Do not use this tool to read a component's draft content; use getComponentDraft instead.
Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `type` | string ("OAS2" | "OAS3" | "OAS3_1") | No | Filter results by component type. |
| `expand` | string | No | A comma-separated list of fields to expand. Accepts the `latestVersion` value. |
| `status` | string ("active" | "archive") | No | Filter results by the component's status. |
| `include` | string | No | A comma-separated list of additional fields to include. Accepts the `hasVersions`, `latestVersion`, `latestVersion.content` values. |
| `hasVersions` | boolean ("true" | "false") | No | If true, return only components with published versions. |

### Get all custom functions

**Slug:** `POSTMAN_MCP_GET_ALL_CUSTOM_FUNCTIONS`

Lists the team's custom Spectral functions, which rulesets can call for checks the
built-in rule types don't cover. Returns metadata only; call getCustomFunction with
\`include=content\` to read a function's code. Page with \`limit\` (max 100) and \`cursor\`
from \`meta.nextCursor\`.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of results to return per page. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |

### Get all governance groups

**Slug:** `POSTMAN_MCP_GET_ALL_GOVERNANCE_GROUPS`

Lists the team's governance groups. A governance group is a set of workspaces that
share the same assigned rulesets. Postman-managed groups (\`type: system\`), such as the
default group covering all workspaces, are read-only. Page with \`limit\` (max 100) and
\`cursor\` from \`meta.nextCursor\`.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of results to return per page. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |

### Get all rulesets

**Slug:** `POSTMAN_MCP_GET_ALL_RULESETS`

Lists the team's governance rulesets, both team-owned (\`type: custom\`) and
Postman-managed (\`type: system\`). Returns metadata only, without rule content; call
getRuleset with \`include=content\` to read a ruleset's rules. Page with \`limit\` (max
100) and \`cursor\` from \`meta.nextCursor\`.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of results to return per page. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |

### Get all specs

**Slug:** `POSTMAN_MCP_GET_ALL_SPECS`

Gets all API specifications in a workspace.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `workspaceId` | string | Yes | The workspace's ID. |

### Get all workspace roles

**Slug:** `POSTMAN_MCP_GET_ALL_WORKSPACE_ROLES`

Lists the workspace role types available to the team, which depend on the team's plan.
Call this before updateWorkspaceRoles to learn which roles you are allowed to assign.
This returns the catalogue of possible roles, not anyone's actual assignments — use
getWorkspaceRoles for those.


### Get analytics data

**Slug:** `POSTMAN_MCP_GET_ANALYTICS_DATA`

Gets analytics data based on the specified resource, metrics, and given filters for team, internal, and public workspaces, as well as Partner Workspaces.

**Note:**

This endpoint only accepts the following resource:metric query parameter combinations:
- \`user\` — \`workspace_active_users\`, \`active_users\`
- \`workspace\` — \`elements_in_workspace\`, \`active_workspaces\`, \`api_calls\`, \`active_collections\`, \`response_status\`, \`pending_invites\`, \`needs_attention\`, \`success_rate\`, \`user_requests\`, \`collection_error_aggregate\`
- \`team\` — \`user_api_journey\`, \`workspace_distribution\`, \`internal_workspace_distribution\`, \`license_consumption\`, \`members\`, \`last_autoflex_cycle\`, \`partner_engagement_funnel\` \`members_overtime\` , \`member_invites\`, \`invites_sent\` , \`invites_accepted\`
- \`ai\` — \`top_agent_models_by_usage\`, \`activity_distribution\`, \`peak_activity\`, \`usage_leaderboard\`, \`credit_usage_by_model\`, \`messages_sent\`, \`credit_usage\`, \`agent_mode_sessions\`, \`new_vs_returning_users\`, \`agent_mode_users\`
- \`api_development\` — \`active_workspaces\`, \`entity_activity\`, \`top_entities\`
- \`api_testing\` — \`runs\`, \`functional_test_runs\`, \`performance_test_runs\`
- \`api_production\` — \`monitor_runs\`, \`flow_executions\`
- \`api_distribution\` — \`active_workspaces\`, \`pvt_network\`, \`partner\`, \`public\`
- \`api_management\` — \`workspace_activity\`

The \`view\` query parameter only accepts the following values when called with the following resource:metric pairs:
\`detailed\` or \`summary\` — \`user:active_users\`, \`workspace:active_workspaces\`, \`workspace:pending_invites\`, \`workspace:needs_attention\`, \`workspace:success_rate\`, \`team:partner_engagement_funnel\`, \`api_distribution:pvt_network\`, \`api_distribution:partner\`, \`api_distribution:public\`
- \`detailed\`, \`summary\`, or \`trends\` — \`api_development:entity_activity\`, \`api_testing:functional_test_runs\` , \`api_testing:performance_test_runs\`, \`api_production:monitor_runs\`, \`api_production:flow_executions\`
- \`summary\` or \`trend\` — \`api_development:active_workspaces\`, \`api_testing:runs\`, \`api_distribution:active_workspaces\`, \`api_management:workspace_activity\`
- \`summary\` only — \`workspace:elements_in_workspace\`, \`workspace:workspace_active_users\`, \`workspace:api_calls\`, \`workspace:response_status\`, \`team:user_api_journey\`, \`team:workspace_distribution\`, \`team:internal_workspace_distribution\`, \`team:license_consumption\`
- \`detailed\` only — \`workspace:active_collections\`, \`workspace:user_requests\`, \`api_development:top_entities\`, \`api_management:popular_workspaces\` , \`team:invites_sent\` , \`team:invites_accepted\`
- \`trend\` only — \`team:members_overtime\`, \`team:member_invites\`


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `view` | string ("detailed" | "summary" | "trend") | No | The view type for the analytics data:   - `detailed` — Return extensive information.   - `summary` — Return aggregated information.   - `trend` — Return trend information over a duration.  |
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `offset` | integer | No | The zero-based offset of the first item to return. |
| `period` | string | No | Filters results for a given period of time (as opposed to a range) for supported views. Use a YEAR-MONTH value for month filtering or YEAR-MONTH-DAY day filtering. |
| `userId` | string | No | A comma-separated list of user IDs to filter the results by. Only pass this parameter when calling the `user_requests` metric for the `workspace` resource. |
| `metrics` | string ("active_users" | "workspace_active_users" | "elements_in_workspace" | "active_workspaces" | "api_calls" | "active_collections" | "response_status" | "pending_invites" | "needs_attention" | "success_rate" | "user_requests" | "user_api_journey" | "workspace_distribution" | "internal_workspace_distribution" | "license_consumption" | "members" | "last_autoflex_cycle" | "partner_engagement_funnel" | "collection_error_aggregate" | "agent_mode_users" | "new_vs_returning_users" | "agent_mode_sessions" | "messages_sent" | "credit_usage" | "credit_usage_by_model" | "usage_leaderboard" | "peak_activity" | "activity_distribution" | "top_agent_models_by_usage" | "entity_activity" | "top_entities" | "runs" | "functional_test_runs" | "performance_test_runs" | "monitor_runs" | "flow_executions" | "pvt_network" | "partner" | "public" | "workspace_activity" | "members_overtime" | "member_invites" | "invites_sent" | "invites_accepted") | Yes | Filters the response by only the given metrics. The metric must match the given `resource` value.  For a list of metrics and their related `resource` value, call the GET `/analytics-metadata` endpoint.  |
| `duration` | string ("last_30_days" | "last_180_days" | "last_month" | "last_6_months" | "last_7_days" | "last_1_year") | No | Filters the response by the given duration. |
| `resource` | string ("user" | "team" | "workspace" | "ai" | "api_development" | "api_testing" | "api_production" | "api_distribution" | "api_management") | Yes | Returns metrics and insights for API usage, success, and workspace/team trends in Postman:  - `user` — Data related to individual user activities and engagement within Postman workspaces. - `team` — Team-level analytics, license consumption, and organizational trends. - `workspace` — Workspace-level activities, elements, and collaboration patterns. - `ai` — Analytics related to Agent Mode usage across workspaces, covering user activity, model usage, and credit consumption patterns. - `api_development` — API development activity metrics that include workspace counts, entity activity by type (collection, flow, mock, specification, sdk), and top entities. - `api_testing` — API testing metrics such as total test runs, functional test runs (Collection Runner), and performance test runs. - `api_production` — API production metrics, including monitor run activity and production flow execution activity. - `api_distribution` — API distribution metrics, such as active workspace counts across distribution channels. - `api_management` — API management metrics, such as workspace activity, active counts, trends, and top workspaces.  |
| `userType` | string ("new" | "returning") | No | Filters results by a specific user type for supported views. |
| `requestId` | string | No | A comma-separated list of unique request IDs (`userId`-`requestId`) to filter the response by. Only pass this parameter when using the `user_requests` metric. |
| `entityType` | string ("collection" | "specification" | "mock" | "flow" | "sdk-collection" | "sdk-specification") | No | The type of Postman entity to filter results by. |
| `attentionType` | string | No | A comma-separated list of issues types to filter the results by. Attention types provide details about issues users or partners are facing. Accepts the `high_non_200OK_rate_for_partner` and `no_success_on_tried_request` values. Only pass this parameter when using the `needs_attention` metric. |
| `workspaceType` | string | No | A comma-separated list of `internal`, `public`, and `partner` workspace types to filter the results by. |
| `responseStatus` | string | No | A comma-separated list of HTTP response status codes to filter the results by. Accepts values `100` through `600`. Only pass this parameter when using the `user_requests` metric. |

### Get analytics metadata

**Slug:** `POSTMAN_MCP_GET_ANALYTICS_METADATA`

Returns a catalog of analytics resources and their corresponding metrics for use with the GET /analytics endpoint. These metrics provide insights on API usage, success, workspace, and team trends in Postman.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `include` | string | No | A comma-separated list of the additional information to include in the response. Accepts the `parameters` and `response` values.  When you pass this query parameter and its values, the response provides detailed information, including parameters and response schemas for the given metrics.  |
| `metrics` | string ("active_users" | "workspace_active_users" | "elements_in_workspace" | "active_workspaces" | "api_calls" | "active_collections" | "response_status" | "pending_invites" | "needs_attention" | "success_rate" | "user_requests" | "user_api_journey" | "workspace_distribution" | "internal_workspace_distribution" | "license_consumption" | "members" | "last_autoflex_cycle" | "partner_engagement_funnel" | "collection_error_aggregate" | "agent_mode_users" | "new_vs_returning_users" | "agent_mode_sessions" | "messages_sent" | "credit_usage" | "credit_usage_by_model" | "usage_leaderboard" | "peak_activity" | "activity_distribution" | "top_agent_models_by_usage" | "entity_activity" | "top_entities" | "runs" | "functional_test_runs" | "performance_test_runs" | "monitor_runs" | "flow_executions" | "pvt_network" | "partner" | "public" | "workspace_activity" | "members_overtime" | "member_invites" | "invites_sent" | "invites_accepted") | No | A comma-separated list of metrics values to use to filter the response.  If you don't pass this query parameter, then the response returns all metadata for all available metrics.  |
| `resources` | string | No | A comma-separated list of resource types to filter the metrics by. Accepts the `user`, `workspace`, `team`, and `ai` values. |

### Get api catalog discovery service

**Slug:** `POSTMAN_MCP_GET_API_CATALOG_DISCOVERY_SERVICE`

Gets one discovered service in detail, including its endpoint list and its OpenAPI
definition as a base64-encoded string — decode that value before reading it. Use
getApiCatalogDiscoveryServices first to find the service ID.
Do not use this tool for a catalogued service's health, traffic, or ownership data;
use getApiCatalogService instead. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `serviceId` | string | Yes | The discovered service's ID. |

### Get api catalog discovery services

**Slug:** `POSTMAN_MCP_GET_API_CATALOG_DISCOVERY_SERVICES`

Lists services that Postman has detected but that are not necessarily in the API
Catalog yet. Use this to find candidates to onboard, or to check whether a service has
already been integrated. Filter with \`discoverySource\` (\`api_gateway_app\`,
\`insights_project\`, \`infra_watcher\`, \`public_api\`), \`status\` (\`discovered\`,
\`integrated\`, \`archived\`), and \`search\` on the name; page with \`limit\` (max 100) and
\`cursor\`.
Do not use this tool for services already in the catalog — those have analytics and
governance data and are read with getApiCatalogServices. Requires a Postman Enterprise
plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response, up to a maximum value of 100. Any value greater than 100 returns a 400 Bad Request response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `search` | string | No | Filter results by the given value that match a service's name. Matching is not case-sensitive. |
| `status` | string | No | A comma-separated list of statuses to filter the results by. Accepts the `discovered`, `integrated`, and `archived` values. |
| `discoverySource` | string ("api_gateway_app" | "insights_project" | "infra_watcher" | "public_api") | No | Filter results by the given discovery source type: - `api_gateway_app` — API Gateway integrations. - `insights_project` — Postman Insights. - `infra_watcher` — Cluster Watcher. - `public_api` — Services manually added using the POST `/api-catalog/discovery-services` endpoint.  |

### Get api catalog service

**Slug:** `POSTMAN_MCP_GET_API_CATALOG_SERVICE`

Gets one catalogued service's health, traffic, compliance, ownership, and dependencies
in a given system environment. Both the service ID and the required
\`systemEnvironmentId\` are needed; get them from getApiCatalogServices and
getApiCatalogSystemEnvironments. The same service reports different data per
environment, so the environment is part of the question, not an optional filter.
Do not use this tool for per-endpoint metrics; use getApiCatalogServiceEndpoints
instead. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `serviceId` | string | Yes | The service's ID. |
| `systemEnvironmentId` | string | Yes | The system environment's ID. |

### Get api catalog services

**Slug:** `POSTMAN_MCP_GET_API_CATALOG_SERVICES`

Lists the services catalogued in one system environment, with their analytics,
compliance, and governance metadata. \`systemEnvironmentId\` is required — call
getApiCatalogSystemEnvironments first to get one, and repeat this call per environment
when you need a cross-environment view. Narrow with \`name\`, \`tags\`, and
\`governanceGroupId\`; page with \`limit\` (max 100) and \`cursor\`.
Do not use this tool to find services that are not catalogued yet; use
getApiCatalogDiscoveryServices instead. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Filter results to the given the service name. This is case-insensitive. |
| `tags` | string | No | A comma-separated list of tag names to filter by. |
| `limit` | integer | No | The maximum number of rows to return in the response, up to a maximum value of 100. Any value greater than 100 returns a 400 Bad Request response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `governanceGroupId` | string | No | Filter results to only services that belong to the given governance group ID. |
| `systemEnvironmentId` | string | Yes | The system environment's ID. |

### Get api catalog service ci runs

**Slug:** `POSTMAN_MCP_GET_API_CATALOG_SERVICE_CI_RUNS`

Lists CI collection runs for a service, with summary statistics, pipeline details, and
Git metadata. Use this to tie test results back to a branch, workflow, or commit
author. \`systemEnvironmentId\` is required. Filter with \`collectionId\`,
\`environmentId\`, \`status\`, \`branch\`, \`workflowName\`, \`actor\`, \`repoName\`, and
\`repoOwner\`; order with \`sort\` in \`field:direction\` form over \`timestamp\` or
\`duration\`.
Do not use this tool for scheduled monitor runs; use getApiCatalogServiceMonitorRuns
instead. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sort` | string | No | Sort the results in field:direction order format. Accepts the `timestamp` and `duration` fields. Supports the `asc` and `desc` directions. |
| `actor` | string | No | Filter results by the given CI user that triggered the run. |
| `limit` | integer | No | The maximum number of rows to return in the response, up to a maximum value of 100. Any value greater than 100 returns a 400 Bad Request response. |
| `branch` | string | No | Filter results by the given Git branch name. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `status` | string ("passed" | "failed") | No | Filter results by run status. |
| `repoName` | string | No | Filter results by the given repository name. |
| `repoOwner` | string | No | Filter results by the given repository owner. |
| `serviceId` | string | Yes | The service's ID. |
| `collectionId` | string | No | Filter results to only the given collection ID's runs. |
| `workflowName` | string | No | Filter results by the given CI workflow name. |
| `environmentId` | string | No | Filter results to only the given environment ID runs. |
| `systemEnvironmentId` | string | Yes | The system environment's ID. |

### Get api catalog service endpoints

**Slug:** `POSTMAN_MCP_GET_API_CATALOG_SERVICE_ENDPOINTS`

Lists the endpoints Postman has observed for a service, with per-endpoint traffic and
performance metrics. Use this to find a service's slowest or most error-prone
endpoints. \`systemEnvironmentId\` is required. Filter with \`httpMethods\`, \`hosts\`,
\`responseCodes\`, and \`search\` on the path; order with \`sort\` in \`field:direction\` form
over \`count\`, \`endpoint\`, \`p95LatencyMs\`, or \`errorRate\`.
These are observed endpoints, not a specification — do not use this tool to read a
service's OpenAPI definition. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sort` | string | No | Sort the results in field:direction order format. Accepts the `count`, `endpoint`, `p95LatencyMs`, and `errorRate` fields. Supports the `asc` and `desc` directions. |
| `hosts` | string | No | A comma-separated list of hostnames to filter the results by. |
| `limit` | integer | No | The maximum number of rows to return in the response, up to a maximum value of 100. Any value greater than 100 returns a 400 Bad Request response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `search` | string | No | Filter results to the search filter given on the endpoint's path. |
| `serviceId` | string | Yes | The service's ID. |
| `httpMethods` | string | No | A.comma-separated list of HTTP methods to filter the results by. |
| `responseCodes` | string | No | A comma-separated list of HTTP status codes to filter the results by. |
| `systemEnvironmentId` | string | Yes | The system environment's ID. |

### Get api catalog service monitor runs

**Slug:** `POSTMAN_MCP_GET_API_CATALOG_SERVICE_MONITOR_RUNS`

Lists scheduled monitor runs for a service, with summary statistics per run. Use this
to check whether a service's monitors are passing and when they last ran.
\`systemEnvironmentId\` is required. Filter with \`collectionId\`, \`environmentId\`, and
\`status\`; order with \`sort\` in \`field:direction\` form over \`timestamp\`, \`duration\`, or
\`failedAssertions\`.
Do not use this tool for CI-triggered runs; those are separate and read with
getApiCatalogServiceCiRuns. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sort` | string | No | Sort the results in field:direction order format. Accepts the `timestamp`, `duration`, and `failedAssertions` fields. Supports the `asc` and `desc` directions. |
| `limit` | integer | No | The maximum number of rows to return in the response, up to a maximum value of 100. Any value greater than 100 returns a 400 Bad Request response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `status` | string ("passed" | "failed") | No | Filter results by run status. |
| `serviceId` | string | Yes | The service's ID. |
| `collectionId` | string | No | Filter results to only the given collection ID's runs. |
| `environmentId` | string | No | Filter results to only the given environment ID runs. |
| `systemEnvironmentId` | string | Yes | The system environment's ID. |

### Get api catalog service specification lints

**Slug:** `POSTMAN_MCP_GET_API_CATALOG_SERVICE_SPECIFICATION_LINTS`

Lists specification lint runs for a service, with per-severity issue counts. Use this
to see whether a service's specifications pass governance rules and which severities
are failing. Unlike the other service reads, this one takes no \`systemEnvironmentId\`;
scope it with \`specId\` instead. \`severity\` is a threshold — higher severities are
always included. Order with \`sort\` in \`field:direction\` form over \`timestamp\` or
\`errorCount\`.
Do not use this tool to lint a specification on demand; it only reports runs that have
already happened. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sort` | string | No | Sort the results in field:direction order format. Accepts the `timestamp` and `errorCount` fields. Supports the `asc` and `desc` directions. |
| `limit` | integer | No | The maximum number of rows to return in the response, up to a maximum value of 100. Any value greater than 100 returns a 400 Bad Request response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `specId` | string | No | Filter results to the given API specification ID. |
| `status` | string ("passed" | "failed") | No | Filter results to the given spec lint outcome. |
| `severity` | string ("info" | "warning" | "error") | No | Filter results to runs with issues at or above the given severity threshold. Higher severities are always included. |
| `serviceId` | string | Yes | The service's ID. |

### Get api catalog system environment

**Slug:** `POSTMAN_MCP_GET_API_CATALOG_SYSTEM_ENVIRONMENT`

Gets one system environment by ID. Use getApiCatalogSystemEnvironments when you need
to discover the ID.
Do not use this tool to list the services in that environment; use
getApiCatalogServices with this environment's ID instead. Requires a Postman
Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `systemEnvironmentId` | string | Yes | The system environment's ID. |

### Get api catalog system environments

**Slug:** `POSTMAN_MCP_GET_API_CATALOG_SYSTEM_ENVIRONMENTS`

Lists the team's system environments — the deployment stages (for example staging,
production) that every service-scoped API Catalog read is keyed by. Call this first
whenever you need a \`systemEnvironmentId\` for getApiCatalogServices,
getApiCatalogService, getApiCatalogServiceEndpoints, getApiCatalogServiceMonitorRuns,
or getApiCatalogServiceCiRuns. Pass \`isProduction=true\` to return only production
environments; page with \`limit\` (max 100) and \`cursor\`.
These are not Postman environments holding variables — do not confuse them with
getEnvironments. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response, up to a maximum value of 100. Any value greater than 100 returns a 400 Bad Request response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `isProduction` | boolean | No | If true, filters the response results to return only system environments marked as production. |

### Get api catalog system environment associations

**Slug:** `POSTMAN_MCP_GET_API_CATALOG_SYSTEM_ENVIRONMENT_ASSOCIATIONS`

Lists the workspace environments attached to a system environment. Use this to see
which Postman environments feed a deployment stage before adding or removing any.
Narrow to one workspace with \`workspaceId\`; page with \`limit\` (max 100) and \`cursor\`.
Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response, up to a maximum value of 100. Any value greater than 100 returns a 400 Bad Request response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `workspaceId` | string | No | The workspace's ID to which the environments in the association belong to. |
| `systemEnvironmentId` | string | Yes | The system environment's ID. |

### Get api discovery instructions

**Slug:** `POSTMAN_MCP_GET_API_DISCOVERY_INSTRUCTIONS`

Returns Postman's markdown guide to finding APIs in Postman: searching the public network, browsing team collections and comparing candidate APIs.

### Get async spec task status

**Slug:** `POSTMAN_MCP_GET_ASYNC_SPEC_TASK_STATUS`

Gets the status of an asynchronous API specification creation task.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `taskId` | string | Yes | The task's ID. |
| `elementId` | string | Yes | The element's ID. |
| `elementType` | string ("collections" | "specs") | Yes | The element to filter results by. |

### Get audit logs

**Slug:** `POSTMAN_MCP_GET_AUDIT_LOGS`

Gets the team's audit events — who did what and when across the Postman team. Use this
to answer questions about account changes, membership changes, and administrative
activity. Narrow with \`userId\`, \`action\`, and a \`since\`/\`until\` window in \`YYYY-MM-DD\`
format; page with \`limit\` and \`cursor\`, and order with \`orderBy\` (\`asc\` or \`desc\`).
Get valid \`action\` values from getAuditLogEventActions rather than guessing them — an
invalid action silently returns nothing useful. Prefer \`orderBy\` over the deprecated
\`order_by\` parameter. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of audit events to return at once. |
| `since` | string | No | Return logs created after the given time, in `YYYY-MM-DD` format. |
| `until` | string | No | Return logs created before the given time, in `YYYY-MM-DD` format. |
| `action` | string | No | Filter results by an audit log action. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `userId` | integer | No | Return only results that match the given user ID. |
| `orderBy` | string ("asc" | "desc") | No | Return the records in ascending (`asc`) or descending (`desc`) order. |
| `order_by` | string ("asc" | "desc") | No | Return the records in ascending (`asc`) or descending (`desc`) order. |

### Get audit log event actions

**Slug:** `POSTMAN_MCP_GET_AUDIT_LOG_EVENT_ACTIONS`

Lists every audit log event action Postman can record. This is the vocabulary the
\`action\` filter on getAuditLogs expects, so call it first when you need to narrow an
audit query to one kind of event.
This returns the set of possible actions, not any events that happened. Requires a
Postman Enterprise plan.


### Get authenticated user

**Slug:** `POSTMAN_MCP_GET_AUTHENTICATED_USER`

Gets information about the authenticated user.
- This endpoint provides “current user” context (\`user.id\`, \`username\`, \`teamId\`, roles).
- When a user asks for “my …” (e.g., “my workspaces, my information, etc.”), call this first to resolve the user ID.


### Get code generation instructions

**Slug:** `POSTMAN_MCP_GET_CODE_GENERATION_INSTRUCTIONS`

Returns Postman's markdown guide to discovering APIs, exploring collections and generating client code from Postman.

### Get collection

**Slug:** `POSTMAN_MCP_GET_COLLECTION`

Get information about a collection. By default this tool returns the lightweight collection map (metadata + recursive itemRefs).
Use the model parameter to opt in to Postman's full API responses:
- model=minimal — root-level folder/request IDs only
- model=full — full Postman collection payload.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `model` | string ("minimal" | "full") | No | Optional response shape override. Omit to receive the lightweight collection map. Set to `minimal` for the Postman minimal model or `full` for the complete collection payload. |
| `access_key` | string | No | A collection's read-only access key. Using this query parameter does not require an API key to call the endpoint. |
| `collectionId` | string | Yes | The collection ID must be in the form <OWNER_ID>-<UUID> (e.g. 12345-33823532ab9e41c9b6fd12d0fd459b8b). |

### Get collections

**Slug:** `POSTMAN_MCP_GET_COLLECTIONS`

The workspace ID query is required for this endpoint. If not provided, the LLM should ask the user to provide it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Filter results by collections whose name exactly matches the given value. Partial or substring matches are not supported. |
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `offset` | integer | No | The zero-based offset of the first item to return. |
| `workspace` | string | Yes | The workspace's ID. |

### Get collections forked by user

**Slug:** `POSTMAN_MCP_GET_COLLECTIONS_FORKED_BY_USER`

Gets a list of all the authenticated user's forked collections.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `direction` | string ("asc" | "desc") | No | Sort the results by creation date in ascending (`asc`) or descending (`desc`) order. |

### Get collection comments

**Slug:** `POSTMAN_MCP_GET_COLLECTION_COMMENTS`

Gets all comments left by users in a collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `collectionId` | string | Yes | The collection's unique ID. |

### Get collection folder

**Slug:** `POSTMAN_MCP_GET_COLLECTION_FOLDER`

Gets information about a folder in a collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ids` | boolean | No | If true, returns only properties that contain ID values in the response. |
| `uid` | boolean | No | If true, returns all IDs in UID format (`userId`-`id`). |
| `folderId` | string | Yes | The folder's ID. |
| `populate` | boolean | No | If true, returns all of the collection item's contents. |
| `collectionId` | string | Yes | The collection's ID. |

### Get collection forks

**Slug:** `POSTMAN_MCP_GET_COLLECTION_FORKS`

Gets a collection's forked collections. The response returns data for each fork, such as the fork's ID, the user who forked it, and the fork's creation date.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `direction` | string ("asc" | "desc") | No | Sort the results by creation date in ascending (`asc`) or descending (`desc`) order. |
| `collectionId` | string | Yes | The collection's ID. |

### Get collection pull requests

**Slug:** `POSTMAN_MCP_GET_COLLECTION_PULL_REQUESTS`

Lists the pull requests opened against a collection. Returns each pull request's
ID, title, status, and the source and destination collection details.
Use this to discover open pull requests on a collection before reviewing or merging one.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `collectionId` | string | Yes | The collection's unique ID. |

### Get collection request

**Slug:** `POSTMAN_MCP_GET_COLLECTION_REQUEST`

Gets information about a request in a collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ids` | boolean | No | If true, returns only properties that contain ID values in the response. |
| `uid` | boolean | No | If true, returns all IDs in UID format (`userId`-`id`). |
| `populate` | boolean | No | If true, returns all of the collection item's contents. |
| `requestId` | string | Yes | The request's ID. |
| `collectionId` | string | Yes | The collection's ID. |

### Get collection response

**Slug:** `POSTMAN_MCP_GET_COLLECTION_RESPONSE`

Gets information about a response in a collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ids` | boolean | No | If true, returns only properties that contain ID values in the response. |
| `uid` | boolean | No | If true, returns all IDs in UID format (`userId`-`id`). |
| `populate` | boolean | No | If true, returns all of the collection item's contents. |
| `responseId` | string | Yes | The response's ID. |
| `collectionId` | string | Yes | The collection's ID. |

### Get collection roles

**Slug:** `POSTMAN_MCP_GET_COLLECTION_ROLES`

Gets who can view or edit a collection, as the IDs of the users, groups, and teams
holding each role. Use this to audit access before changing it. The response returns
numeric IDs rather than names — resolve user IDs with getTeamUsers, group IDs with
getGroups, and team IDs with getTeams or getTeam when you need to report on them.
Do not use this tool to read workspace-level access; a collection can be reachable
through its workspace without appearing here.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `collectionId` | string | Yes | The collection's ID. |

### Get collection tags

**Slug:** `POSTMAN_MCP_GET_COLLECTION_TAGS`

Gets all the tags associated with a collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `collectionId` | string | Yes | The collection's unique ID. |

### Get collection updates tasks

**Slug:** `POSTMAN_MCP_GET_COLLECTION_UPDATES_TASKS`

Gets the status of an asynchronous collection update task.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `taskId` | string | Yes | The task's ID. |

### Get component

**Slug:** `POSTMAN_MCP_GET_COMPONENT`

Gets a single component's metadata by ID. Use \`include\` (\`hasVersions\`,
\`latestVersion\`, \`latestVersion.content\`) or \`expand\` (\`latestVersion\`) when you also
need the most recently published version. Use getAllComponents first when you need to
discover a component ID.
Do not use this tool to read unpublished edits; use getComponentDraft instead.
Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `expand` | string | No | A comma-separated list of fields to expand. Accepts the `latestVersion` value. |
| `include` | string | No | A comma-separated list of additional fields to include. Accepts the `hasVersions`, `latestVersion`, `latestVersion.content` values. |
| `componentId` | string | Yes | The component's ID. |

### Get component draft

**Slug:** `POSTMAN_MCP_GET_COMPONENT_DRAFT`

Gets a component's working draft — its latest unpublished content and format. The
draft is where edits live before they are published, so it may differ from the most
recently published version. Use this to read pending changes before publishing.
Do not use this tool to read published content; use getComponentVersion instead.
Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `componentId` | string | Yes | The component's ID. |

### Get component version

**Slug:** `POSTMAN_MCP_GET_COMPONENT_VERSION`

Gets a single published version of a component by version ID. Pass \`include=content\`
to return the published content itself. Use getComponentVersions first when you need
to discover a version ID.
Do not use this tool to read the working draft; use getComponentDraft instead.
Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `include` | string | No | A comma-separated list of additional fields to include. Accepts the `content` value. |
| `versionId` | string | Yes | The component version's ID. |
| `componentId` | string | Yes | The component's ID. |

### Get component versions

**Slug:** `POSTMAN_MCP_GET_COMPONENT_VERSIONS`

Lists a component's published versions. Use this to discover version IDs and labels,
or to check whether pending draft edits have been published yet. Pass
\`include=content\` when you also need each version's content.
Do not use this tool to read unpublished edits; use getComponentDraft instead.
Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `include` | string | No | A comma-separated list of additional fields to include. Accepts the `content` value. |
| `componentId` | string | Yes | The component's ID. |

### Get context graph ask

**Slug:** `POSTMAN_MCP_GET_CONTEXT_GRAPH_ASK`

Gets a submitted Context Graph ask's status and, once it finishes, its result. Call
this after submitContextGraphAsk with the \`askId\` it returned, and poll while
\`status\` is \`pending\` or \`running\` — leave a few seconds between polls rather than
calling in a tight loop.
\`result\` is only present once \`status\` is \`completed\`; a \`failed\` ask carries a short
\`error\` instead. When reporting a completed ask, treat \`result.answer\` as the prose
summary and \`result.structured\`, \`result.citations\`, and \`result.provenance\` as the
graph data it rests on — cite that evidence rather than presenting the answer on its
own, and say so when \`result.provenance.truncated\` is \`true\`, since the investigation
was cut off before it finished and the answer may be partial.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `askId` | string | Yes | The ask's ID. |

### Get custom function

**Slug:** `POSTMAN_MCP_GET_CUSTOM_FUNCTION`

Gets a custom function's metadata by ID. Pass \`include=content\` to also return its
JavaScript source, which is required before editing it with updateCustomFunction.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `include` | string | No | The related fields to include in the response. Currently only `content` is supported. Omit this parameter to receive only the resource's metadata. |
| `customFunctionId` | string | Yes | The custom function's ID. |

### Get detected secrets locations

**Slug:** `POSTMAN_MCP_GET_DETECTED_SECRETS_LOCATIONS`

Lists where one detected secret appears — the workspaces and resources holding it. Use
this after detectedSecretsQueries to turn a secret ID into the concrete places a person
has to go and fix. Requires a \`workspaceId\`, and can be narrowed further with
\`resourceType\` and a \`since\`/\`until\` window.
Do not use this tool to search for secrets across the team; use detectedSecretsQueries
instead. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `since` | string | No | Return only results created since the given time, in [ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format. This value cannot be later than the `until` value. To use `time-numoffset` format, you must use `%2B` URL-encoding for the `+` character. |
| `until` | string | No | Return only results created until this given time, in [ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format. This value cannot be earlier than the `since` value. To use `time-numoffset` format, you must use `%2B` URL-encoding for the `+` character. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `secretId` | string | Yes | The secret's ID. |
| `workspaceId` | string | Yes | The workspace's ID. |
| `resourceType` | string ("collection" | "environment" | "extensible-collection" | "globals" | "example" | "request" | "folder" | "extensible-collection-meta" | "extensible-request" | "extensible-folder" | "extensible-example" | "extensible-message") | No | Return only results that match the given resource type. |

### Get duplicate collection task status

**Slug:** `POSTMAN_MCP_GET_DUPLICATE_COLLECTION_TASK_STATUS`

Gets the status of a collection duplication task.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `taskId` | string | Yes | The task's unique ID. |

### Get enabled tools

**Slug:** `POSTMAN_MCP_GET_ENABLED_TOOLS`

IMPORTANT: Run this tool first when a requested tool is unavailable. Returns information about which tools are enabled in the full and minimal tool sets, helping you identify available alternatives.

### Get environment

**Slug:** `POSTMAN_MCP_GET_ENVIRONMENT`

Gets information about an environment.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `environmentId` | string | Yes | The environment's ID. |

### Get environments

**Slug:** `POSTMAN_MCP_GET_ENVIRONMENTS`

Gets information about all of your [environments](https://learning.postman.com/docs/sending-requests/managing-environments/).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspace` | string | No | The workspace's ID. |

### Get environment forks

**Slug:** `POSTMAN_MCP_GET_ENVIRONMENT_FORKS`

Lists the forks of an environment. Use this to find fork IDs before merging or pulling,
or to see who has diverged from a shared environment. Page with \`limit\` and \`cursor\`,
and order with \`sort\` and \`direction\`.
This returns forks of one environment, not every environment in a workspace — use
getEnvironments for that.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sort` | string | No | Sort the results by the date and time of creation. |
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `direction` | string ("asc" | "desc") | No | Sort results in ascending (`asc`) or descending (`desc`) order. |
| `environmentId` | string | Yes | The environment's unique ID. |

### Get folder comments

**Slug:** `POSTMAN_MCP_GET_FOLDER_COMMENTS`

Gets all comments left by users in a folder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `folderId` | string | Yes | The folder's unique ID. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Get generated collection specs

**Slug:** `POSTMAN_MCP_GET_GENERATED_COLLECTION_SPECS`

Gets the API specification generated for the given collection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `elementType` | string | Yes | The `spec` value. |
| `collectionUid` | string | Yes | The collection's unique ID. |

### Get governance group assignments

**Slug:** `POSTMAN_MCP_GET_GOVERNANCE_GROUP_ASSIGNMENTS`

Lists the rulesets assigned to a governance group. Each assignment's \`rulesetId\` can be
passed to getRuleset. To go the other way, from a ruleset to its groups, use
getRulesetAssignments.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `groupId` | string | Yes | The governance group's ID. |

### Get governance group workspaces

**Slug:** `POSTMAN_MCP_GET_GOVERNANCE_GROUP_WORKSPACES`

Lists the IDs of the workspaces assigned to a custom governance group. Page with
\`limit\` (max 100) and \`cursor\` from \`meta.nextCursor\`. Postman-managed groups
(\`type: system\`) return 403.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of results to return per page. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `groupId` | string | Yes | The governance group's ID. |

### Get group

**Slug:** `POSTMAN_MCP_GET_GROUP`

Gets one Postman user group by ID. Use this when you already hold a group ID — from a
collection or workspace role assignment — and need that group's details; use getGroups
when you need to list or search.
This is a Postman user group, not a SCIM group and not a team.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `groupId` | integer | Yes | The group's ID. |

### Get groups

**Slug:** `POSTMAN_MCP_GET_GROUPS`

Lists the team's Postman user groups — named sets of team members used to grant access
collectively. Use this to resolve the group IDs that appear in collection and workspace
role responses, or to get a \`groupId\` for the filter on getTeamUsers.
These are Postman user groups, not SCIM groups and not teams. Use getTeamUsers for
individual members.


### Get installed api maintenance instructions

**Slug:** `POSTMAN_MCP_GET_INSTALLED_API_MAINTENANCE_INSTRUCTIONS`

Returns Postman's markdown guide to maintaining API requests already installed in a project, including checking them against their Postman sources.

### Get mock

**Slug:** `POSTMAN_MCP_GET_MOCK`

Gets information about a mock server.
- Resource: Mock server entity. Response includes the associated \`collection\` UID and \`mockUrl\`.
- Use the \`collection\` UID to navigate back to the source collection.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mockId` | string | Yes | The mock's ID. |

### Get mocks

**Slug:** `POSTMAN_MCP_GET_MOCKS`

Gets all active mock servers. By default, returns only mock servers you created across all workspaces.

- Always pass either the \`workspace\` or \`teamId\` query to scope results. Prefer \`workspace\` when known.
- If you need team-scoped results, set \`teamId\` from the current user: call GET \`/me\` and use \`me.teamId\`.
- If both \`teamId\` and \`workspace\` are passed, only \`workspace\` is used.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `teamId` | string | No | Return only results that belong to the given team ID. - For team-scoped requests, set this from GET `/me` (`me.teamId`).  |
| `workspace` | string | No | Return only results found in the given workspace ID. - Prefer this parameter when the user mentions a specific workspace.  |

### Get mock server response

**Slug:** `POSTMAN_MCP_GET_MOCK_SERVER_RESPONSE`

Gets the full details of a specific server response, including its \`body\`, \`headers\`, and \`language\`.

- Use \`getMockServerResponses\` first to list available server response IDs.
- To check which response is active, call \`getMock\` and read \`config.serverResponseId\`.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mockId` | string | Yes | The mock's ID. |
| `serverResponseId` | string | Yes | The server response's ID. |

### Get mock server responses

**Slug:** `POSTMAN_MCP_GET_MOCK_SERVER_RESPONSES`

Gets all server responses configured for a mock server.

- Server responses simulate 5xx server-level failures (e.g. 500, 503) independently of any specific route or example.
- This endpoint returns summary metadata only (id, name, statusCode, timestamps). To get the full body and headers of a specific response, call \`getMockServerResponse\` with the response's \`id\`.
- To see which server response is currently active, call \`getMock\` and check \`config.serverResponseId\`.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mockId` | string | Yes | The mock's ID. |

### Get monitor

**Slug:** `POSTMAN_MCP_GET_MONITOR`

Gets information about a monitor.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `monitorId` | string | Yes | The monitor's ID. |

### Get monitors

**Slug:** `POSTMAN_MCP_GET_MONITORS`

Gets all monitors.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response, up to a maximum value of 25. Any value greater than 25 returns a 400 Bad Request response. |
| `owner` | integer | No | Return only results that belong to the given user ID. |
| `active` | boolean | No | If true, return only active monitors. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `workspace` | string | No | Return only results found in the given workspace ID. |
| `collectionUid` | string | No | Filter the results by a collection's unique ID. |
| `environmentUid` | string | No | Filter the results by an environment's unique ID. |

### Get monitor run results

**Slug:** `POSTMAN_MCP_GET_MONITOR_RUN_RESULTS`

Gets results for a monitor run, including trimmed execution logs (beforeItem and assertion events only) and result counts. Use this to inspect per-request assertions and failure details for a specific run.

This is Step 3 of the monitor-run workflow: listMonitorExecutions → listRunsForExecution → getMonitorRunResults. The runId must come from listRunsForExecution — do NOT use an executionId here, it will return 404.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `runId` | string | Yes | The run's ID, obtained from listRunsForExecution. Do NOT pass an executionId here. |
| `monitorId` | string | Yes | The monitor's ID. Must be a plain UUID (e.g. `1f00bf12-7ee5-4500-a1a7-3c721a03d42c`), not a uid with numeric prefix. |

### Get package

**Slug:** `POSTMAN_MCP_GET_PACKAGE`

Gets an active package's metadata and current index script content by package ID.
Use getPackages first when you need to discover a package ID.
Do not use this tool to list packages or discover package IDs; use getPackages instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `packageId` | string | Yes | The package's ID. |

### Get packages

**Slug:** `POSTMAN_MCP_GET_PACKAGES`

Lists active packages available to the authenticated user.
Returns package metadata but does not include index script content. Use getPackage with a returned
package ID when you also need the current script. Use the response cursor to fetch
the next page when more packages are available.
Do not use this tool to retrieve a package's script content; use getPackage instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of packages to return. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |

### Get postman context overview

**Slug:** `POSTMAN_MCP_GET_POSTMAN_CONTEXT_OVERVIEW`

Returns Postman's markdown overview of its core concepts (workspaces, collections, requests, installed code) and its workflow for finding APIs and generating code.

### Get pull request

**Slug:** `POSTMAN_MCP_GET_PULL_REQUEST`

Gets a single pull request by its ID, including source and destination details,
reviewers, and the current merge/review status. Use this to inspect a specific
pull request returned by getCollectionPullRequests.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `pullRequestId` | string | Yes | The pull request's ID. |

### Get request comments

**Slug:** `POSTMAN_MCP_GET_REQUEST_COMMENTS`

Gets all comments left by users in a request.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `requestId` | string | Yes | The request ID must contain the team ID as a prefix, in `teamId-requestId` format.  For example, if you're creating a comment on collection ID `24585957-7b2c98f7-30db-4b67-8685-0079f48a0947` (note on the prefix), and the collection request's ID is `2c450b59-9bbf-729b-6ac0-f92535a7c336`, then the `{requestId}` must be `24585957-2c450b59-9bbf-729b-6ac0-f92535a7c336`.  |
| `collectionId` | string | Yes | The collection's unique ID. |

### Get response comments

**Slug:** `POSTMAN_MCP_GET_RESPONSE_COMMENTS`

Gets all comments left by users in a response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `responseId` | string | Yes | The response's unique ID. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Get ruleset

**Slug:** `POSTMAN_MCP_GET_RULESET`

Gets a governance ruleset's metadata by ID. Pass \`include=content\` to also return the
ruleset's rule content, which is required before editing it with updateRuleset.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `include` | string | No | The related fields to include in the response. Currently only `content` is supported. Omit this parameter to receive only the resource's metadata. |
| `rulesetId` | string | Yes | The ruleset's ID. |

### Get ruleset assignments

**Slug:** `POSTMAN_MCP_GET_RULESET_ASSIGNMENTS`

Lists the governance groups a ruleset is assigned to. Each assignment's \`targetId\` is
a governance group ID. To go the other way, from a group to its rulesets, use
getGovernanceGroupAssignments.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `rulesetId` | string | Yes | The ruleset's ID. |

### Get sdk

**Slug:** `POSTMAN_MCP_GET_SDK`

Gets one SDK, including the \`buildStatus\` of its generation job. This is the tool to
poll after createSdk: \`succeeded\` means the archive is ready for getSdkDownloadUrl,
and a failure status is reported here rather than by the original call.
Requires a Postman Team or Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sdkId` | string | Yes | The SDK's ID. |

### Get sdks

**Slug:** `POSTMAN_MCP_GET_SDKS`

Lists the SDKs the caller can see in a workspace, with each one's build status.
\`workspaceId\` is required. Filter with \`buildStatus\`, \`language\`, and \`sourceId\`, or
pass \`sdkIds\` (up to 100, comma-separated) to check several known SDKs at once — note
that \`sdkIds\` overrides every other filter. Page with \`limit\` and \`cursor\`.
Use \`sdkIds\` here rather than calling getSdk in a loop when you are polling more than
one generation job. Requires a Postman Team or Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response, up to a maximum value of 25. Any value greater than 25 returns a 400 Bad Request response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `sdkIds` | array | No | A comma-separated list of SDK IDs to return in the response. If you pass this query parameter with other filters, the other filters are ignored. |
| `language` | string ("typescript" | "python" | "go" | "java" | "csharp" | "ruby" | "php" | "kotlin" | "rust" | "cli") | No | Filter results by SDK language. |
| `sourceId` | string | No | Filter results by the originating Postman Collection or specification ID. |
| `buildStatus` | string ("queued" | "in_progress" | "succeeded" | "failed") | No | Filter results by build status. |
| `workspaceId` | string | Yes | The ID of the workspace that contains the SDK. |

### Get sdk download url

**Slug:** `POSTMAN_MCP_GET_SDK_DOWNLOAD_URL`

Gets a short-lived signed URL for a generated SDK's zip archive. The response carries a
URL, not the archive — the API deliberately does not stream file contents — and the URL
expires within a few minutes, so fetch it at the moment you intend to download and do
not store or pass it around.
Only works once the SDK's \`buildStatus\` is \`succeeded\`; check with getSdk first, since
asking too early returns 409. Requires a Postman Team or Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sdkId` | string | Yes | The SDK's ID. |

### Get sdk git connection

**Slug:** `POSTMAN_MCP_GET_SDK_GIT_CONNECTION`

Gets one SDK Git connection, including which SDK was last delivered to its target
branch and the most recent SDK-update pull request. Use this to check whether a
connection is healthy and current.
Requires a Postman Team or Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sdkGitConnectionId` | string | Yes | The Git connection's ID. |

### Get sdk git connections

**Slug:** `POSTMAN_MCP_GET_SDK_GIT_CONNECTIONS`

Lists the Git repository connections in a workspace. Each connection ties one collection
or specification, in one SDK language, to one target repository, so a source with
several languages has several connections. \`workspaceId\` is required. Filter with
\`sourceId\`, \`language\`, \`status\`, and \`repositoryUrl\`.
Requires a Postman Team or Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response, up to a maximum value of 25. Any value greater than 25 returns a 400 Bad Request response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `status` | string ("active" | "disconnected" | "inaccessible") | No | Filter results by connection status. |
| `language` | string ("typescript" | "python" | "go" | "java" | "csharp" | "ruby" | "php" | "kotlin" | "rust" | "cli") | No | Filter results by SDK language. |
| `sourceId` | string | No | Filter results by the originating Postman Collection or specification ID. |
| `workspaceId` | string | Yes | The ID of the workspace that owns the source entities. |
| `repositoryUrl` | string | No | Filter results by the canonical URL of the target Git repository. |

### Get sdk git connection pull requests

**Slug:** `POSTMAN_MCP_GET_SDK_GIT_CONNECTION_PULL_REQUESTS`

Lists the SDK-update pull requests opened through one Git connection. Use this to report
on what has been delivered to a repository and what is still waiting to be merged. The
record survives disconnection, so a disconnected connection still returns its history.
These are pull requests in the connected Git repository, not Postman collection pull
requests — use getCollectionPullRequests for those. Requires a Postman Team or
Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response, up to a maximum value of 25. Any value greater than 25 returns a 400 Bad Request response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `status` | string ("open" | "merged" | "closed") | No | Filter results by pull request status. |
| `sdkGitConnectionId` | string | Yes | The Git connection's ID. |

### Get secret types

**Slug:** `POSTMAN_MCP_GET_SECRET_TYPES`

Lists the kinds of secret the Secret Scanner recognises, with the type IDs used to
filter detectedSecretsQueries. Call this first when you need to search for one specific
kind of credential, since the \`secretTypes\` filter takes these IDs and not names.
This returns the scanner's vocabulary, not any detected secrets. Requires a Postman
Enterprise plan.


### Get source collection status

**Slug:** `POSTMAN_MCP_GET_SOURCE_COLLECTION_STATUS`

Checks whether there is a change between the forked collection and its parent (source) collection.

If the value of the \`isSourceAhead\` property is \`true\` in the response, then there is a difference between the forked collection and its source collection.

**Note:**

This endpoint may take a few minutes to return an updated \`isSourceAhead\` status.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `collectionId` | string | Yes | The collection's ID. |

### Get spec

**Slug:** `POSTMAN_MCP_GET_SPEC`

Gets information about an API specification.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `specId` | string | Yes | The spec's ID. |

### Get spec collections

**Slug:** `POSTMAN_MCP_GET_SPEC_COLLECTIONS`

Gets all of an API specification's generated collections.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `specId` | string | Yes | The spec's ID. |
| `elementType` | string | Yes | The `collection` element type. |

### Get spec definition

**Slug:** `POSTMAN_MCP_GET_SPEC_DEFINITION`

Gets the complete contents of an OpenAPI or AsyncAPI specification's definition.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `specId` | string | Yes | The spec's ID. |

### Get spec file

**Slug:** `POSTMAN_MCP_GET_SPEC_FILE`

Gets the contents of an API specification's file.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `specId` | string | Yes | The spec's ID. |
| `filePath` | string | Yes | The path to the file. |

### Get spec files

**Slug:** `POSTMAN_MCP_GET_SPEC_FILES`

Gets all the files in an API specification.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `specId` | string | Yes | The spec's ID. |

### Get spec version tag

**Slug:** `POSTMAN_MCP_GET_SPEC_VERSION_TAG`

Gets one version tag and the specification files captured in that snapshot, letting you
read a specification as it stood when the tag was created. Use getSpecVersionTags first
to find the tag ID.
Do not use this tool to read the specification's current content; use getSpecFiles or
getSpecDefinition instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `tagId` | string | Yes | The version tag's ID. |
| `specId` | string | Yes | The spec's ID. |

### Get spec version tags

**Slug:** `POSTMAN_MCP_GET_SPEC_VERSION_TAGS`

Lists a specification's version tags — the point-in-time snapshots used to track how a
specification changed over time. Use this to discover tag IDs and names, or to see
whether the current state of a specification has been tagged yet. Page with \`limit\` and
\`cursor\`.
Do not use this tool to read a tag's contents; use getSpecVersionTag with a tag ID from
this response instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `specId` | string | Yes | The spec's ID. |

### Get status of an async api task

**Slug:** `POSTMAN_MCP_GET_STATUS_OF_AN_ASYNC_API_TASK`

Gets the status of an asynchronous task.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `apiId` | string | Yes | The API's ID. |
| `Accept` | string | Yes | The `application/vnd.api.v10+json` request header required to use the endpoint. |
| `taskId` | string | Yes | The task's ID. |

### Get tagged entities

**Slug:** `POSTMAN_MCP_GET_TAGGED_ENTITIES`

**Requires an Enterprise plan.** Tagging is only available on Postman Enterprise plans. This tool returns a 404 error on Free, Basic, and Professional accounts.

Gets Postman elements (entities) by a given tag. Tags enable you to organize and search workspaces, APIs, and collections that contain shared tags.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `slug` | string | Yes | The tag's ID within a team or individual (non-team) user scope. |
| `limit` | integer | No | The maximum number of tagged elements to return in a single call. |
| `cursor` | string | No | The cursor to get the next set of results in the paginated response. If you pass an invalid value, the API only returns the first set of results. |
| `direction` | string ("asc" | "desc") | No | The ascending (`asc`) or descending (`desc`) order to sort the results by, based on the time of the entity's tagging. |
| `entityType` | string ("api" | "collection" | "workspace") | No | Filter results for the given entity type. |

### Get team

**Slug:** `POSTMAN_MCP_GET_TEAM`

Gets one Postman team by ID. Pass \`include=members\` to list everyone with access —
managers, members, guests, and groups representing other teams — or \`include=userRoles\`
for the team's role assignments. Use getTeams when you need to discover the ID.
Member entries carry IDs rather than names; resolve them with getTeamUsers and
getGroups.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `teamId` | integer | Yes | The team's ID. |
| `include` | string ("members" | "userRoles") | No | Include additional information in the request's response: - `members` — Include all users and groups, including groups that represent other teams or the entire organization, with access to the team's entities. This includes team managers, members, and persons invited to collaborate as guests. - `userRoles` — Include all the team's user roles in the response.  |
| `identifierType` | string | No | Use SCIM user and group IDs instead of Postman user IDs. |

### Get teams

**Slug:** `POSTMAN_MCP_GET_TEAMS`

Lists the Postman teams in the organization. Use this to discover team IDs before
reading a team's settings, members, or access requests. Page with \`limit\` and \`cursor\`,
and pass \`teamSettings\` or \`userRoles\` to include those in the response.
This lists teams in the organization, not the members of a team — use getTeamUsers for
people and getGroups for user groups.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `settings` | boolean | No | If true, returns team settings in the response. |
| `userRoles` | boolean | No | If true, returns the team's assigned user roles in the response. |
| `identifierType` | string | No | Use SCIM user and group IDs instead of Postman user IDs. |

### Get team access requests

**Slug:** `POSTMAN_MCP_GET_TEAM_ACCESS_REQUESTS`

Lists a team's pending access requests — people asking to join, to be promoted, or to
add members. Use this to report on what is waiting for a decision, and to get the
request IDs that approveDenyAccessRequest needs.
Reading requests is safe; acting on them is not. Do not chain straight into
approveDenyAccessRequest without an explicit decision from an operator.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `teamId` | integer | Yes | The team's ID. |
| `identifierType` | string | No | Use SCIM user and group IDs instead of Postman user IDs. |

### Get team settings

**Slug:** `POSTMAN_MCP_GET_TEAM_SETTINGS`

Gets a team's settings. Use this to report on a team's current configuration, and to
read the existing values before changing any of them with updateTeamSettings.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `teamId` | integer | Yes | The team's ID. |

### Get team user

**Slug:** `POSTMAN_MCP_GET_TEAM_USER`

Gets one member of the Postman team by user ID. Use this when you already hold a user
ID — from an audit log entry or a role assignment — and need that single person's
details; use getTeamUsers when you need to search or list.
This returns another person on the team. To find out who the current API key belongs
to, use getAuthenticatedUser instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `userId` | integer | Yes | The user's ID. |

### Get team users

**Slug:** `POSTMAN_MCP_GET_TEAM_USERS`

Lists the members of the authenticated user's Postman team. Use this to resolve the
numeric user IDs that appear in audit logs, collection roles, and workspace roles into
names an operator can act on. Narrow to one user group with the \`groupId\` query
parameter, using an ID from getGroups.
This returns other people on the team. To find out who the current API key belongs to,
use getAuthenticatedUser instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `groupId` | integer | No | Filter results by the given [group](https://learning.postman.com/docs/collaborating-in-postman/user-groups/) ID. To get group IDs, use the GET `/groups` endpoint. |

### Get workspace

**Slug:** `POSTMAN_MCP_GET_WORKSPACE`

Gets information about a workspace.

**Note:**

This endpoint's response contains the \`visibility\` field. [Visibility](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/managing-workspaces/#changing-workspace-visibility) determines who can access the workspace:
- \`personal\` — Only you can access the workspace.
- \`team\` — All team members can access the workspace.
- \`private\` — Only invited team members can access the workspace ([**Team** and **Enterprise** plans only](https://www.postman.com/pricing)).
- \`public\` — Everyone can access the workspace.
- \`partner\` — Only invited team members and [partners](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/partner-workspaces/) can access the workspace ([**Team** and **Enterprise** plans only](https://www.postman.com/pricing)).


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `include` | string | No | A comma-separated list of values to include in the endpoint's response: - `scim` — Return the SCIM user IDs of the workspace creator and who last modified it. - `team` — Return the workspace's team ID. Returns a null value if the workspace isn't associated with a team. - `mocks:deactivated` — Include all deactivated mock servers in the response.  |
| `workspaceId` | string | Yes | The workspace's ID. |

### Get workspaces

**Slug:** `POSTMAN_MCP_GET_WORKSPACES`

Gets all workspaces you have access to.
- For “my …” requests, first call GET \`/me\` and pass \`createdBy={me.user.id}\`.
- This endpoint's response contains the visibility field. Visibility determines who can access the workspace:
  - \`personal\` — Only you can access the workspace.
  - \`team\` — All team members can access the workspace.
  - \`private\` — Only invited team members can access the workspace (Professional and Enterprise).
  - \`public\` — Everyone can access the workspace.
  - \`partner\` — Invited team members and partners (Professional and Enterprise).
- For tools that require the workspace ID, and no workspace ID is provided, ask the user to provide the workspace ID. If the user does not provide the workspace ID, call this first with the createdBy parameter to use the first workspace.
- Results are paginated. Use the \`cursor\` parameter to retrieve additional pages.
- Examples:
  - “List my workspaces” → GET \`/me\`, then GET \`/workspaces?createdBy={me.user.id}&limit=100\`
  - “List my personal workspaces” → GET \`/me\`, then GET \`/workspaces?type=personal&createdBy={me.user.id}&limit=100\`
  - “List all public workspaces” → GET \`/workspaces?type=public&limit=100\`


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `type` | string ("personal" | "team" | "private" | "public" | "partner") | No | The type of workspace to filter the response by. One of: `personal`, `team`, `private`, `public`, `partner`. - For “my …” requests, this can be combined with `createdBy`. If type is not specified, it will search across all types for that user.  |
| `limit` | integer | No | The maximum number of workspaces to return per page. Defaults to 100.  |
| `cursor` | string | No | The cursor to get the next set of results in a paginated response. Get this value from the `meta.nextCursor` field in the previous response.  |
| `include` | string ("mocks:deactivated" | "scim") | No | Include the following information in the endpoint's response: - `mocks:deactivated` — Include all deactivated mock servers in the response. - `scim` — Return the SCIM user IDs of the workspace creator and who last modified it.  |
| `createdBy` | integer | No | Return only workspaces created by the specified Postman user ID. - For “my …” requests, set `createdBy` to the current user’s ID from GET `/me` (`me.user.id`). - If the user's ID is not known, first call GET `/me`, then retry with `createdBy`.  |
| `elementId` | string | No | Filter results to return the workspace where the given element's ID is located. When filtering by collection, you must use the collection's unique ID (`userId`-`collection`). If you pass this query parameter, you must also pass the `elementType` query parameter. |
| `elementType` | string ("collection" | "specification") | No | Filter results to return the workspace where the given element type is located. If you pass this query parameter, you must also pass the `elementId` query parameter. |

### Get workspace activity feed

**Slug:** `POSTMAN_MCP_GET_WORKSPACE_ACTIVITY_FEED`

Gets a workspace's activity feed — who added or removed collections, environments, and
other elements, and who joined or left. Use this to explain how a workspace reached its
current state, or to build a changelog. Narrow with \`userId\` and \`elementType\`, and page
with \`limit\` and \`cursor\`.
This is workspace-level history. For a single collection's change history use the
collection's own tools, and for team-wide administrative events use getAuditLogs.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The maximum number of rows to return in the response. |
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `userId` | string | No | Filter results by the given user ID. |
| `elementType` | string | No | A comma-separated list of elements to filter the results by. |
| `workspaceId` | string | Yes | The workspace's ID. |

### Get workspace global variables

**Slug:** `POSTMAN_MCP_GET_WORKSPACE_GLOBAL_VARIABLES`

Gets a workspace's global [variables](https://learning.postman.com/docs/sending-requests/variables/#variable-scopes). Global variables enable you to access data between collections, requests, scripts, and environments and are available throughout a workspace.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspaceId` | string | Yes | The workspace's ID. |

### Get workspace roles

**Slug:** `POSTMAN_MCP_GET_WORKSPACE_ROLES`

Gets who has access to a workspace and at what level, covering users, user groups, and
partners. Use this to audit access, and to read the current state before changing it.
Pass \`include=scim\` to get SCIM IDs alongside Postman IDs. Partner roles do not support
SCIM IDs.
Resolve the IDs in the response with getTeamUsers and getGroups. For a single
collection's access list use getCollectionRoles instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `include` | string | No | Include the following information in the endpoint's response: - `scim` — Return IDs as SCIM user and group IDs.  |
| `workspaceId` | string | Yes | The workspace's ID. |

### Get workspace tags

**Slug:** `POSTMAN_MCP_GET_WORKSPACE_TAGS`

Gets all the tags associated with a workspace.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspaceId` | string | Yes | The workspace's ID. |

### Get workspace update

**Slug:** `POSTMAN_MCP_GET_WORKSPACE_UPDATE`

Gets one workspace update by ID. Use getWorkspaceUpdates to discover the ID.
This is an announcement post, not the workspace's settings — use getWorkspace for those.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `updateId` | integer | Yes | The workspace update's ID. |
| `workspaceId` | string | Yes | The workspace's ID. |

### Get workspace updates

**Slug:** `POSTMAN_MCP_GET_WORKSPACE_UPDATES`

Lists a workspace's updates — the announcement posts that keep workspace watchers
informed about new features, bug fixes, breaking changes, and other news. Filter by
\`category\` and page with \`cursor\`.
These are authored announcements, not a record of what changed in the workspace. For
that use getWorkspaceActivityFeed, and for the workspace's own settings use
getWorkspace.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. |
| `category` | string | No | A comma-separated list of categories to filter the results by. Accepts `improvement`, `bug_fix`, `new_feature`, `breaking_change`, `announcement`. |
| `workspaceId` | string | Yes | The workspace's ID. |

### List monitor executions

**Slug:** `POSTMAN_MCP_LIST_MONITOR_EXECUTIONS`

Lists executions for a monitor. Cursor-based pagination, 25 results per page. Returns execution metadata including state, trigger, results summary, and timestamps.

This is Step 1 of the monitor-run workflow: listMonitorExecutions → listRunsForExecution → getMonitorRunResults. Each execution has an `id` (executionId). To get run results, you must first pass this executionId to listRunsForExecution to obtain run IDs — do NOT use executionId as a runId.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Cursor for pagination. Pass the `nextCursor` value from a previous response to fetch the next page. |
| `monitorId` | string | Yes | The monitor's ID. Must be a plain UUID (e.g. `1f00bf12-7ee5-4500-a1a7-3c721a03d42c`), not a uid with numeric prefix. |

### List private network add requests

**Slug:** `POSTMAN_MCP_LIST_PRIVATE_NETWORK_ADD_REQUESTS`

Gets all requests to add workspaces to your team's Private API Network.

WARNING: This tool is for Private API Network management, not for general workspace operations. For workspace management use: getWorkspaces, getWorkspace, createWorkspace, updateWorkspace, deleteWorkspace.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Return only workspaces whose name includes the given value. Matching is not case-sensitive. |
| `sort` | string ("createdAt" | "updatedAt") | No | Sort the results by the given value. If you use this query parameter, you must also use the `direction` parameter. |
| `type` | string | No | The `workspace` value. |
| `limit` | integer | No | The maximum number of results to return. If the value exceeds the maximum value of `1000`, then the system uses the `1000` value. |
| `since` | string | No | Return only results created since the given time, in [ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format. This value cannot be later than the `until` value. To use `time-numoffset` format, you must use `%2B` URL-encoding for the `+` character. |
| `until` | string | No | Return only results created until this given time, in [ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format. This value cannot be earlier than the `since` value. To use `time-numoffset` format, you must use `%2B` URL-encoding for the `+` character. |
| `offset` | integer | No | The zero-based offset of the first item to return. |
| `status` | string ("pending" | "denied") | No | Filter by the request status. |
| `direction` | string ("asc" | "desc") | No | Sort in ascending (`asc`) or descending (`desc`) order. Matching is not case-sensitive. If you use this query parameter, you must also use the `sort` parameter. |
| `requestedBy` | integer | No | Return a user's requests by their user ID. |

### List private network workspaces

**Slug:** `POSTMAN_MCP_LIST_PRIVATE_NETWORK_WORKSPACES`

Gets information about workspaces added to your team's Private API Network.

WARNING: This tool is for Private API Network management, not for general workspace operations. For workspace management use: getWorkspaces, getWorkspace, createWorkspace, updateWorkspace, deleteWorkspace.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Return only workspaces whose name includes the given value. Matching is not case-sensitive. |
| `sort` | string ("createdAt" | "updatedAt") | No | Sort the results by the given value. If you use this query parameter, you must also use the `direction` parameter. |
| `type` | string | No | The `workspace` value. |
| `limit` | integer | No | The maximum number of results to return. If the value exceeds the maximum value of `1000`, then the system uses the `1000` value. |
| `since` | string | No | Return only results created since the given time, in [ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format. This value cannot be later than the `until` value. |
| `until` | string | No | Return only results created until this given time, in [ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format. This value cannot be earlier than the `since` value. |
| `offset` | integer | No | The zero-based offset of the first item to return. |
| `addedBy` | integer | No | Return only workspaces published by the given user ID. |
| `summary` | string | No | Return only workspaces whose summary includes the given value. Matching is not case-sensitive. |
| `createdBy` | integer | No | Return only results created by the given user ID. |
| `direction` | string ("asc" | "desc") | No | Sort in ascending (`asc`) or descending (`desc`) order. Matching is not case-sensitive. If you use this query parameter, you must also use the `sort` parameter. |
| `description` | string | No | Return only workspaces whose description includes the given value. Matching is not case-sensitive. |
| `parentFolderId` | integer | No | This parameter is deprecated. |

### List runs for execution

**Slug:** `POSTMAN_MCP_LIST_RUNS_FOR_EXECUTION`

Lists runs for a monitor execution. Each execution may produce multiple runs across regions. Returns run metadata including region, state, result counts, and timestamps. Not paginated.

This is Step 2 of the monitor-run workflow: listMonitorExecutions → listRunsForExecution → getMonitorRunResults. Pass the executionId from listMonitorExecutions. Returns run objects whose `id` is the runId needed by getMonitorRunResults.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `monitorId` | string | Yes | The monitor's ID. Must be a plain UUID (e.g. `1f00bf12-7ee5-4500-a1a7-3c721a03d42c`), not a uid with numeric prefix. |
| `executionId` | string | Yes | The execution's ID, obtained from listMonitorExecutions. |

### Manage partner workspace invites

**Slug:** `POSTMAN_MCP_MANAGE_PARTNER_WORKSPACE_INVITES`

Manages Partner Workspace access: invites partners by email address, removes them from
one workspace, or removes them from the partnership and every workspace in it. Existing
partners are added directly; new email addresses are sent an invitation.
Two of these three actions are broad and irreversible in effect — removing someone from
a partnership revokes their access to every shared workspace at once, not just the one
you were looking at. Confirm the scope before calling, and only act on an explicit
instruction naming the addresses and the action. Inviting sends real email to external
people, so never invite speculatively or to an address you inferred. Requires a Team or
Enterprise plan, and the Partner Manager, Workspace Editor, or Admin role depending on
the action.


### Manage team member roles

**Slug:** `POSTMAN_MCP_MANAGE_TEAM_MEMBER_ROLES`

Adds or removes roles in bulk for users, groups, teams, and organizations within a team.
Removing a role from a group or a team strips that role's permissions from every member
of it at once, so the blast radius is much larger than the size of the request body.
This changes who can do what. Only call it on an explicit instruction naming the
entities and roles involved, and read the current state with getTeam
(\`include=userRoles\`) first so you can describe what will change.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `add` | object | No | The role assignments to add. |
| `remove` | object | No | The role assignments to remove. |
| `teamId` | integer | Yes | The team's ID. |
| `identifierType` | string | No | Use SCIM user and group IDs instead of Postman user IDs. |

### Merge collection fork

**Slug:** `POSTMAN_MCP_MERGE_COLLECTION_FORK`

**This endpoint is deprecated.**

Merges a forked collection back into its parent collection. You must have the [Editor role](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#collection-roles) for the collection to merge a fork.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `source` | string | Yes | The source collection's unique ID. |
| `strategy` | string ("deleteSource" | "updateSourceWithDestination") | No | The fork's merge strategy: - `deleteSource` — Merge the changes into the parent collection. After the merge process is complete, Postman deletes the fork. You must have Editor access to both the parent and forked collections. - `updateSourceWithDestination` — Merge the changes into the parent collection. Any differences in the parent collection are also made to the fork.  |
| `destination` | string | Yes | The destination (parent) collection's unique ID. |

### Merge environment fork

**Slug:** `POSTMAN_MCP_MERGE_ENVIRONMENT_FORK`

Merges a forked environment's changes up into its parent. The path holds the parent
environment and \`source\` holds the fork's unique ID — this direction sends the fork's
values to the parent, so anyone using the parent sees them. Set \`deleteSource\` to true
to delete the fork after a successful merge; it defaults to false.
To move changes the other way, from parent down into a fork, use pullEnvironment
instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `source` | string | Yes | The source environment's unique ID to merge data from. |
| `deleteSource` | boolean | No | If true, the forked environment will be deleted. |
| `environmentId` | string | Yes | The environment's unique ID. |

### Patch collection

**Slug:** `POSTMAN_MCP_PATCH_COLLECTION`

Updates specific collection information, such as its name, events, or its variables. For more information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html).

**Important usage notes:**

- **Sequential calls only.** Do NOT call \`patchCollection\` in parallel with other \`patchCollection\` calls for the same collection — concurrent PATCH requests conflict with each other and cause cancellation errors. Always wait for one call to complete before making another.
- **Partial updates.** Only include the fields you want to change. Omit all other fields entirely; unspecified fields are left unchanged.
- **Variables (\`collection.variable\`).** Send \`key\` and \`value\` for each variable, and use \`disabled\` to turn one off. An \`enabled\` field is accepted but silently ignored, so \`disabled\` is the only one that takes effect.
- **Secret variables.** You can't set secret variables through this endpoint. Manage cloud- or vault-backed secrets through environments instead.
- **Events (\`collection.events\`).** Each event's \`script.id\` is required and must be supplied by you — generate a UUID string for it. Omitting it fails with \`Parameters required: ('id') for key: 'collection.events.script'\`. The event itself is identified by its \`script.id\`.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `collection` | string | No | The collection updates to apply. You must pass at least one of the following: `info`, `variable`, `auth`, or `events`. Unsupported properties are rejected.  |
| `collectionId` | string | Yes | The collection ID must be in the form <OWNER_ID>-<UUID> (e.g. 12345-33823532ab9e41c9b6fd12d0fd459b8b). |

### Patch environment

**Slug:** `POSTMAN_MCP_PATCH_ENVIRONMENT`

Updates specific environment properties, such as its name and variables.

**Note:**

- You can only perform one type of operation at a time. For example, you cannot perform an \`add\` and \`replace\` operation in the same call.
- The request body size cannot exceed the maximum allowed size of 30MB.
- If you receive an HTTP \`411 Length Required\` error response, manually pass the \`Content-Length\` header and its value in the request header.
- To add a description to an existing variable, use the \`add\` operation.
- Only [shared variable](https://learning.postman.com/docs/use/send-requests/variables/variables/#share-variable-values) values can be modified through the Postman API. A shared variable is an environment variable with its value synced and stored in the Postman cloud, and can be accessed by your teammates in the environment's workspace.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes |  |
| `environmentId` | string | Yes | The environment's ID. |

### Patch workspace update

**Slug:** `POSTMAN_MCP_PATCH_WORKSPACE_UPDATE`

Edits a published workspace update. Requires the \`application/merge-patch+json\`
Content-Type header, and only the fields you send are changed.
Watchers may have already read the original, so correct an update rather than rewriting
its meaning, and post a new one with createWorkspaceUpdate when the news itself has
changed.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `topic` | string | Yes | The title of the workspace update. |
| `category` | string ("improvement" | "new_feature" | "bug_fix" | "breaking_change" | "announcement") | Yes | The update's assigned category. |
| `isPinned` | boolean | No | If true, the workspace update is pinned to the top of the workspace updates list. |
| `updateId` | integer | Yes | The workspace update's ID. |
| `description` | string | Yes | The content of the workspace update. |
| `workspaceId` | string | Yes | The workspace's ID. |
| `Content-Type` | string | Yes | The `application/merge-patch+json` header. |
| `relatedResources` | array | No | A list containing the update's related elements. Related elements include links to collections, requests, folders, and saved examples in the update. |

### Post api catalog discovery services

**Slug:** `POSTMAN_MCP_POST_API_CATALOG_DISCOVERY_SERVICES`

Registers services with the API Catalog as discovered services, for sources Postman
cannot detect on its own. Accepts up to 20 services per call; each needs at least a
\`name\`. Supply \`apiDefinition\` to attach an OpenAPI definition, or \`endpoints\` to list
endpoints directly — if you send both, \`endpoints\` is ignored. Without
\`providerServiceId\` the system derives one from \`{name}:{version}\`, so pass it
explicitly when you need a stable identifier across calls.
Do not use this tool to create a Postman API specification or collection; it only adds
catalog discovery records. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `discoveredServices` | array | Yes | A list of discovered services to add to the API Catalog. |

### Publish documentation

**Slug:** `POSTMAN_MCP_PUBLISH_DOCUMENTATION`

Publishes a collection's documentation. This makes it publicly available to anyone with the link to the documentation.

**Note:**

- Your [Postman plan](https://www.postman.com/pricing/) impacts your use of these endpoints:
  - For **Free** and **Solo** users, you must have permissions to edit the collection.
  - If [API Governance and Security](https://learning.postman.com/docs/api-governance/configurable-rules/configurable-rules-overview/) is enabled for your [**Enterprise**](https://www.postman.com/pricing/) team, only users with the [Community Manager role](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#team-roles) can publish documentation.
- Publishing is only supported for collections with HTTP requests.
- You cannot publish a collection added to an API.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `customColor` | object | Yes | The theme's colors, in six digit hexcode. The values in this object must match the hexcode values of either the `light` or `dark` theme defined in the `appearance` object. |
| `collectionId` | string | Yes | The collection's unique ID. |
| `customization` | object | Yes | Information about the documentation's customization. |
| `environmentUid` | string | No | The unique ID of the environment to publish with the documentation. The initial values of all variables are published with the documentation. Make certain they don't contain sensitive information such as passwords or tokens. |
| `documentationLayout` | string ("classic-single-column" | "classic-double-column") | No | The documentation's default layout style: - `classic-single-column` — Displays sample code inline beneath each request. - `classic-double-column` — Displays sample code in a column next to the documentation.  |

### Publish mock

**Slug:** `POSTMAN_MCP_PUBLISH_MOCK`

Publishes a mock server. Publishing a mock server sets its **Access Control** configuration setting to public.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mockId` | string | Yes | The mock's ID. |

### Pull collection changes

**Slug:** `POSTMAN_MCP_PULL_COLLECTION_CHANGES`

Pulls the changes from a parent (source) collection into the forked collection. In the endpoint's response:

- The \`destinationId\` is the ID of the forked collection.
- The \`sourceId\` is the ID of the source collection.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `collectionId` | string | Yes | The forked collection's ID. |

### Pull environment

**Slug:** `POSTMAN_MCP_PULL_ENVIRONMENT`

Pulls a parent environment's changes down into a fork. The path holds the fork being
updated and \`source\` holds the parent environment's unique ID — this direction leaves
the parent untouched. Use it to bring a fork back up to date before merging, which
keeps the merge from overwriting newer parent values.
To send a fork's changes up to the parent, use mergeEnvironmentFork instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `source` | string | Yes | The source environment's unique ID to pull data from. |
| `environmentUid` | string | Yes | The destination environment's unique ID. |

### Put collection

**Slug:** `POSTMAN_MCP_PUT_COLLECTION`

Replaces the contents of a collection using the [Postman Collection v2.1.0 schema format](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). Include the collection's ID values in the request body. If you do not, the endpoint removes the existing items and creates new items.

- To perform an update asynchronously, use the \`Prefer\` header with the \`respond-async\` value. When performing an async update, this endpoint returns a HTTP \`202 Accepted\` response.
- For a complete list of properties and information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html).
- For protocol profile behavior, refer to Postman's [Protocol Profile Behavior documentation](https://github.com/postmanlabs/postman-runtime/blob/develop/docs/protocol-profile-behavior.md).

**Note:**

- The maximum collection size this endpoint accepts cannot exceed 100 MB.
- Use the GET \`/collection-updates-tasks/{taskId}\` endpoint to get the collection's update status when performing an asynchronous update.
- If you don't include the collection items' ID values from the request body, the endpoint **removes** the existing items and recreates the items with new ID values.
- To copy another collection's contents to the given collection, remove all ID values before you pass it in this endpoint. If you do not, this endpoint returns an error. These values include the \`id\`, \`uid\`, and \`postman_id\` values.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `Prefer` | string | No | The `respond-async` header to perform the update asynchronously. |
| `collection` | object | No | The new collection contents that replace the existing collection. |
| `collectionId` | string | Yes | The collection ID must be in the form <OWNER_ID>-<UUID> (e.g. 12345-33823532ab9e41c9b6fd12d0fd459b8b). |

### Put environment

**Slug:** `POSTMAN_MCP_PUT_ENVIRONMENT`

Replaces all the contents of an environment with the given information.

**Note:**

- The request body size cannot exceed the maximum allowed size of 30MB.
- If you receive an HTTP \`411 Length Required\` error response, manually pass the \`Content-Length\` header and its value in the request header.
- Only [shared variable](https://learning.postman.com/docs/use/send-requests/variables/variables/#share-variable-values) values can be modified through the Postman API. A shared variable is an environment variable with its value synced and stored in the Postman cloud, and can be accessed by your teammates in the environment's workspace.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `environment` | object | No | Information about the environment. |
| `environmentId` | string | Yes | The environment's ID. |

### Remove api catalog system environment associations

**Slug:** `POSTMAN_MCP_REMOVE_API_CATALOG_SYSTEM_ENVIRONMENT_ASSOCIATIONS`

Detaches workspace environments from a system environment. Send 1 to 25
\`workspaceEnvironmentIds\` per call, each an environment UID
(\`userId\`-\`environmentId\`). This only removes the association — the underlying Postman
environments are left intact.
Do not use this tool to delete an environment; use deleteEnvironment instead. Requires
a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `systemEnvironmentId` | string | Yes | The system environment's ID. |
| `workspaceEnvironmentIds` | array | Yes | A list of workspace environment unique IDs (`userId`-`environmentId`). |

### Remove team members

**Slug:** `POSTMAN_MCP_REMOVE_TEAM_MEMBERS`

Removes users, groups, or organizations from a Postman team. Returns 204 with no body on
success.
This is destructive and not self-reversing: removed members lose access to the team's
collections, environments, and workspaces, and restoring them means re-inviting them and
rebuilding their roles. Only call it on an explicit instruction naming exactly who to
remove. Never call it to tidy up inactive members, to act on a list you assembled
yourself, or as a step in some larger cleanup.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `teamId` | integer | Yes | The team's ID. |
| `entities` | array | No | A list of entities to remove. |
| `identifierType` | string | No | Use SCIM user and group IDs instead of Postman user IDs. |

### Remove workspace from private network

**Slug:** `POSTMAN_MCP_REMOVE_WORKSPACE_FROM_PRIVATE_NETWORK`

Removes a workspace from your team's Private API Network. This does not delete the workspace itself — it only removes it from the Private API Network folder.

WARNING: This tool is for Private API Network management, not for general workspace operations. For workspace management use: getWorkspaces, getWorkspace, createWorkspace, updateWorkspace, deleteWorkspace.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspaceId` | string | Yes | The workspace's ID. |

### Resolve comment thread

**Slug:** `POSTMAN_MCP_RESOLVE_COMMENT_THREAD`

Resolves a comment and any associated replies. On success, this returns an HTTP \`204 No Content\` response.

Comment thread IDs return in the GET \`/comments\` response for [collections](https://www.postman.com/postman/workspace/postman-public-workspace/request/12959542-a6582e0a-9382-4760-8b91-53a8aa6cb8d7) and [collection items](https://www.postman.com/postman/workspace/postman-public-workspace/folder/12959542-efeda219-66e1-474c-a83b-253d15723bf7).


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `threadId` | integer | Yes | The comment's thread ID. |

### Respond private network add request

**Slug:** `POSTMAN_MCP_RESPOND_PRIVATE_NETWORK_ADD_REQUEST`

Responds to a user's request to add a workspace to your team's Private API Network. Only managers can approve or deny a request. Once approved, the workspace will appear in the team's Private API Network.

WARNING: This tool is for Private API Network management, not for general workspace operations. For workspace management use: getWorkspaces, getWorkspace, createWorkspace, updateWorkspace, deleteWorkspace.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `status` | string ("denied" | "approved") | Yes | The request's approval status. |
| `response` | object | No | If the request is denied, the response to the user's request. |
| `requestId` | integer | Yes | The request's ID. |

### Review pull request

**Slug:** `POSTMAN_MCP_REVIEW_PULL_REQUEST`

Reviews a pull request by performing an action on it. The required \`action\` field
determines the outcome:
  - \`approve\`  — approve the pull request for merge.
  - \`merge\`    — merge the pull request into its destination (parent) collection.
  - \`decline\`  — decline the pull request; optionally include a \`comment\` explaining why.
  - \`unapprove\` — revoke a previous \`approve\` (does not decline the pull request).
Use this tool to formally approve, merge, decline, or unapprove a pull request.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `action` | string ("approve" | "decline" | "merge" | "unapprove") | Yes | The action to perform on the pull request: - `approve` — Approve the pull request for merge. - `decline` — Decline the pull request. - `merge` — Merge the pull request into its parent element. - `unapprove` — Revokes a pull request's `approve` status. This action does not decline the pull request.  |
| `comment` | string | No | If the pull request is a `decline` status, an optoinal comment about why the pull request was declined. |
| `pullRequestId` | string | Yes | The pull request's ID. |

### Run monitor

**Slug:** `POSTMAN_MCP_RUN_MONITOR`

Runs a monitor and returns its run results.

**Note:**

- If you pass the \`async=true\` query parameter, the response does not return the \`stats\`, \`executions\`, and \`failures\` responses. To get this information for an asynchronous run, call the GET \`/monitors/{id}\` endpoint.
- If the call exceeds 300 seconds, the endpoint returns an HTTP \`202 Accepted\` response. Use the GET \`/monitors/{id}\` endpoint to check the run's status in the response's \`lastRun\` property. To avoid this, it is recommended that you include the \`async=true\` query parameter when using this endpoint.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `async` | boolean | No | If true, runs the monitor asynchronously from the created monitor run task. By default, the server will not respond until the task finishes (`false`). |
| `monitorId` | string | Yes | The monitor's ID. |

### Search learning center

**Slug:** `POSTMAN_MCP_SEARCH_LEARNING_CENTER`

Search the official Postman documentation and learning resources at https://learning.postman.com.

Use this tool when you need authoritative, up-to-date guidance on how to use Postman features — for example creating mock servers, writing tests, using environments, configuring monitors, or any "how do I…" question about the Postman product. Returns relevant documentation passages with their source URLs.

Do not use this tool to search a user's own Postman resources (collections, workspaces, specs) — use `searchPostmanElements` for that.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | Yes | The search query to run against the Postman documentation (e.g. "how to create a mock server", "write a test script", "set a collection variable"). |

### Search postman elements

**Slug:** `POSTMAN_MCP_SEARCH_POSTMAN_ELEMENTS`

Search for Postman entities (requests, collections, workspaces, specs, flows, environments, mocks, and documents).

**Ownership:**
- `organization` — Search within all resources owned by your organization (default).
- `external` — Search within the public Postman network (third-party and community APIs).
- `all` — Search across all scopes.

**When to use each ownership value and filters:**

| Goal | Recommended approach |
|------|----------------------|
| Find an internal API (e.g. "our notification service") | `ownership: organization` |
| Find a trusted API published to the Private Network | `ownership: organization` + `privateNetwork: true` filter |
| Find an internal API in all resources of organization and are visible to the organization only | `ownership: organization` + `visibility: internal` filter |
| Find an API by your organization that is made publicly visible | `ownership: organization` + `visibility: public` filter |
| Find a third party publicly visible API (e.g. "Stripe API", "Twilio API") | `ownership: external` + `visibility: public` filter |
| User says "our APIs", "internal", "team" | `ownership: organization` |
| Search across all scopes | `ownership: all` |

**Element Types:**
- `requests`: Search for individual API requests.
- `collections`: Search for API collections.
- `workspaces`: Search for Postman workspaces.
- `specs`: Search for API specifications.
- `flows`: Search for Postman Flows.
- `environments`: Search for Postman Environments.
- `mocks`: Search for Postman Mock Servers.
- `documents`: Search for Postman workspace documents.

**Filters:**

Use the `filters` parameter to narrow results. The top-level key must be `$and` with an array of condition objects. Each condition object must contain exactly one field key.

Supported filter fields:
| Field | Operators | Notes |
|-------|-----------|-------|
| `workspaceId` | `$eq`, `$ne`, `$in`, `$nin` | All element types. `$in`/`$nin` accept arrays. |
| `collectionId` | `$eq`, `$ne`, `$in`, `$nin` | Requests and collections only. |
| `visibility` | `$eq`, `$ne` | Values: `public`, `partner`, `internal`. All element types. |
| `privateNetwork` | `$eq`, `$ne` | Boolean. All element types. |
| `publisherIsVerified` | `$eq`, `$ne` | Boolean. All element types. |
| `method` | `$eq`, `$ne`, `$in`, `$nin` | HTTP methods (GET, POST, etc.). Requests only. |
| `tags` | `$eq`, `$ne`, `$in`, `$nin` | Workspaces and collections only. |
| `requestId` | `$eq`, `$ne`, `$in`, `$nin` | Requests only. |
| `specificationId` | `$eq`, `$ne`, `$in`, `$nin` | Specs only. |
| `flowId` | `$eq`, `$ne`, `$in`, `$nin` | Flows only. |
| `documentId` | `$eq`, `$ne`, `$in`, `$nin` | Documents only. |
| `createdBy` | `$eq`, `$ne`, `$in`, `$nin` | All element types. |
| `organizationId` | `$eq`, `$ne`, `$in`, `$nin` | All element types. |
| `teamId` | `$eq`, `$ne`, `$in`, `$nin` | All element types. |
| `isGitConnected` | `$eq`, `$ne` | Boolean. Workspaces, collections, requests, specs, flows, environments, mocks, documents. |
| `type` | `$eq`, `$ne`, `$in`, `$nin` | Requests only. |

**Filter examples:**
- Private API Network only: `{"$and":[{"privateNetwork":{"$eq":true}}]}`
- Single workspace: `{"$and":[{"workspaceId":{"$eq":"ws-abc123"}}]}`
- Multiple workspaces: `{"$and":[{"workspaceId":{"$in":["ws-1","ws-2"]}}]}`
- Public visibility: `{"$and":[{"visibility":{"$eq":"public"}}]}`
- GET requests only: `{"$and":[{"method":{"$eq":"GET"}}]}`
- Combine conditions: `{"$and":[{"visibility":{"$eq":"public"}},{"workspaceId":{"$eq":"ws-abc123"}}]}`
- Environments in a workspace: `{"$and":[{"workspaceId":{"$eq":"ws-abc123"}}]}`

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `q` | string | No | The search query (e.g. "payment API", "notification service", "Stripe"). |
| `limit` | integer | No | The maximum number of search results to return. Maximum: 25. |
| `cursor` | string | No | The cursor to get the next set of results in the paginated response. Pass the `nextCursor` value from the previous response. |
| `filters` | object | No | Structured filter expression. Top-level key must be "$and" with an array of condition objects. Each condition: { "<field>": { "<operator>": <value> } }. Example: {"$and":[{"privateNetwork":{"$eq":true}}]} |
| `ownership` | string ("organization" | "external" | "all") | No | The ownership scope. Use `organization` to search all resources in your organization (default), `external` to search the public Postman network, or `all` to search across all scopes. |
| `entityType` | string ("requests" | "collections" | "workspaces" | "specs" | "flows" | "environments" | "mocks" | "documents") | No | The type of Postman entity to search for: `requests` (individual API requests), `collections` (API collections), `workspaces` (Postman workspaces), `specs` (API specifications), `flows` (Postman Flows), `environments` (Postman Environments), `mocks` (Postman Mock Servers), or `documents` (Postman workspace documents). |

### Submit context graph ask

**Slug:** `POSTMAN_MCP_SUBMIT_CONTEXT_GRAPH_ASK`

Asks a natural-language question about the team's software estate — which APIs and
services exist, what they expose, and how they depend on each other — and gets an
answer grounded in the team's Context Graph. Use this for questions about the estate
as a whole that no single collection or workspace can answer.
This is asynchronous and does not return the answer: it returns an \`askId\` with
status \`pending\`. Poll getContextGraphAsk with that ID until \`status\` is \`completed\`
or \`failed\`, and only report an answer once it is \`completed\`. Set
\`includeAnswer=false\` when you want just the graph data and intend to phrase the
answer yourself.
Do not use this tool to search Postman elements by name; use searchPostmanElements
instead. Each ask counts against the team's quota, so ask one well-formed question
rather than retrying variations of the same one. Requires Context Graph to be
enabled for the team.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | Yes | The natural-language question to answer against the graph. |
| `includeAnswer` | boolean | No | Whether to include the prose answer in the result. If `false`, the result's `answer` property is `null` and the result's other properties are unaffected. |

### Sync collection with spec

**Slug:** `POSTMAN_MCP_SYNC_COLLECTION_WITH_SPEC`

Syncs a collection generated from an API specification. This is an asynchronous endpoint that returns an HTTP \`202 Accepted\` response.

**Note:**

- This endpoint only supports the OpenAPI 2.0, 3.0, and 3.1 specification types.
- You can only sync collections generated from the given spec ID.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `specId` | string | Yes | The spec's ID. |
| `collectionUid` | string | Yes | The collection's unique ID. |

### Sync spec with collection

**Slug:** `POSTMAN_MCP_SYNC_SPEC_WITH_COLLECTION`

Syncs an API specification linked to a collection. This is an asynchronous endpoint that returns an HTTP \`202 Accepted\` response.

**Note:**

- This endpoint only supports the OpenAPI 2.0, 3.0, and 3.1 specification types.
- You can only sync collections generated from the given specification ID.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `specId` | string | Yes | The spec's ID. |
| `collectionUid` | string | Yes | The collection's unique ID. |

### Transfer collection folders

**Slug:** `POSTMAN_MCP_TRANSFER_COLLECTION_FOLDERS`

Copies or moves folders into a collection or folder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ids` | array | Yes | A list of collection request, response, or folder UIDs to transfer. |
| `mode` | string ("copy" | "move") | Yes | The transfer operation to perform. |
| `target` | object | Yes | Information about the item transfer's destination location. |
| `location` | object | Yes | The transferred items' placement in the target destination: - For `start` or `end` — Do not include the `model` and `id` values. - For `before` or `after` — Include the `model` and `id` properties.  |

### Transfer collection requests

**Slug:** `POSTMAN_MCP_TRANSFER_COLLECTION_REQUESTS`

Copies or moves requests into a collection or folder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ids` | array | Yes | A list of collection request, response, or folder UIDs to transfer. |
| `mode` | string ("copy" | "move") | Yes | The transfer operation to perform. |
| `target` | object | Yes | Information about the item transfer's destination location. |
| `location` | object | Yes | The transferred items' placement in the target destination: - For `start` or `end` — Do not include the `model` and `id` values. - For `before` or `after` — Include the `model` and `id` properties.  |

### Transfer collection responses

**Slug:** `POSTMAN_MCP_TRANSFER_COLLECTION_RESPONSES`

Copies or moves responses into a request.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ids` | array | Yes | A list of collection request, response, or folder UIDs to transfer. |
| `mode` | string ("copy" | "move") | Yes | The transfer operation to perform. |
| `target` | object | Yes | Information about the item transfer's destination location. |
| `location` | object | Yes | The transferred items' placement in the target destination: - For `start` or `end` — Do not include the `model` and `id` values. - For `before` or `after` — Include the `model` and `id` properties.  |

### Transfer workspace element

**Slug:** `POSTMAN_MCP_TRANSFER_WORKSPACE_ELEMENT`

Moves or copies an element — a collection, environment, mock, monitor, or Flows module or
action — from one workspace into another. Both workspaces' activity feeds record the
change.
Transferring changes who can see the element, since access follows the destination
workspace. Team workspaces cannot transfer into personal workspaces. To duplicate a
collection without moving it, use duplicateCollection instead.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | The workspace element's ID. |
| `to` | string | Yes | The workspace ID to transfer the element into. |
| `type` | string ("collection" | "environment" | "api" | "flow" | "mock" | "monitor") | Yes | The type of element to transfer. |
| `workspaceId` | string | Yes | The workspace's ID. |

### Transfer workspace to team

**Slug:** `POSTMAN_MCP_TRANSFER_WORKSPACE_TO_TEAM`

Moves a workspace from one team to another, with \`source\` as the current team and
\`destination\` as the new one. Only available on Enterprise plans with Postman
Organizations enabled.
This rewrites access as a side effect: anyone whose role exists in the source team but
not the destination loses it on transfer, so people can silently lose access to the
workspace's contents. Read getWorkspaceRoles first so you can say who is affected, and
only call this on an explicit instruction naming both teams.
To move a single collection or environment instead of the whole workspace, use
transferWorkspaceElement.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `source` | string | Yes | The ID of the team to transfer the workspace from. |
| `destination` | string | Yes | The ID of the team to transfer the workspace to. |
| `workspaceId` | string | Yes | The workspace's ID. |

### Unpublish documentation

**Slug:** `POSTMAN_MCP_UNPUBLISH_DOCUMENTATION`

Unpublishes a collection's documentation. On success, this returns an HTTP \`204 No Content\` response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `collectionId` | string | Yes | The collection's unique ID. |

### Unpublish mock

**Slug:** `POSTMAN_MCP_UNPUBLISH_MOCK`

Unpublishes a mock server. Unpublishing a mock server sets its **Access Control** configuration setting to private.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mockId` | string | Yes | The mock's ID. |

### Update api catalog system environment

**Slug:** `POSTMAN_MCP_UPDATE_API_CATALOG_SYSTEM_ENVIRONMENT`

Updates a system environment's \`name\`, \`description\`, \`color\`, or \`isProduction\`. Send
at least one field; omitted fields are left unchanged. A new name must stay unique
within the team — a duplicate returns 409. Pass \`description\` as an empty string to
clear it. \`label\` cannot be changed after creation.
Do not use this tool to change which workspace environments are attached; use
addApiCatalogSystemEnvironmentAssociations or
removeApiCatalogSystemEnvironmentAssociations instead. Requires a Postman Enterprise
plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | The system environment's name. This value must be unique within the team. |
| `color` | string | No | A six-digit hex color code. |
| `description` | string | No | A description of the system environment. To remove a description, pass this value as an empty string. |
| `isProduction` | boolean | No | If true, the system environment is a production environment. |
| `systemEnvironmentId` | string | Yes | The system environment's ID. |

### Update collection comment

**Slug:** `POSTMAN_MCP_UPDATE_COLLECTION_COMMENT`

Updates a comment on a collection.

**Note:**

This endpoint accepts a max of 10,000 characters.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | The contents of the comment. |
| `tags` | object | No | Information about users tagged in the `body` comment. |
| `commentId` | integer | Yes | The comment's ID. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Update collection folder

**Slug:** `POSTMAN_MCP_UPDATE_COLLECTION_FOLDER`

Updates a folder in a collection. For a complete list of properties, refer to the **Folder** entry in the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html).

**Note:**

This endpoint acts like a PATCH method. It only updates the values that you pass in the request body (for example, the \`name\` property). The endpoint does not update the entire resource.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | The folder's name. |
| `folderId` | string | Yes | The folder's ID. |
| `description` | string | No | The folder's description. |
| `collectionId` | string | Yes | The collection's ID. |

### Update collection request

**Slug:** `POSTMAN_MCP_UPDATE_COLLECTION_REQUEST`

Updates a request in a collection. For a complete list of properties, refer to the **Request** entry in the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html).

**Note:**

- You must pass a collection ID (\`12ece9e1-2abf-4edc-8e34-de66e74114d2\`), not a collection(\`12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2\`), in this endpoint.
- This endpoint does not support changing the folder of a request.
- This endpoint acts like a PATCH method. It only updates the values that you pass in the request body.
- **Events (\`events\`).** Events are merged by \`listen\` type, so you only need to send the event you are changing. A \`listen\` type you omit keeps its stored script. To empty a script, send its event with \`script.exec\` set to \`[]\` — sending \`events: []\` changes nothing.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No | The request's URL. |
| `auth` | string | No | The request's authorization settings. |
| `data` | string | No | The request body's form or urlencoded data. |
| `name` | string | No | The request's name. |
| `events` | array | No | A list of scripts configured to run when specific events occur. Merged by `listen` type: send only the event you are changing, and any `listen` type you omit keeps its stored script. To empty a script, send its event with `script.exec` set to `[]`; sending an empty array changes nothing. |
| `method` | string ("GET" | "PUT" | "POST" | "PATCH" | "DELETE" | "COPY" | "HEAD" | "OPTIONS" | "LINK" | "UNLINK" | "PURGE" | "LOCK" | "UNLOCK" | "PROPFIND" | "VIEW") | No | The request's HTTP method. |
| `dataMode` | string ("raw" | "urlencoded" | "formdata" | "binary" | "graphql") | No | The request body's data mode. |
| `requestId` | string | Yes | The request's ID. |
| `headerData` | array | No | The request's headers. |
| `dataOptions` | string | No | Additional options for the request body data. |
| `description` | string | No | The request's description. |
| `queryParams` | array | No | The request's query parameters. |
| `rawModeData` | string | No | The request body's raw mode data. |
| `collectionId` | string | Yes | The collection's ID. |
| `graphqlModeData` | string | No | The request body's GraphQL mode data. |

### Update collection response

**Slug:** `POSTMAN_MCP_UPDATE_COLLECTION_RESPONSE`

Updates a response in a collection. For a complete list of properties, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html).

**Note:**

- You must pass a collection ID (\`12ece9e1-2abf-4edc-8e34-de66e74114d2\`), not a collection UID (\`12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2\`), in this endpoint.
- This endpoint acts like a PATCH method. It only updates the values that you pass in the request body (for example, the \`name\` property). The endpoint does not update the entire resource.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No | The associated request's URL. |
| `mime` | string | No | The response's MIME type. |
| `name` | string | No | The response's name. |
| `text` | string | No | The raw text of the response body. |
| `time` | string | No | The time taken by the request to complete, in milliseconds. |
| `method` | string ("GET" | "PUT" | "POST" | "PATCH" | "DELETE" | "COPY" | "HEAD" | "OPTIONS" | "LINK" | "UNLINK" | "PURGE" | "LOCK" | "UNLOCK" | "PROPFIND" | "VIEW") | No | The associated request's HTTP method. |
| `status` | string | No | The response's HTTP status text. |
| `cookies` | string | No | The response's cookie data. |
| `headers` | array | No | The response's headers. |
| `dataMode` | string ("raw" | "urlencoded" | "formdata" | "binary" | "graphql") | No | The associated request body's data mode. |
| `language` | string | No | The response body's language type. |
| `responseId` | string | Yes | The response's ID. |
| `dataOptions` | string | No | Additional options for the associated request body data. |
| `description` | string | No | The response's description. |
| `rawDataType` | string | No | The response's raw data type. |
| `rawModeData` | string | No | The associated request body's raw mode data. |
| `collectionId` | string | Yes | The collection's ID. |
| `responseCode` | object | No | The response's HTTP response code information. |
| `requestObject` | string | No | A JSON-stringified representation of the associated request. |

### Update collection roles

**Slug:** `POSTMAN_MCP_UPDATE_COLLECTION_ROLES`

Changes who can view or edit a collection. Send a \`roles\` array where each entry has
\`op: update\`, a \`path\` of \`/user\`, \`/group\`, or \`/team\`, and a \`value\` array of
\`{id, role}\` pairs with \`role\` set to \`VIEWER\` or \`EDITOR\`. This overwrites the roles
for each ID you name, so read the current state with getCollectionRoles first and send
the full intended set — omitting someone you meant to keep will change their access.
Returns 204 with no body on success. The caller must hold the Editor role on the
collection, and external Partner and Guest roles are not supported here.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `roles` | array | Yes | A list of role update operations to apply to the collection. |
| `collectionId` | string | Yes | The collection's ID. |

### Update collection tags

**Slug:** `POSTMAN_MCP_UPDATE_COLLECTION_TAGS`

Updates a collection's associated tags. This endpoint replaces all existing tags with those you pass in the request body.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `tags` | array | Yes | A list of the associated tags as slugs. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Update component

**Slug:** `POSTMAN_MCP_UPDATE_COMPONENT`

Renames a component or changes its lifecycle status. Send \`name\` to rename, or
\`status\` to archive (\`archive\`, making the component read-only while keeping its
published versions accessible) or restore it (\`active\`). Send only one of the two per
call: name and status cannot change together. Archived components cannot be renamed,
edited, or published until they are set back to \`active\`.
Do not use this tool to change a component's content; use updateComponentDraft instead.
Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | The component's name. The new name must be unique within the team. |
| `status` | string ("active" | "archive") | No | The component's lifecycle state: - `active` — The component is active and can be edited and published. - `archive` — The component is archived and read-only. Archived components can't be edited or published, but their existing versions remain accessible.  |
| `componentId` | string | Yes | The component's ID. |

### Update component draft

**Slug:** `POSTMAN_MCP_UPDATE_COMPONENT_DRAFT`

Updates a component's working draft content, format, or both. Include at least one
field; omitted fields remain unchanged. Edits are not visible to teammates referencing
the component until you publish them with createComponentVersion. Archived components
cannot be edited — restore them with updateComponent first.
Do not use this tool to publish changes; use createComponentVersion instead.
Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `format` | string ("JSON" | "YAML") | No | The component's content format. |
| `content` | string | No | The component's contents, up to a maximum of 500 KB (UTF-8). |
| `componentId` | string | Yes | The component's ID. |

### Update custom function

**Slug:** `POSTMAN_MCP_UPDATE_CUSTOM_FUNCTION`

Updates a custom function's path, description, or content. Only the fields you send
change, but \`content\` replaces the entire source, so read it first with
getCustomFunction (\`include=content\`). Renaming the \`path\` may break any ruleset that
calls the function by its old name.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `path` | string | No | The custom function's path, in the form `functions/<name>.js`. Root-level paths and nested paths aren't supported. |
| `content` | string | No | The custom function's content, up to a maximum of 500 KB (UTF-8). |
| `description` | string | No | The custom function's description. |
| `customFunctionId` | string | Yes | The custom function's ID. |

### Update detected secret resolutions

**Slug:** `POSTMAN_MCP_UPDATE_DETECTED_SECRET_RESOLUTIONS`

Records how a detected secret was dealt with, in one workspace. Requires \`workspaceId\`
and a \`resolution\` of \`FALSE_POSITIVE\` (not really a secret), \`REVOKED\` (was real, key
has been rotated), or \`ACCEPTED_RISK\` (real, exposure accepted).
This only records a judgement — it does not revoke a credential, remove the secret from
the collection, or make the exposure safe. Never mark something \`REVOKED\` unless the
key has actually been rotated, and never mark it \`ACCEPTED_RISK\` on a person's behalf:
both are decisions a human owner has to make. Requires a Postman Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `secretId` | string | Yes | The secret's ID. |
| `resolution` | string ("FALSE_POSITIVE" | "ACCEPTED_RISK" | "REVOKED" | "ACTIVE") | Yes | The secret's resolution status: - `ACTIVE` — The secret is active. - `FALSE_POSITIVE` — The discovered secret is not an actual secret. - `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue. - `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of publishing it.  |
| `workspaceId` | string | Yes | The ID of the workspace that contains the secret. |

### Update folder comment

**Slug:** `POSTMAN_MCP_UPDATE_FOLDER_COMMENT`

Updates a comment on a folder.

**Note:**

This endpoint accepts a max of 10,000 characters.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | The contents of the comment. |
| `tags` | object | No | Information about users tagged in the `body` comment. |
| `folderId` | string | Yes | The folder's unique ID. |
| `commentId` | integer | Yes | The comment's ID. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Update governance group

**Slug:** `POSTMAN_MCP_UPDATE_GOVERNANCE_GROUP`

Updates a custom governance group's name or description. To change which workspaces
are in the group, use updateGovernanceGroupWorkspaces. Postman-managed groups
(\`type: system\`) can't be updated and return 403.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | The governance group's name. |
| `groupId` | string | Yes | The governance group's ID. |
| `description` | string | No | The governance group's description. |

### Update governance group workspaces

**Slug:** `POSTMAN_MCP_UPDATE_GOVERNANCE_GROUP_WORKSPACES`

Adds and removes workspaces in a custom governance group in one atomic request. Put
workspace IDs to add in \`create\` and IDs to remove in \`delete\`; omit either list if
unused. Removed workspaces stop being governed by the group's rulesets. If any
workspace in the batch can't be applied, nothing changes and the request fails with
409. Postman-managed groups (\`type: system\`) return 403.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `create` | array | No | The IDs of the workspaces to assign to the group. |
| `delete` | array | No | The IDs of the workspaces to unassign from the group. |
| `groupId` | string | Yes | The governance group's ID. |

### Update mock

**Slug:** `POSTMAN_MCP_UPDATE_MOCK`

Updates a mock server.
- Resource: Mock server entity associated with a collection UID.
- Use this to change name, environment, privacy, or default server response.
- To activate a server response, set \`config.serverResponseId\` to the server response's \`id\`. Pass \`null\` to deactivate.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mock` | object | No | The mock server fields to update. |
| `mockId` | string | Yes | The mock's ID. |

### Update mock server response

**Slug:** `POSTMAN_MCP_UPDATE_MOCK_SERVER_RESPONSE`

Updates a server response's name, statusCode, body, headers, or language.

- \`statusCode\` must remain a 5xx value (500–599).
- \`body\` is the raw response body string. Pass the full desired body — this is a full replacement, not a partial update.
- Updating a server response does not change which response is active. To activate it, call \`updateMock\` with \`config.serverResponseId\`.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mockId` | string | Yes | The mock's ID. |
| `serverResponse` | object | No | The server response fields to update. |
| `serverResponseId` | string | Yes | The server response's ID. |

### Update monitor

**Slug:** `POSTMAN_MCP_UPDATE_MONITOR`

Updates a monitor's [configurations](https://learning.postman.com/docs/monitoring-your-api/setting-up-monitor/#configure-a-monitor).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `monitor` | object | No | Information about the monitor. |
| `monitorId` | string | Yes | The monitor's ID. |

### Update package

**Slug:** `POSTMAN_MCP_UPDATE_PACKAGE`

Updates an active package's description, index script content, or both.
Include at least one field and only the fields you want to change; omitted fields
remain unchanged. Do not use this tool to create or delete a package.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `script` | string | No | The package's index script content. This value may be empty. |
| `packageId` | string | Yes | The package's ID. |
| `description` | string | No | The package's description. This value may be empty and only supports printable ASCII characters. |

### Update pull request

**Slug:** `POSTMAN_MCP_UPDATE_PULL_REQUEST`

Updates the editable metadata of an open pull request, such as its title,
description, or reviewers. Use reviewPullRequest (not this tool) to approve,
decline, or merge a pull request.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | The pull request's updated title. |
| `reviewers` | array | Yes | An updated list of the pull request's assigned reviewers. This replaces all existing users assigned to the pull request with those you pass in the request body. |
| `description` | string | No | The updated pull request description. |
| `pullRequestId` | string | Yes | The pull request's ID. |

### Update request comment

**Slug:** `POSTMAN_MCP_UPDATE_REQUEST_COMMENT`

Updates a comment on a request.

**Note:**

This endpoint accepts a max of 10,000 characters.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | The contents of the comment. |
| `tags` | object | No | Information about users tagged in the `body` comment. |
| `commentId` | integer | Yes | The comment's ID. |
| `requestId` | string | Yes | The request's unique ID. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Update response comment

**Slug:** `POSTMAN_MCP_UPDATE_RESPONSE_COMMENT`

Updates a comment on a response.

**Note:**

This endpoint accepts a max of 10,000 characters.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | The contents of the comment. |
| `tags` | object | No | Information about users tagged in the `body` comment. |
| `commentId` | integer | Yes | The comment's ID. |
| `responseId` | string | Yes | The response's unique ID. |
| `collectionId` | string | Yes | The collection's unique ID. |

### Update ruleset

**Slug:** `POSTMAN_MCP_UPDATE_RULESET`

Updates a custom ruleset's name, description, or content. Only the fields you send
change, but \`content\` replaces the entire ruleset rather than merging rules, so read
the current content with getRuleset (\`include=content\`) and send the full edited
document. Changes take effect for every governance group the ruleset is assigned to.
Postman-managed rulesets (\`type: system\`) can't be updated and return 403.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | The ruleset's name. |
| `content` | string | No | The ruleset's content, up to a maximum of 500 KB (UTF-8). |
| `rulesetId` | string | Yes | The ruleset's ID. |
| `description` | string | No | The ruleset's description. |

### Update sdk git connection

**Slug:** `POSTMAN_MCP_UPDATE_SDK_GIT_CONNECTION`

Changes an SDK Git connection's lifecycle status. Setting \`active\` connects or
reconnects the repository and resumes auto-update pull requests; \`disconnected\` stops
any further pull requests being opened while preserving the historical record, which
stays queryable through getSdkGitConnectionPullRequests. The call is idempotent, so
setting current values is a harmless no-op.
The \`inaccessible\` status is set by Postman and cannot be assigned here — seeing it
means the repository or its credentials need attention on the Git side.
\`autoUpdatePullRequestsEnabled\` is Enterprise-only and is forced to false on Team
plans. Requires a Postman Team or Enterprise plan.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `status` | string ("active" | "disconnected") | Yes | The updated SDK Git connection lifecycle state. |
| `sdkGitConnectionId` | string | Yes | The Git connection's ID. |
| `autoUpdatePullRequestsEnabled` | boolean | No | If true, pull requests are opened automatically whenever the source changes or a new version of the SDK generator is released. If false, pull requests are opened automatically, but only for manually-triggered SDK regeneration. If `autoUpdatePullRequestsEnabled` isn't set, the default behavior depends on the user's Postman plan:  - **Enterprise** plan users — Defaults to the `true` value. - **Team** plan users and read only — Defaults to the `false` value.  |

### Update spec file

**Slug:** `POSTMAN_MCP_UPDATE_SPEC_FILE`

Updates a file for an OpenAPI or protobuf 2 or 3 specification.

**Note:**

- This endpoint does not accept an empty request body. You must pass one of the accepted values.
- This endpoint does not accept multiple request body properties in a single call. For example, you cannot pass both the \`content\` and \`type\` property at the same time.
- Multi-file specifications can only have one root file.
- When updating a file type to \`ROOT\`, the previous root file is updated to the \`DEFAULT\` file type.
- Files cannot exceed a maximum of 10 MB in size.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | The file's name. |
| `type` | string ("DEFAULT" | "ROOT") | No | The type of file: - `ROOT` — The file containing the full OpenAPI structure. This serves as the entry point for the API spec and references other (`DEFAULT`) spec files. Multi-file specs can only have one root file. - `DEFAULT` — A file referenced by the `ROOT` file.  |
| `specId` | string | Yes | The spec's ID. |
| `content` | string | No | The specification's stringified contents. |
| `filePath` | string | Yes | The path to the file. |

### Update spec properties

**Slug:** `POSTMAN_MCP_UPDATE_SPEC_PROPERTIES`

Updates an API specification's properties, such as its name.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The spec's name. |
| `specId` | string | Yes | The spec's ID. |

### Update spec sync options

**Slug:** `POSTMAN_MCP_UPDATE_SPEC_SYNC_OPTIONS`

Configures how a specification syncs into one of its generated collections. Set
\`syncExamples\` to keep example values aligned between the two, and
\`deleteOrphanedRequests\` to control whether requests whose endpoints have disappeared
from the specification are removed on the next sync — leave that one on only when the
collection is safe to prune, since it deletes requests. \`syncOptions\` must include at
least one of \`syncExamples\` or \`deleteOrphanedRequests\`; an empty \`syncOptions\` object
is rejected. Whichever of the two you omit is left unchanged. Use getSpecCollections to
find the collection ID.
This changes settings only — it does not sync. Use syncCollectionWithSpec to actually
run a sync.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `specId` | string | Yes | The spec's ID. |
| `syncOptions` | object | No | Information about the specification sync options. |
| `collectionId` | string | Yes | The collection's ID. |

### Update team settings

**Slug:** `POSTMAN_MCP_UPDATE_TEAM_SETTINGS`

Updates a team's settings. This is a PUT and applies team-wide, affecting every member
at once — read the current values with getTeamSettings first and send the full intended
state, since a partial body can reset settings you did not mean to touch.
Only call this on an explicit instruction naming the setting to change. Do not use it to
infer configuration an operator did not ask for.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `teamId` | integer | Yes | The team's ID. |
| `settings` | object | No | Information about the team settings. |

### Update workspace

**Slug:** `POSTMAN_MCP_UPDATE_WORKSPACE`

Updates a workspace's property, such as its name or visibility.

**Note:**

- This endpoint does not support the following visibility changes:
  - \`private\` to \`public\`, \`public\` to \`private\`, and \`private\` to \`personal\` for **Free** and **Solo** [plans](https://www.postman.com/pricing/).
  - \`public\` to \`personal\` for team users only.
- There are rate limits when publishing public workspaces.
- Public team workspace names must be unique.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspace` | object | No | The workspace fields to update. |
| `workspaceId` | string | Yes | The workspace's ID. |

### Update workspace global variables

**Slug:** `POSTMAN_MCP_UPDATE_WORKSPACE_GLOBAL_VARIABLES`

Updates and replaces a workspace's global [variables](https://learning.postman.com/docs/sending-requests/variables/#variable-scopes). This endpoint replaces all existing global variables with the variables you pass in the request body.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `values` | array | No | A list of the workspace's global variables. |
| `workspaceId` | string | Yes | The workspace's ID. |

### Update workspace roles

**Slug:** `POSTMAN_MCP_UPDATE_WORKSPACE_ROLES`

Changes who can access a workspace, for users, user groups, or partners. Read the
current state with getWorkspaceRoles first and get assignable role names from
getAllWorkspaceRoles.
Several constraints will reject an otherwise reasonable call: at most 50 operations per
request, exactly one action per user, group, or partner in a body, and partner roles and
user roles cannot be changed in the same call. Personal workspaces do not support role
assignment, the external Guest role is not supported, and user groups require an
Enterprise plan. Pass the \`identifierType=scim\` header to use SCIM IDs.
This grants or removes access to everything in the workspace, so only call it on an
explicit instruction naming the people and roles involved.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `roles` | array | No | A list of role update operations to apply to the workspace. |
| `workspaceId` | string | Yes | The workspace's ID. |
| `identifierType` | string | No | Use SCIM user IDs instead of Postman user IDs. |

### Update workspace tags

**Slug:** `POSTMAN_MCP_UPDATE_WORKSPACE_TAGS`

Updates a workspace's associated tags. This endpoint replaces all existing tags with those you pass in the request body.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `tags` | array | Yes | A list of the associated tags as slugs. |
| `workspaceId` | string | Yes | The workspace's ID. |
