connection_set
Updates the server’s Money Manager PC Manager address without a restart, verifying the new host and port before switching.
Instructions
Points the server at the Money Manager PC Manager address shown on the phone, without a restart. PC Manager picks a new port every time it starts, so use this when the user gives a new port or IP, or when calls fail with a connection error. When no address is configured yet, provide both host and port; afterwards pass only what changed. The new address is verified first — if unreachable, the current address is kept and the call fails — and a successful switch is remembered across sessions. Returns the active base URL; the next call starts a fresh session.
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": "connection_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | IP address or hostname shown in PC Manager, e.g. 192.168.1.1 | |
| port | No | Port shown in PC Manager, e.g. 8888 |