add_postman_collection_auth
Adds or updates authentication information in a Postman collection file by specifying the auth type and parameters, supporting methods like bearer token.
Instructions
Add or update authentication information for the Postman collection
Args:
file_path: The path to the Postman collection file (string)
auth: The auth dictionary with type and necessary auth parameters (dict)
Example: {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{token_variable}}",
"type": "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>",
"auth": "<auth>"
},
"name": "add_postman_collection_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| auth | Yes |