add_item_to_folder
Add an item (API request or example) to a specified folder within a Postman collection, updating the collection file directly.
Instructions
Add an item to a specific folder in the Postman collection
Args:
file_path: The path to the Postman collection file (string)
folder_name: The name of the folder to add the item to (string)
item: The item dictionary to add (dict)
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>",
"folder_name": "<folder_name>",
"item": "<item>"
},
"name": "add_item_to_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| folder_name | Yes | ||
| item | Yes |