obs_auth
Configure OBS WebSocket address, port, and password, then verify access status. Returns a unified result with error codes and suggested actions when the connection fails.
Instructions
Configure OBS access and return the same unified result as obs_status. Without arguments, simply check status; no separate authentication probe or persistent session is created. Optional address, port and password override defaults and are saved to the selected dotenv file before checking status, even if access fails. Omitted values use configuration. Never return the password. Failures include connected=false, errorCode and userAction. Other operations authenticate transparently; calling obs_auth first is not required.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "obs_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | WebSocket port. Overrides the port in the address or configured URL. Saved within OBS_URL. | |
| address | No | Host/IP or ws:// / wss:// URL. Default: configured OBS_URL, initially ws://127.0.0.1:4455. Saved as OBS_URL. | |
| password | No | WebSocket password. Saved as OBS_PASSWORD in the selected dotenv file. Empty string clears the stored password. Omit to use configuration. |