set_default_org
Set a default Salesforce CLI target org so all tools use it when no targetOrg is specified. The setting persists across sessions.
Instructions
Set the default target org for the Salesforce CLI. Once set, all tools will use this org by default when no targetOrg is specified. The value persists across sessions.
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": {
"input": "<input>"
},
"name": "set_default_org"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |