add_postman_collection_item
Add a new API request item to an existing Postman collection file. Specify the collection path and item details like name, method, and URL.
Instructions
Add an item to the Postman collection
Args:
file_path: The path to the Postman collection file (string)
item: The item dictionary to add (dict containing at least 'name' and 'request' keys)
Example: {
"name": "Get User",
"request": {
"method": "GET",
"url": "https://api.example.com/users/1"
}
}
Returns:
The updated Postman collection data (dict)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| item | Yes |