Import Salesforce Credentials from Postman Collection
sf_import_postman_credentialsExtracts Salesforce OAuth2 credentials from a Postman collection JSON file, returning a ready-for-quickstart block. Optionally validates credentials with a live API call.
Instructions
Reads a Postman collection (.postman_collection.json) — including ones generated by sf_generate_postman_collection — and extracts Salesforce OAuth2 credentials (clientId, clientSecret, refreshToken, instanceUrl, username, password) so you don't have to type them out manually.
If a refresh_token is found it is returned immediately (no browser auth needed). If only username + password are found, tells you to call sf_get_token_password_flow.
Returns a ready_for_quickstart block to pass directly to sf_quickstart.
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": {
"postman_file": "<postman_file>"
},
"name": "sf_import_postman_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postman_file | Yes | Absolute or ~-relative path to a .postman_collection.json file. The tool extracts Salesforce credentials and returns them ready for sf_quickstart. | |
| validate | No | Make a live Salesforce API call to confirm the extracted credentials work (default: true). |