update_postman_collection_variable
Updates a Postman collection variable by key with a new value. Specify the collection file, variable key, and desired value to modify.
Instructions
Update a specific variable in the Postman collection by key
Args:
file_path: The path to the Postman collection file (string)
key: The key of the variable to update (string)
new_value: The new value for the variable (string)
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>",
"key": "<key>",
"new_value": "<new_value>"
},
"name": "update_postman_collection_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| key | Yes | ||
| new_value | Yes |