add_request
Add a new HTTP request to a Postman collection, specifying method, URL, headers, body, and optional folder.
Instructions
Add a new request to a collection
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collectionUid": "<collectionUid>",
"name": "<name>",
"method": "<method>",
"url": "<url>"
},
"name": "add_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Request URL | |
| body | No | Request body (will be stringified if object) | |
| name | Yes | Name of the request | |
| folder | No | Folder path (e.g., "folder1/folder2") | |
| method | Yes | HTTP method | |
| headers | No | Request headers as key-value pairs | |
| description | No | Request description | |
| collectionUid | Yes | The UID of the collection |