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)
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": {
"file_path": "<file_path>",
"item": "<item>"
},
"name": "add_postman_collection_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| item | Yes |