createCollectionRequest
Add a new HTTP request to a Postman collection or folder by specifying method, URL, headers, and body parameters.
Instructions
Creates a request in a collection. Recommended to pass 'name' property. See Postman Collection Format docs for full properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionId | Yes | The collection's ID | |
| folderId | No | Folder ID (optional, creates at collection level if omitted) | |
| name | No | Request name | |
| method | No | HTTP method (GET, POST, etc.) | |
| url | No | Request URL | |
| description | No | Request description | |
| auth | No | Authentication information | |
| headerData | No | Request headers | |
| queryParams | No | Query parameters | |
| dataMode | No | Request body data mode | |
| data | No | Form data | |
| rawModeData | No | Raw mode data | |
| graphqlModeData | No | GraphQL mode data | |
| dataOptions | No | Data mode options | |
| events | No | Script events |
Implementation Reference
- tests/test_postman.py:59-59 (registration)Test file includes 'createCollectionRequest' in the expected tool names list, verifying the tool is properly registered.
"createCollectionRequest",